After the function executes, the function returns the timer state and value in the same
parameter block references:
0 = disabled
address
1 = enabled
a 1
current timer value
11.3.1.5
Example of SVCREQ 1
In this example, if contact OV_SWP is set, the Constant SweepTimer is read, the timer is
increased by two milliseconds, and the new timer value is sent back to the PLC. The
parameter block is in local memory at location %R0050. Because the MOVE and ADD
functions require three horizontal contact positions, the example logic uses discrete
internal coil %M00001 as a temporary location to hold the successful result of the first
rung line. On any sweep in which OV_SWP is not set, %M00001 is turned off.
OV_SWP
%R0051
ADD
_
INT
I1
I2
Q
CONST
00002
%M00001
CONST
00001
SVC
_
REQ
FNC
PARM
%R0050
CONST
00003
MOVE
WORD
IN
Q
%R00050
CONST
00001
SVC_
REQ
FNC
PARM
%R00050
%R00051
%M00001
( )
CONST
00001
MOVE
IN
Q
WORD
The Service Request Function
GFK-1503E User Manual 199
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......