Connecting ZETSENSOR to
Network Enabler Administrator
The Ethernet↔RS-485 interface converter ZET7076 allows to connect ZET 7xxx series sensors to Ethernet network. To work with the interface converter, the Network Enabler Administrator can be used.
The Network Enabler Administrator is connected to ZET 7076 via the Ethernet network and creates a local COM port bound to the interface converter, through which data can be transmitted via the Modbus protocol. After installation and launch of the tool, scan for available devices in the Ethernet (see Figure 1).
Figure 1
Switch the found device to the “Real COM Mode” (Configuration → Configure → Operating Mode → Real COM Mode), as shown in Figure 2.
Figure 2
Then turn on the COM port emulation for the selected device using the COM Mapping menu (“Add Target”, “Apply Changes”, and “Enable” commands) as shown in Figure 3.
Figure 3
After successful setup, a local COM port appears in the system, which can be used for operating with sensors. The data protocol will be the same as for connection via other interface converters, namely Modbus RTU (rather than Modbus TCP).
When working with ZET 7076, note that this device transmits echo of the transmitted data, i.e. in response to a sent query, the sent query (echo) will be received first, and only then the sensor response.
Form of the query and response sequence in the example with the ZET7010 sensor above is shown in Table 1.
Table 1
1 | Query | 0x0A 0x03 0x00 0x00 0x00 0x04 0x45 0x72 |
Response | 0x0A 0x03 0x00 0x00 0x00 0x04 0x45 0x72 0x0A 0x03 0x08 0xC0 0x20 0x00 0x58 0x00 0x00 0xFA 0xAF 0xBE 0x70 | |
Echo | 8 bytes | |
Structure | Type 396, 36 bytes | |
2 | Query | 0x0A 0x03 0x00 0x10 0x00 0x04 0x44 0xB7 |
Response | 0x0A 0x03 0x00 0x10 0x00 0x04 0x44 0xB7 0x0A 0x03 0x08 0x00 0x4C 0x00 0x4D 0x00 0x00 0x1A 0x36 0x9A 0x4F | |
Echo | 8 bytes | |
Structure | Type 208, 76 bytes |
Thus, echo suppression should be implemented in a system using ZET 7076.