11.12
SVCREQ 11: Read PLC ID
Use SVCREQ 11 to read the name of the PLC executing the program.
11.12.1
Output Parameter Block Format for SVCREQ
11
The output parameter block has a length of four words. It returns eight ASCII characters;
the last is a null character (00h). If the PLC ID has fewer than seven characters, null
characters are added to the end.
Low Byte
High Byte
address
character 1
character 2
a 1
character 3
character 4
a 2
character 5
character 6
a 3
character 7
0
11.12.2
Example of SVCREQ 11
In this example, when enabling input %I0302 goes OFF, register location %R0099 is
loaded with the value 11, which is the function code for the Read PLC ID function. The
program block READ_ID is then called to retrieve the ID. The parameter block is located
at address %R0100.
CONST
0011
MOVE
UINT
IN
Q
%R0099
%R0099
SVC_
REQ
FNC
PARM
%R0100
READ_ID
%I0303
Program Block READ_ID
The Service Request Function
GFK-1503E User Manual 213
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: ......