Siemens SINUMERIK 840D sl Function Manual page 1038

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
Explanation of formal parameters
Signal
Enable:
Funct:
S7Var :
IVAR1:
IVAR2:
Error:
ErrCode:
Function 1, 2: Signals synchronized actions to / from Channel
Synchronized actions can be disabled or enabled by the PLC.
The data area is stored on the user interface in DB21, ... .DBB300 ...307 (to channel) and
DB21, ... .DBB308 ...315 (from channel). The 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 FC21 is processed.
Signal
Enable:
Funct:
S7Var :
IVAR1:
Error:
ErrCode:
Call example:
FUNCTION FC100: VOID
VAR_TEMP
END_VAR
1038
Typ
Type
e
I
BOOL
I
BYTE
I
ANY
I
INT
I
INT
O
BOOL
O
INT
Typ
Type
e
I
BOOL
I
BYTE
I
ANY
I
INT
O
BOOL
O
INT
myAny: ANY ;
Value range
Description
0 (FALSE), 1 (TRUE) 1:
1, 2, 3, ... 7
1:
2:
3:
4:
5:
6:
7:
S7 data storage area
Depends on "Funct"
---
Depends on "Funct"
---
Depends on "Funct"
0 (FALSE), 1 (TRUE) 1:
---
Depends on "Funct"
Value range
Description
0 (FALSE), 1 (TRUE) 1:
1, 2
1:
2:
S7 data storage area
Not used
1, 2, ... max. channel
Channel number
number
0 (FALSE), 1 (TRUE) 1:
1, 10
1:
10
:
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Transferring data
Synchronized actions at chan‐
nel
Synchronized actions from
channel
Read data
Write data
Control signals to channel
Control signals to axis
Control signals to axis
An error is active
Transferring data
to channel
from channel
An error is active
"Funct" invalid
Channel number invalid
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents