Siemens SIMATIC S5 Equipment Manual page 154

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

Advertisement

R 02/92
9.4.5 Working Data Block Assignment
The organization of the parameter list in the working data block is shown below.
DW n
DW n+l
Track number
DW n+2
DW n+3
Track identifier bits, channel 1
DW n+4
D W n+5 I
Track identifier bits, channel 2
Assigned
DW n+6
DW n+7
Enable for reset
The entries shown in bold face boxes in the working data block must be saved during interrupt
processing at the beginning of the interrupt organization block, and reloaded before the interrupt
organization block is exited if function block FB 158 is called from there.
The meaning of the individual entries is explained below.
Data word DW n must be supplied with the desired command from the following command list.
KS = KB
Only output of identifier bits and control bits
KS = AE
Change setpoints of one track
KS = SS
Software synchronization
KS = SH
Hardware synchronization
KS = IW
Output of the actual value
KS = AW
Output of the initial setpoint
KS = EW
Output of the end setpoint
KS = N1
Read zero shift, channel 1
KS = N2
Read zero shift, channel 2
KS = IV
Inhibit interrupt for supply
KS = IS
Inhibit interrupt
KS = PR
Transfer verify-read number to 1P
KS = MB
Calculate average value
KS = RV
Specify interrupt direction
"O" positive
"1" negative
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Command
User DB number
x
"0"/4
Number of the alarm bit
Programming Instructions
KS
KY
KH
104
KH
KM
I
KM
KM
KY
9 – 33

Advertisement

Table of Contents
loading

Table of Contents