R
02/92
Programming Instructions
9.5.6 Reading the Actual Value
Direct parameterization (PB 11)
The actual value can be indicated on the PG monitor screen in flag double word FD 134 with the
“control variable” PG function. Function block FB 157 can be called with BEF =
IW
via input 14.0,
and the actual value can be viewed as follows:
FD 134
KH =
800F
FFFF
Indirect parameterization (FB 11)
Using the “control variable” PG function, the actual value can also be monitored herein DD 3 of
working data block FB 158. When input 14.0 is activated, the “IW” command is entered in DW 1 of
working data block FB 158. The subsequent call of function block FB 158 outputs the actual value
in data double word DD 3 as shown below.
DB 158
DD 3
KH =
800F
FFFF
In both cases, the actual is not yet output after
switchon
(indication KH =
800F
FFFF)
since the
incremental encoder matching module must be synchronized first. This is also indicated by the
lighted red LED
SYN.1
on the front of the module.
9.5.7 Synchronizing the Encoder Matching Module
During synchronization, the encoder matching module is set to the value which indicates the zero
shift (in user data block DB 156 in data double word DD 171 for channel 1).
Software-based synchronization is activated by the input 14.3.
Successful synchronization is indicated by the module, when the red synchronization LED on the
front goes off. If the read actual value display is still on the programmer screen and the reading
oDeration
for actual values is still activated (via input 14.0), output Q5.5/Q9.5 is set (“channel 1
synchronized”) and immediately after synchronization the actual value displays the zero shift
value, In the example the value –250 is shown:
FD 134
KH = 80000250
DB 158
DD 3 KH = 80000250
To observe changes in the actual values continuously,
nently.
(direct
parameterization)
(indirect
parameterization)
input 14.0 should be turned on
perma-
IP
241 Equipment Manual
@
.%31TWIS
AG 1989, Order No.: 6ES5
998-0KD21
9 – 51
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com