5-1SectionUsing Protocol Macros
61
Item Description
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
response write
(operand)
When receive processing is completed (when the receive data is
stored in the area specified in the 3rd operand of the PMCR(––)
instruction), whether or not to store the received messages can be
selected.
Next processing When a step has ended normally, End (sequence completed), Next
(proceed 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.
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
Receive message Data sent from the
specified address
when the command
is RECEIVE or
SEND&RECEIVE.
following pages.
Reception matrix When the
command is
RECEIVE or
SEND&RECEIVE,
sets the expected
receive messages
(15 max.), and
switches to the
next processing
according to the
message received.
Specifies the receive messages and the next
processing 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).
Note The baud rate and the communications distance sometimes depend on the re-
mote device.