11.4
SVCREQ 2: Read Window Times
SVCREQ 2 can be used to read the times of the programmer communications window
and the system communications window. These windows can operate in Limited or Run
to Completion Mode.
Mode Name
Value
Description
Limited Mode
0
The execution time of the window is limited to 6ms. The
window terminates when it has no more tasks to
complete or after 6ms elapses.
Run to
Completion Mode
2
Regardless of the time assigned to a window, it runs
until all tasks within that window are completed (up to
400ms).
A window is disabled when the time value is zero.
11.4.1
Output Parameter Block for SVCREQ 2
The parameter block has a length of three words:
High Byte
Low Byte
address
Mode
Value in ms
Programmer Window
a 1
Mode
Value in ms
System Communications Window
a 2
must be zero
must be zero
reserved
All parameters are output parameters. It is not necessary to enter values in the parameter
block to program this function.
11.4.1.1
Example of SVCREQ 2
In the following example, when enabling output %Q00102 is set, the CPU places the
current time values of the windows in the parameter block starting at location %R0010.
%Q00102
CONST
00002
SVC
_
REQ
FNC
PARM
%R0010
200
GFK-1503E
VersaMax PLC User Manual
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: ......