Siemens SINUMERIK 840Di Function Manual page 1138

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

Advertisement

Detailed description
2.12 Block descriptions
Functions
1: Signals for synchronized actions to channel:
2: Signals for synchronized actions from channel:
Synchronized actions can be disabled or enabled by the PLC.
The data area is stored on the user interface in DB21 to DB30.DBB 300..307 (to channel)
and DBB 308..315 (from channel). Parameter "S7Var" is not evaluated for this function, but
must be assigned an actual parameter (see call example). The data are transferred to/from
the NC as soon as FC 21 is processed.
The following signals are relevant:
Signal
Enable
Funct
S7Var
IVAR1
Error
ErrCode
Call example
FUNCTION FC 100: VOID
VAR_TEMP
END_VAR
BEGIN
NETWORK
...
// Deactivate synchronized actions with ID3, ID10 and ID31 in NC channel 1 :
// Synchronized actions from NCK channel:
SYVK:
TRAN: CALL FC 21 (
2-226
I/O
Type
I
Bool
I
Byte
I
Any
I
Int
Q
Bool
Q
Int
myAny:
SYAK:
OPEN DB 21
SET;
S DBX300.2;
//ID3
S DBX301.1;
//ID10
S DBX303.6;
//ID31
L B#16#1;
T MB11;
SPA TRAN;
L B#16#2;
T MB11;
Enable
M 10.0,
Value range
1, 2
S7 data storage area
1..MaxChannel
ANY ;
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Remarks
1 = FC 21 active
1: Synchronized actions to channel
2: Synchronized actions from
channel
Not used
Channel number
1: "Funct" invalid
10: Channel no. invalid
// if True, FC 21 is active
Power Line Basic PLC Program (P3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents