Programming Instructions
R 02/92
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
DW
n+6
DW
n+7
Actual value
(dec.
O to
dec.
3)
KH
Track
idenffier
bits, channel 1
KM
Track identifier bits, channel 2
KM
1
Assigned
ST parameter
KM
O or 255
Alarm bit O to 7
KY
Input
Input
output
output
output
output
Output control bits
Input *)
*) 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.
DW n
DW
n+l
DW
n+2
DW
n+3
DW
n+4
DW
n+5
DW
n+6
DW
n+7
I
KB
KS
Track number
I
User
DB
KY
I
Track identifier bits, channel 1
I
KM
Track identifier bits, channel 2
KM
1
I
Assigned
I
ST parameter
KM
I
O or 255
I
Alarm bit O to 7
It&
Input
Input
Unaffected
Unaffected
output
output
Output of control bits
Input *)
*) 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
1P
241 Equipment Manual
@SiemensA(21989,
Order
No.:
6ES5
gg8-r)KD21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com