2Long/Short Value; 3Example Of Svcreq 15 - GE VersaMax PLC User Manual

Table of Contents

Advertisement

The Service Request Function
For public disclosure
11.15.2 Long/Short Value
The first byte of word address +1 contains a number that indicates the length of the
fault-specific data in the fault entry. These possible values are:
PLC fault table
I/O fault table
11.15.3 Example of SVCREQ 15
When inputs %I0250 and %I0251 are both on, the first Move function places a zero (read
PLC fault table) into the parameter block for SVCREQ 15. When input %I0250 is on and
input %I0251 is off, the Move instruction instead places a one (read I/O fault table) in the
SVCREQ parameter block. The parameter block is located at location %R0600.
%I0250
%I0251
CONST
%I0251
%I0250
CONST
00001
ALW_ON
SVC_
REQ
CONST
FNC
00015
%R0600
PARM
00 = 8 bytes (short)
01 = 24 bytes (long)
02 = 5 bytes (short)
03 = 21 bytes (long)
MOVE
Q
%R0600
IN
00000
LEN
00001
MOVE
INT
Q
%R0600
IN
LEN
00001
GFK-1503E User Manual 217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents