Siemens SINUMERIK 840Di Function Manual page 1137

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

2.12.25
FC 21: transfer PLC NCK data exchange
Description of functions
When the Transfer block is called, data are exchanged between the PLC and NCK according
to the selected function code. Data are transferred as soon as FC 21 is called, not only at the
start of the cycle.
The "Enable" signal activates the block.
FC 21 is processed only when "Enable" = "1".
Declaration of function, STL representation
VAR_INPUT
END_VAR
Explanation of formal parameters
The table below shows all formal parameters of the "Transfer" function.
Signal
Enable
Funct
S7Var
IVAR1
IVAR2
Error
ErrCode
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Enable :
Funct:
S7Var :
IVar1 :
IVar2 :
END_VAR
VAR_OUTPUT
Error :
ErrCode :
I/O
Type
I
Bool
I
Byte
I
Any
I
Int
I
Int
Q
Bool
Q
Int
BOOL ;
BYTE ;
ANY ;
INT ;
INT ;
BOOL ;
INT
Value range
1.. 7
S7 data storage area
0..
1..
Detailed description
2.12 Block descriptions
Remarks
1 = FC 21 active
1: Synchronized actions to channel
2: Synchronized actions from
channel
3: Read data
4: Write data
5: Control signals to channel
6, 7: Control signals to axis
Depends on "Funct"
Depends on "Funct"
Depends on "Funct"
Depends on "Funct"
2-225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents