After the function executes, the function returns the timer state and value in the same
parameter block references:
0 = disabled
address 1 = enabled
address + 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.
_
INT
I1
I2
Q
CONST
00002
%M00001
CONST
00001
SVC
_
%R00051
%M00001
( )
CONST
00001
MOVE
IN
Q
The Service Request Function GFK-1503E User Manual 199
For public disclosure