Siemens SINUMERIK 828D Function Manual page 1054

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

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Declaration of the function
STL representation
FUNCTION FC 22 : VOID
// NAME:
VAR_INPUT
MagNo:
ReqPos:
ActPos:
Offset:
Start:
END_VAR
VAR_OUTPUT
Cw:
Ccw:
InPos:
Diff:
Error :
END_VAR
BEGIN
END_FUNCTION
Description of formal parameters
The table below shows all formal parameters of the "TM_DIR" function.
Typ
Signal
e
MagNo
I
ReqPos
I
ActPos
I
Offset
I
Start
I
Cw
 A 
Ccw
 A 
InPos
 A 
Diff
 A 
Error
 A 
1054
TM_DIR
INT ;
INT;
INT;
BYTE ;
BOOL ;
BOOL ;
BOOL ;
BOOL ;
INT;
BOOL ;
Type
Range of values
INT
1 ...
INT
1 ...
INT
1 ...
BYTE
0 ...
BOOL
BOOL
BOOL
BOOL
INT
0 ...
BOOL
Remark
Magazine number
Setpoint location
Actual location
Offset for special positioning
Start of calculation
1 = Move magazine clockwise
1 = Move magazine
counterclockwise
1 = In position
Differential path (shortest path)
1 = error
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