Svcreq 2: Read Window Times; Output Parameter Block For Svcreq 2 - GE VersaMax PLC User Manual

Table of Contents

Advertisement

11.4 SVCREQ 2: Read Window Times

200
GFK-1503E
For public disclosure
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
Limited Mode
0
Run to
2
Completion Mode
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
address
Mode
address + 1
Mode
address + 2
must be zero
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.
Description
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.
Regardless of the time assigned to a window, it runs
until all tasks within that window are completed (up to
400ms).
Low Byte
Value in ms
Value in ms
must be zero
SVC_
REQ
VersaMax PLC User Manual
Programmer Window
System Communications Window
reserved

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents