Svc_Req 10: Read Target Name - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 6. Service Request Function

6.11 SVC_REQ 10: Read Target Name

Use SVC_REQ 10 to read the name of the currently executing target.
Output
The output parameter block has a length of four words. It returns eight ASCII characters: the target
name (from one to seven characters) followed by null characters (00h). The last character is always a
null character. If the target name has fewer than seven characters, null characters are appended to
the end.
Address
Low Byte
Address
character 1
Address+1
character 3
Address+2
character 5
Address+3
character 7
SVC_REQ 10 Example
When enabling input %I0301 goes ON, register
location %R0099 is loaded with the value 10, which
is the function code for the Read Target Name
function. The program block READ_ID is then called
to retrieve the target name. The parameter block is
located at address %R0100.
Program block READ_ID:
296
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
High Byte
character 2
character 4
character 6
00
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents