R
%Q0033
Q
IN
%M0005
%R0001
ST
10.3.4.3 Example 2:
In this example, the Shift Register operates on memory locations %M0001 through %
M0100. (%M0001 is defined as type Boolean of length 100). When the reset reference
CLEAR is active, the Shift Register function fills %M0001 through %M0100 with zeros.
When NXT_CYC is active and CLEAR is not, the Shift Register function shifts the data
in %M0001 to %M0100 down by one bit. The bit in %Q0033 is shifted into %M0001
while the bit shifted out of %M0100 is written to %M0200.
R
%Q0033
Q
IN
%M0200
%M0001
10.3.5 Data Move Functions Communication Request
The Communication Request (COMMREQ) function communicates with an intelligent
module. Many types of COMM REQs have been defined. The information below
describes only the basic format of the function.
When the function receives power flow, a command block of data is sent to the specified
module. After sending the COMMREQ, the program can either suspend execution and
wait for a reply for a maximum waiting period specified in the command, or resume
immediately.
First word of command block
Enable
COMM_
REQ
IN
Location
SYSID
Task identifier
TASK
FT
Instruction Set Reference GFK-1503E User Manual 153
For public disclosure