EasyManua.ls Logo

Siemens SIMATIC ET 200S - Configuration

Siemens SIMATIC ET 200S
382 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1PosInc/Digital
3.2 Brief Introduction to Commissioning the 1PosInc/Digital
ET 200S Positioning
56 Operating Instructions, 05/2007, A5E00124871-04
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 Explanation
Block: FC101
L PID 256 //Load feedback values from 1PosInc/Digital
T DB1.DBD8
L PID 260
T DB1.DBD12
L DB1.DBB8 //Display status bits
T MB8
L DB1.DBB12
T MB9
L DB1.DBD8 //Display actual value
UD DW#16#FFFFFF
T MD12
AN M30.0
SPB DIRM
L B#16#13 //Travel in plus direction
T DB1.DBB0 //(START=1, DIR_P=1, DIR_M=0, SPEED=0, TIPPEN=1)
SPA CTRL
DIRM: AN M30.1
SPB STOP
L B#16#15 //Travel in minus direction
T DB1.DBB0 //(START=1, DIR_P=1, DIR_M=0, SPEED=0, TIPPEN=1)
SPA CTRL
STOP: L B#16#0 //Stop
T DB1.DBB0
A DB1.DBX8.2
SPB CTRL
AN DB1.DBX8.0 //Set/delete START depending on POS_ACK
= DB1.DBX0.0

Table of Contents

Other manuals for Siemens SIMATIC ET 200S

Related product manuals