Data Move Functions Communication Request - GE VersaMax PLC User Manual

Table of Contents

Advertisement

Instruction Set Reference
For public disclosure
NXT_CYC
| |
SHFR_
WORD
CLEAR
| |
R
%Q0033
IN
%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.
NXT_CYC
| |
SHFR_
CLEAR
| |
R
%Q0033
IN
%M0001
ST

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
Location
Task identifier
Q
%M0005
BIT
Q
%M0200
COMM_
Enable
REQ
FT
IN
SYSID
TASK
GFK-1503E User Manual 153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents