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.2.7 Function Block Application
FB 156 can be used in programmable controller S5–115U
other programmable controllers may not be used in
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 1 ~
programmable controllers). Forthe other programmable controllers, the statement STP ~<;'
(stop) must be programmed in start-up OB22 in case of an automatic warm restart ~, , , , , , , :
(during resumption of power supply).
Prior to calling function block FB 156, the setpoints must be written on the user data block. The
data block must have a minimum length of 181 words (even if the last functions are not required).
At first, the function block erases all parameterized data on the module. Then the firmware con-
tents of the module are read and stored in the user data block. Afterwards the interrupt word of
each track is scanned sequentially to see whether
– the track is not set (KH = FFFF),
– no interrupt is entered (KH = 0000),
– an interrupt is entered (all other cases KH = 0101).
If the track is not set, the next track is scanned. When a track is set, the setpoints are conditioned
as required by the module and transferred to the module. The module requires up to 8 msec. to file
a setpoint, before the next setpoint can be transferred (duration for one channel: approx. 256
An already preset user data block is available on the floppy disk. With adequately conditioned
setting it can be used for user–specific configuring tasks. (For setting of user data block see ex-
ample.)
Parameterization of zero shift values is only effective with incremental encoders. The zero shift val-
ues are transferred without the SS synchronizing bit. This is the condition for hardware–based
synchronization. Up to the moment of synchronization no actual value can be read (actual value =
9 – 12
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
without restrictions. The [#{
manual
automatic warm ~
and
R 02/92

Advertisement

Table of Contents
loading

Table of Contents