EasyManua.ls Logo

GE VersaMax PLC

GE VersaMax PLC
318 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
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

Table of Contents

Related product manuals