WWW.SSTCOMM.COM
14
buffer 0x0000-0x03FF and 0x4000-0x43FF and send data to the serial slave device. When serial slave devices didn't
give any response (if they did), if there exists data in response, GT200-PN-RS will write them to the address range of
0x0000-0x03FF. The specific data size will depend on users' configuration.
3.3.1.6 User Config-Receiving Only
When one serial runs universal mode-receive, it will receive data sent from serial master device and don't give
any response. In this way, GT200-PN-RS will write the data which it received to some address areas of
0x0000-0x03FF.
3.3.1.7 Command Output Mode
Note: the content of this section is only applicable to MODBUS master protocol and User Config-POLL
protocol.
Write command: The request frame contains commands for memory mapping area data of GT200-PN-RS.For
example, the 5, 6, 15 and 16 function codes of MODBUS master protocol are written commands. The command with
"data" field in the request frame of User Config-POLL is written command.
Read command: The command that is not written is read.
Command execution process:
1. The number of timeout retransmission is set to 0.
2. Request frame for sending commands. After sending, the response timeout timer begins.
3. Wait for the command response frame.
4. If a response frame is received within the response timeout period, a response is considered. Whether the
response is correct depends on the specific response frame format. If the response frame is correct, the
execution of the command ends, If a response frame is not received within the response timeout period, the
response timeout is considered. Response error and response timeout, enter 5.
5. Determine whether the number of retransmission is 3.If 3, the execution of the command ends. Otherwise,
the timeout retransmission times add 1,enter 2.
Cycle output mode
In the Master protocol, each command has a unique command index in each subnet.
The Master protocol works in Cycle output mode and is executed as follows:
1. Execute the command N.
2. Wait for "command delay time", N plus 1. If N is greater than the number of command, N is 0. Execute order
N.
Change of Value output mode
Содержание GT200-PN-RS
Страница 53: ...WWW SSTCOMM COM 53...