Siemens SIMATIC S5 Equipment Manual page 159

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

Advertisement

Programming Instructions
Read actual value (IW)
Parametrize the working data block as shown below.
DW n
DW n+l
DW n+2
DW n+3
DW n+4
DW n+5
Assigned
DW n+6
O or 255
DW n+7
*) This parameter is used for PLCS S5–150U/S and S5–155U in 150U mode during interrupt
processing (see section 9.4,8),
When the track number (DL n+l) is less than 16, channel 1 is selected, otherwise channel 2.
The data block number of the user data block (DR n+l) must be the same data block number
used also during startup in connection with function block FB 156.
Read track identifier bits (KB)
Parametrize the working data block as shown below.
I
DW n
Track number
DW n+l
DW n+2
DW n+3
I
DW n+4
DW n+5
I
Assigned
DW n+6
O or 255
DW n+7
*) This parameter is used for PLCS S5-150U/S and S5–155U in 150U mode during interrupt
processing (see section 9.4.8).
Entry of the track number parameter (DL n+ 1 ) has no effect on the "read track identifier bits" func-
tion.
The data block number of the user data block (DR n+l) must be the same data block number
used also during startup in connection with function block FB 156.
9 – 38
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Actual value (dec. O to dec. 3)
Track idenffier bits, channel 1
Track identifier bits, channel 2
1
ST parameter
Alarm bit O to 7
KB
User DB
I
Track identifier bits, channel 1
Track identifier bits, channel 2
1
ST parameter
I
Alarm bit O to 7
I
Input
Input
output
KH
output
KM
output
KM
output
KM
Output control bits
Input *)
KY
KS
Input
Input
KY
Unaffected
Unaffected
I
KM
output
KM
output
KM
Output of control bits
Input *)
@SiemensA(21989, Order
No.: 6ES5 gg8-r)KD21
R 02/92

Advertisement

Table of Contents
loading

Table of Contents