Siemens SINUMERIK 828D Function Manual page 1052

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
2. Read word of position offset 8 without semaphore and store in MW 104:
CALL
FC
Enable
Funct
S7Var
IVAR1
IVAR2
Error
ErrCode
Function 5: Update control signals to channel
The purpose of this function is to transmit important control signals at high speed in between cyclic data
transfers. Data bytes 6 and 7 of user interfaces DB21, ... are transferred to the NC. The channel is specified in
parameter "IVAR1". This enable, for example, the feed disable, read-in disable to be transferred outside of the
PLC cycle.
The following signals are relevant:
Typ
Signal
e
Enable
I
Funct
I
S7Var
I
IVAR1
I
Error
O
ErrCode
O
Function 6: Update control signals to axes
The purpose of function 6 is to transmit important control signals at high speed in between cyclic data transfers.
The data byte 2 of application interface DB31, ... is transferred to the NC. The transfer is performed for all
activated axes. This allows the controller enable to be transferred outside the PLC cycle, for example.
The following signals are relevant:
Typ
Signal
e
Enable
I
Funct
I
S7Var
I
IVAR1
I
Error
O
ErrCode
O
1052
21 (
:=M 10.0,
:=B#16#3,
:=P#M 104.0 WORD 1,
:=8,
:=-1,
:=M 10.1,
:=MW12);
Type
Value range
BOOL
BYTE
5
ANY
S7 data storage area
INT
1. Max. channel
BOOL
INT
Type
Value range
BOOL
BYTE
6
ANY
S7 data storage area
INT
0
BOOL
INT
//if TRUE, FC 21 active
//Read data
Comment
1= FC 21 active
5: Control signals to channel
Not used
Channel number
1:
"Funct" invalid
10:
Channel no. invalid
Comment
1= FC 21 active
6: Control signals to axes
Not used
1: "Funct" invalid
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents