Siemens SINUMERIK 828D Function Manual page 944

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

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Pulse diagram
(1)
Activation of function
(2)
Positive acknowledgment: variables have been written
(3)
Reset function activation after receipt of acknowledgment
(4)
Signal change by means of FB
(5)
Not permissible
(6)
Negative acknowledgment: Error has occurred, error code in output parameter state
Call example
Writing of three channel­specific machine data of channel 1:
Select the three data with NC VAR selector and store in the file DB120.VAR:
Area
Block
Name
C[1]
RP
rpa[5]
C[1]
RP
rpa[11]
C[1]
RP
rpa[14)
Entry NCVAR for DB 120 with the S7 SYMBOL Editor:
Symbol
Operand
NCVAR
DB 120
File DB120.AWL must be compiled and transferred to the PLC.
Call and parameterization of FB 3 with instance DB 111:
DATA_BLOCK DB 111
FB 3
BEGIN
Function FC "VariablenCall": VOID
END_DATA_BLOCK
U
I 7.7;
I
M 100.0;
U
M
100.1;
R
M 100.0;
U
I 7.6;
U
M 102.0;
944
Type
DOUBLE
DOUBLE
DOUBLE
//Unassigned user DB, as instance for FB 3
//Unassigned machine control panel key
//Activate req.
//Done completed message
//Terminate job
//Manual error acknowledgment
//Error pending
Byte S7 Name
4
rpa_5C1RP
4
rpa_11C1RP
4
rpa_14C1RP
Data type
DB 120
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