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