Omron CQM1H-SCB41 Operation Manual page 76

Sysmac cqm1h series serial communications board
Hide thumbs Also See for CQM1H-SCB41:
Table of Contents

Advertisement

Overview of the Protocol Macro Functions
Item
Step contents
Commands
Send only (SEND), receive only (RECEIVE), or send and receive
(SEND&RECEIVE)
Repeat counter
1 to 255 times
Retry count
0 to 9
(Only when the command is SEND&RECEIVE)
Send wait time
0.01 to 0.99 s, 0.1 to 9.9 s, 1 to 99 s, or 1 to 99 min
(Only when the command is SEND or SEND&RECEIVE)
With or without
When receive processing is completed (when the receive data is stored
response write
in the area specified in the 3rd operand of the PMCR( ) instruction),
(operand)
whether or not to store the received messages can be selected.
Next processing
When a step has ended normally, End (sequence completed), Next (pro-
ceed to the next step No.), Goto (go to the specified step No.), or Abort
(interrupt the step and terminate that sequence) can be selected.
Error processing
When a step has ended abnormally, End, Next, Goto, or Abort can be
selected.
Send message
Data sent to the
specified address
when the command
is SEND or
SEND&RECEIVE.
Receive message
Data sent from the
specified address
when the command
is RECEIVE or
SEND&RECEIVE.
Reception matrix
When the command
is RECEIVE or
SEND&RECEIVE,
sets the expected
receive messages
(15 max.), and
switches to the next
processing accord-
ing to the message
received.
Note The baud rate and the communications distance sometimes depend on the
remote device.
Description
Consists of a header (*1), address (*2), length,
data (*2), error check code (*3), and terminator
(*1).
For an explanation of *1, *2, and *3, see the fol-
lowing pages.
Specifies the receive messages and the next pro-
cessing for each of cases No. 00 to No. 15. Of the
maximum 16 cases, one case must be set as
"Other" in the receive messages (in addition to the
set receive messages).
Section 5-1
61

Advertisement

Table of Contents
loading

Table of Contents