Siemens SINUMERIK 840D sl Function Manual page 972

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
END_STRUCT;
BEGIN
END_DATA_BLOCK
// Unassigned user DB, as instance for FB5
DATA_BLOCK DB111
BEGIN
END_DATA_BLOCK
// Unassigned user DB, as instance for FB3
DATE_BLOCK DB112
BEGIN
END_DATA_BLOCK
// Reading of a channel-specific GUD variable from channel 1, with conversion
to a variable pointer
Function FC "VariablenCall" : VOID
U
S
U
R
U
U
R
CALL FB5, DB111(
972
STRUCT
SYNTAX_ID : BYTE ;
area_and_unit : BYTE ;
column : WORD;
line : WORD;
block type : BYTE ;
NO. OF LINES : BYTE ;
type : BYTE ;
length : BYTE ;
END_STRUCT;
string_of_GUD : STRING[30];
new_name : STRING[30] := 'GUD_123';
FB5
FB3
I 7.7;
M 100.0;
M 100.1;
M 100.0;
I 7.6;
M 102.0;
M 100.0;
Req
// must at least be so long as
// the definition of 'GUD_STRING'!
// Unassigned machine control panel key
// Activate req.
// Done completed message
// Terminate job
// Manual error acknowledgment
// Error pending
// Terminate job
:= M 100.0,
// Starting edge for reading
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents