Protocol Structure - Omron SYSMAC CS1W-SCB41-V1 Operation Manual

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Overview of the Protocol Macro Functions
5-1-3

Protocol Structure

Serial
Communications Unit
(CS/CJ Series)
Serial Communications Board
(CS Series only)
148
OMRON devices using standard system protocols. For details on the proto-
cols, the method of modifying the standard system protocols, and the method
of creating new sequences, refer to the CX-Protocol Operation Manual
(W344).
Protocols consist of communications sequences. A sequence consists of
steps. These steps can be repeated, or they can be branched or ended
depending on the responses received. A step consists of a command, send/
receive messages, processing results, and the next process (which depends
on the processing results).
Protocol
Communications
sequence
Step 0
Step 1
Messages
A protocol consists of processing sequences (such as reading the process
value for a Temperature Controller) for a general-purpose external device. A
sequence consists of a group of steps, each of which consists of a send/
receive/control command, send/receive message, processing result, and a
next step that depends on the processing results.
For example, with a sequence that reads the process value for a Temperature
Controller, the sequence sends the send message for the connected Temper-
ature Controller (a character string in which the Process Value Read com-
mand is inserted between the header + address and the check code +
terminator) and receives the receive message (a character string in which the
Process Value Read command response is inserted between the header +
address and the check code + terminator).
Command
CPU Unit
SEND
(send)
RECV
(receive)
Example: Reading the process values
for a Temperature Controller
Transmission of process value reading message and
reception of response message
Send message (Example: PROCESS VALUE READ command)
...
RX00
Header Address Send data
Check
Terminator
code
Receive message (Example: Response)
...
RX01
Header Address Send data
Check
Terminator
code
General-purpose external device
Section 5-1
RS-232C or
RS-422A/485

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents