Siemens simatic et 200s Operating Instructions Manual page 312

Positioning
Hide thumbs Also See for simatic et 200s:
Table of Contents

Advertisement

1PosUniversal/Digital
7.2 Brief Instructions on Commissioning the 1PosU
Integrating into the user program
Integrate the following FC 101 block in your user program (in OB 1, for example). This block
requires the DB1 data block with a length of 16 bytes. In the example below, the start is
initiated by setting memory bit 30.0 (in the plus direction) or 30.1 (in the minus direction) with
the programming device. You select rapid or creep feed using memory bit 30.2.
STL
Block: FC101
L
PID 256
T
DB1.DBD8
L
PID 260
T
DB1.DBD12
L
DB1.DBB8
T
MB8
L
DB1.DBB12
T
MB9
L
DB1.DBD8
DU
DW#16#FFFFFF
T
MD12
AN
M30.0
SPB
DIRM
L
B#16#13
T
DB1.DBB0
SPA
CTRL
AN
M30.1
DIRM:
SPB
STOP
L
B#16#15
T
DB1.DBB0
SPA
CTRL
L
B#16#0
STOP:
T
DB1.DBB0
A
DB1.DBX8.2
SPB
CTRL
AN
DB1.DBX8.0
=
DB1.DBX0.0
A
M30.2
CTRL:
=
DB1.DBX0.3
L
DB1.DBD0
T
PAD256
L
DB1.DBD4
T
PAD260
312
Explanation
//Load feedback values from the 1PosU
//Display status bits
//Display actual value
//Travel in plus direction
//(START=1, DIR_P=1, DIR_M=0, SPEED=0, TIPPEN=1)
//Travel in minus direction
//(START=1, DIR_P=1, DIR_M=0, SPEED=0, TIPPEN=1)
//Stop
//Set/delete START depending on POS_ACK
//Set SPEED
//Transfer control values to the 1PosSSI/Digital
Operating Instructions, 05/2007, A5E00124871-04
ET 200S Positioning

Advertisement

Table of Contents
loading

Table of Contents