Reading Theactualvalue; Synchronizing The Encoder Matching Module - 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

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
KH = 800F FFFF
DD 3
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
synchronized") and immediately after synchronization the actual value displays the zero shift
value, In the example the value –250 is shown:
KH = 80000250
FD 134
DB
158
DD
3
KH = 80000250
To observe changes in the actual values continuously,
AG 1989, Order No.: 6ES5 998-0KD21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Instructions
(direct parameterization)
(indirect parameterization)
input 14.0 should be turned on perma-
9 – 51

Advertisement

Table of Contents
loading

Table of Contents