WWW.SSTCOMM.COM
20
0x03
Output data start address error or illegal output data area
0x04
Input data start address error or illegal input data area
3.3.2.5 Message Examples
If input data number is 50 bytes, output data is 32 bytes.
Now, users want to output all zero data and get all input data, examples are as below:
[The following data format is all HEX]
Request frame message:
[20]
[40 00]
[32]
[00 00]
[00……00]
[92]
|output data length| output start address| input data length | input start address| 32 output data| parity (accumulated sum)
|
Response frame message:
[32]
[00 00]
[00……00]
[92]
|input data length| input start address| 50 output data| parity (accumulated sum) |
Here the output and input address is memory mapping address of GT200-PN-RS.
3.3.3 User Config
3.3.3.1 Definition
Common mode protocol message of GT200-PN-RS can be set freely by users, which solves the communication
problem between Modbus standard protocol and Modbus nonstandard protocol devices. There are two operation
modes under common mode: POLL and READ. Working principle of POLL is similar with Modbus communication
protocol, which uses request and response communication way and every subnet can set 30 commands under common
mode; READ only receives stored data and doesn't respond after receiving data, such as bar code scanner and device
communication etc.
3.3.3.2 User Config-POLL
Users need to configure request message and response message of User Config-POLL before using it.
Frame header: HEX input, max bytes number: 8
Data: HEX input, every item occupies two bytes
Constant: HEX input, max bytes number: 8
Parity: None, CRC check, LRC check, Sum check
Summary of Contents for GT200-PN-RS
Page 53: ...WWW SSTCOMM COM 53...