P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
942
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Description of formal parameters
The table below lists all formal parameters of the PUT function.
Addr8 :
ANY ;
Unit8 :
BYTE ;
Column8 :
WORD ;
Line8 :
WORD ;
END_VAR
VAR_OUTPUT
Error :
BOOL ;
Done :
BOOL ;
State :
WORD ;
END_VAR
VAR_IN_OUT
SD1 :
ANY ;
SD2 :
ANY ;
SD3 :
ANY ;
SD4 :
ANY ;
SD5 :
ANY ;
SD6 :
ANY ;
SD7 :
ANY ;
SD8 :
ANY ;
END_VAR
Signal
Ty
pe
Type
Range of values
Remark
Req
I
BOOL
Job start with positive signal edge
NumVar
I
INT
1 to 8
(corresponds to use of
Addr1 to Addr8)
Number of variables to be written
Addr1 to Addr8
I
ANY
[DBName].[VarName]
Variable identifiers from
NC Var selector
Unit 1 to Unit 8
I
BYTE
Area address, optional for
variable addressing
Column 1 to Column
8
I
WORD
Column address, optional for
variable addressing
Line 1 to Line 8
I
WORD
Line address, optional for variable
addressing
Error
A BOOL
Negative acknowledgment of job
or execution of job impossible
Done
Q
BOOL
Job successfully executed
State
Q
WORD
See error identifiers
SD1 to SD8
I/O ANY
P#Mm.n BYTE x...
P#DBnr.dbxm.n BYTE x
Data to be written