Chapter 6. Service Request Function
GFK-2950C
February 2018
297
6.12
SVC_REQ 11: Read Controller ID
Use SVC_REQ 11 to read the name of the controller executing the program.
Output
The output parameter block has a length of four words. It returns eight ASCII characters: the
Controller ID (from one to seven characters) followed by null characters (00h). The last character is
always a null character
If the Controller ID has fewer than seven characters, null characters are appended to the end.
Address
Low Byte High Byte
Address
character 1 character 2
1
character 3 character 4
2
character 5 character 6
3
character 7 00
SVC_REQ 11 Example
When enabling input %I0303 is ON, register location
%R0099 is loaded with the value 11, which is the
function code for the Read Controller ID function. The
program block READ_ID is then called to retrieve the ID.
The parameter block is located at address %R0100.
Program Block READ_ID:
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...