Siemens simatic et 200s Operating Instructions Manual page 56

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

Advertisement

1PosInc/Digital
3.2 Brief Introduction to Commissioning the 1PosInc/Digital
Creating Blocks and Integrating Them 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
UD
DW#16#FFFFFF
T
MD12
AN
M30.0
SPB
DIRM
L
B#16#13
T
DB1.DBB0
SPA
CTRL
DIRM:
AN
M30.1
SPB
STOP
L
B#16#15
T
DB1.DBB0
SPA
CTRL
STOP:
L
B#16#0
T
DB1.DBB0
A
DB1.DBX8.2
SPB
CTRL
AN
DB1.DBX8.0
=
DB1.DBX0.0
56
Explanation
//Load feedback values from 1PosInc/Digital
//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
Operating Instructions, 05/2007, A5E00124871-04
ET 200S Positioning

Advertisement

Table of Contents
loading

Table of Contents