ModbusTCP monitoring program
2016-08-23
0 0 0
no vote
Other
Earn points
Application background
Here first code file first look at it. TCP protocol sample is as follows:The request and response with a prefix of six bytes are as follows:0:  byte; transaction identifier - replication by the server - typically 01:  byte; transaction identifier - replication by the server - typically 02:  byte; protocol identifier = 03:  byte; protocol identifier = 0Byte 4: length field (half byte) = 0 (all message length is less than 256)5:   byte; length field (lower part) = the number of bytes in the back6:   byte; unit identifier (original "slave address")7:  byte; MODBUS function codeByte 8 on: the required data Thus processing the sample "to 4 of the offset from the UI 9 read the 1 register" return thevb
ModbusTCP
监控程序
Related Source Codes
Student Management System
0
0
no vote
FTP upload and download written in VB
0
0
no vote
Qq batch login
0
0
no vote
Example MSNPopup
0
0
no vote
Password management software
0
0
no vote
No comment