
2. The external internet network must also have a static IP, Example: IP 118.69.111.101
3. Network administrator must implement NAT port 502, TCP to IP of iConnector
4. At that time, TCP Client will connect to IP address 118.69.111.101 | Port 502
iConnector supports command 3 (0x03) for read, command 16 (0x10) for writing.
The Unit Identifier is 31 (0x1F) to read and write memmap iConnector, not 31 will make devices transparent read
and write via RS485.
These commands are changed to match the address of iConnector (address in bytes but not in registers like modbus).
1. Command 3:
Modbus TCP is:
0001 0000 0006 1F 03 006B 0003
0001:
Transaction Identifier
0000:
Protocol Identifier
0006:
Message Length (6 bytes to follow)
1F:
The Unit Identifier (31 =
1F
hex)
03:
The Function Code (read Analog Output Holding Registers)
2000:
The Data Address of the first register requested → This will be the address on the memmap
0003:
The total number of registers requested. (read 3 registers 40108 to 40110) →This number 3 will be 3
bytes, not 3 registers anymore.
At that time iConnector will respond to data of 3 bytes, not 6 bytes
2. Command 16:
Modbus TCP is:
0002 0000 0009 1F 10 3000 0002 04 000A
0002: :
Transaction Identifier
0000:
Protocol Identifier
0009:
Message Length (6 bytes to follow)
1F:
The Unit Identifier (31 =
1F
hex)
10:
The Function Code 16 (Write Function)
3000:
The Data Address of the first register requested → This will be the address on the memmap
0002:
The number of registers to write → This is the length to write is 2 bytes, not 2 more registers.
04:
The number of data bytes to follow
000A:
The value to write to register → data 2 bytes need to write
Please refer to how to configure using iConfig app with the following link:
iConfig Mobile app for Android
3.3.4.2 TCP Client read/write parameters on the iConnector memmap
2.4 iConnector Wifi
2.4.1 Configure using the iConfig app on the
phone
Содержание iConnector STHC
Страница 18: ...END...
Страница 21: ......
Страница 25: ...VI How to add iConnector STHC to Globiots Server System...
Страница 26: ...VII Modbus Configuration for iConnector STHC on Globiots...
Страница 27: ...VIII Parameter Configuration for iConnector STHC on Globiots...
Страница 28: ...IX Alarm Event Configuration for iConnector STHC on Glbiots...
Страница 29: ...X Configuring special functions of iConnector on Globiots...