Siemens simatic et 200s Operating Instructions Manual page 117

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

Advertisement

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. Select the speed for inching mode using memory word 32.
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
CTRL:
L
MW32
T
DB1.DBW23
L
B#16#0
T
DB1.DBB1
L
DB1.DBD0
T
PAD256
L
DB1.DBD4
T
PAD260
ET 200S Positioning
Operating Instructions, 05/2007, A5E00124871-04
4.2 Brief Instructions on Commissioning the 1PosInc/Analog
Explanation
//Load feedback values from the 1PosInc/Analog
//Display status bits
//Display actual value
//Travel in plus direction
//(START=1, DIR_P=1, DIR_M=0, CTRL_DO=1, INCH=1)
//Travel in minus direction
//(START=1, DIR_P=0, DIR_M=1, CTRL_DO=1, INCH=1)
//Stop
//Set/delete START depending on POS_ACK
//Speed for inching mode
//Transfer control values to the 1PosInc/Analog
1PosInc/Analog
117

Advertisement

Table of Contents
loading

Table of Contents