Using the CMCR Instruction
9-3-4 Command Data
9-3-5 Response Data
9-3-6 Instruction Status
Structure of Instruction
Execution Flags
Note
1. A maximum of 1,462 bytes can be sent for broadcasts.
2. In the case of broadcasting, set the Response Request Bit to ON (1: Don't
request response).
In word S+0, specify the FINS command data length +1. The FINS command is
stored in words S+1 onwards. The maximum command data length is 1,000
words.
S+0
Command data length (Number of words: BCD) $1 to $1001
S+1
S+2
S+1000
Note If there is an odd number of bytes of data, set the remaining data to 0.
The response returned form the transmission destination node is stored. The
contents of the FINS response depend on the FINS command. For details
regarding the contents of response data, refer to Section 11 Using FINS Com-
mands and Responses.
Status information for executed SEND(90), RECV(98), and CMCR instructions
is reflected in the SR Area of the PC as instruction execution flags and instruc-
tion response codes.
The following two instruction execution flags are used:
Instruction Enabled Flag:
ON ("1") when the SEND(90), RECV(98), or CMCR instruction can be executed.
Instruction Error Flag:
ON ("1") when the SEND(90), RECV(98), or CMCR instruction has terminated
abnormally. This status is retained until the next instruction is executed.
If multiple instructions are to be used, always make sure that the Instruction
Enabled Flag is ON before executing the next instruction (i.e., perform exclusive
control).
FINS Command data
FINS Command data
•
•
•
FINS Command data
Section 9-3
121