EasyManuals Logo

GE VersaMax PLC User Manual

GE VersaMax PLC
318 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #212 background imageLoading...
Page #212 background image
11.11 SVCREQ 10: Read Folder Name
Use SVCREQ 10 to read the name of the currently-executing folder.
11.11.1 Output Parameter Block Format for SVCREQ
10
The output parameter block has a length of four words. It returns eight ASCII characters;
the last is a null character (00h). If the program name has fewer than seven characters,
null characters are added to the end.
Low Byte High Byte
address character 1 character 2
address + 1 character 3 character 4
address + 2 character 5 character 6
address + 3 character 7 0
11.11.2 Example of SVCREQ 10
In this example, when enabling input %I0301 goes OFF, register location %R0099 is
loaded with the value 10, which is the function code for the Read Folder Name function.
The Program Block READ_ID is then called to retrieve the folder name. The parameter
block is located at address %R0100.
CONST
0010
MOVE
UINT
IN
Q %R0099
%R0099
SVC_
REQ
FNC
PARM
%R0100
READ_ID
%I0301
Program Block READ_ID
212 GFK-1503E VersaMax PLC User Manual
For public disclosure

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE VersaMax PLC and is the answer not in the manual?

GE VersaMax PLC Specifications

General IconGeneral
BrandGE
ModelVersaMax PLC
CategoryController
LanguageEnglish

Related product manuals