Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 33

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Command/Response Formats
Host
Computer
Partitioned Responses
1,2,3...
The following diagram shows the command format when there are more than
131 characters.
Command frame 1
Command frame 2
128 characters max. 128 characters max.
PLC
Note A "delimiter" is a CR code [CHR$(13)] sent as a single character to indicate
the middle of a command or response.
If a response is more than 131 characters long, the response from the PLC is
partitioned by returning a delimiter (CR code, CHR$(13)) instead of a termina-
tor at the end of each frame until the last one. A terminator is returned at the
end of the last frame.
In the following example procedure, the response is partitioned into three
frames.
1. When the PLC receives the command frame from the host computer, it re-
turns response frame 1 with a delimiter (CR) at the end to the host com-
puter.
2. Only a delimiter (CR) is sent from the host computer to the PLC.
3. When the PLC receives this delimiter (CR), it returns response frame 2
with a delimiter (CR) at the end to the host computer.
4. Only a delimiter (CR) is sent from the host computer to the PLC.
5. When the PLC receives this delimiter (CR), it returns response frame 3
with a terminator (*CR) at the end to the host computer.
Command frame 3
Response frame
Section 2-2
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents