Chapter 4. Ladder Diagram (LD) Programming
154
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
COMMREQ Example 2
The MOVE function can be used to enter the command block contents for the COMMREQ described
in example 1.
Input IN of the COMMREQ specifies %R00016 as the beginning reference for the command block.
Successive references contain the following:
%R00016
Data Block Length
%R00017
Wait/No Wait Flag
%R00018
Status Pointer Memory Type
%R00019
Status Pointer Offset
%R00020
Idle Timeout Value (Because this parameter is ignored in NO WAIT mode, no value is
input).
%R00021
Maximum Communication Time Value (Because this parameter is ignored in NO
WAIT mode, no value is input).
%R00022 to end of data Data Block
MOVE functions supply the following command block data for the COMMREQ.
▪
The first MOVE function places the length of the data being communicated in %R00016.
▪
The second MOVE function places the constant 0 in %R00017. This specifies NO WAIT mode.
▪
The third MOVE function places the constant 8 in %R00018. This specifies the register table as
the location for the status pointer.
▪
The fourth MOVE function places the constant 512 in reference %R00019. Therefore, the status
pointer is located at %R00513.
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...