Function Blockapplication - Siemens SIMATIC S5 Equipment Manual

Digital position decoder ip 241 with fb 156/1 57 158
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Programming Instructions
9.3.7 Function Block Application
other programmable cohtrofiers may not be used in manual and automatic warm
restart operation modes.
For programmable controllers S5– 135U and S5– 155U, the operation mode "automatic
cold restart" must be set in data block DXO (see equipment manuals of the respective
programmable controllers). For the other programmable controllers, the statement STP
(stop) must be programmed in start-up OB 22 in case of an automatic warm restart
Prior to calling the function block FB 157, the module must have been parameterized with function
block FB 156.
Via parameter BEE function block FB 157 receives the function to be performed:
Read actual value
SPDB : ~ =
X, y
with x <16 the actual value of channel 1 is read, otherwise channel 2 is read.
w
: Output of actual value, or
WI
: Output of actual value (High word)
W2
: Output of actual value (Low word)
KB
: Output of identifier bits, or
: Output of identifier bits (High word) -t Channel 2
: Output of identifier bits (Low word) -t Channel 1
ST
: Output of control bits
Read track identifier bits
KB
: Output of identifier bits, or
: Output of identifier bits (High word) -+ Channel 2
: Output of identifier bits (Low word) -t Channel 1
ST
: Output of control bits
(This command is used with interrupt processing in the interrupt–controlled
program; see below).
9 – 22
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
R 02/92

Advertisement

Table of Contents
loading

Table of Contents