Detailed description
2.12 Block descriptions
Description of formal parameters
The table below lists all formal parameters of the GETGUD function.
Signal
Req
Addr
Area
Unit
Index1
Index2
CnvtToken
VarToken
FMNCNo
(on FMNC only)
Error
Done
State
RD
152
I/O
Type
Value range
I
BOOL
I
ANY
[DBName].[VarName]
I
BYTE
I
BYTE
I
INT
I
INT
I
BOOL
I
ANY
I
INT
0, 1, 2
Q
BOOL
Q
BOOL
Q
WORD
I/O
ANY
P#Mm.n BYTE x...
P#DBnr.dbxm.n BYTE x
Remark
Job start with positive signal edge
GUD variable name in a variable of
data type STRING
Area address:
0: NCK variable
2: Channel variables
NCK area: Unit:=1
Channel area: Channel no.
Field index 1 of variable
Variable has the value 0 if no field
index is used.
Field index 2 of variable
Variable has the value 0 if no field
index is used.
Activate generation of a variable
token
Address to a 10byte token (see
example)
0, 1=1 NCU, 2=2 NCUs
Job negatively
acknowledged or
not executable
Job successfully
executed.
See error identifiers
Data to be written
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0