Siemens SIMATIC S5 Equipment Manual page 185

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

Advertisement

Programming Instructions
9.6.1.1 Byte Structure
Byte O specified below corresponds to the hardware–based setting of
the module address.
NV
= Zero shift
Interrupt identifier bit
=
= Initial setpoint
End = End setpoint
Vz
=
Sign
= Erase set track
=
Examples:
A) Specifiy bit pattern for track 3 with
– hmtial setpoint = –1000
– No interrupt assignment
Note:
NV must be O
B must be O
X ALWAYS O
B) Specify bit pattern for track 20 with
– End setpoint = +2000
– Interrupt when this value is reached
Note:
NV must be O
B must be O
X ALWAYS O
C) Ze~o shift
(.required for defined setting of the internal
timer when incremental encoders are used)
for a channel (IR possible when synchronizing)
Channel selection with any track number:
– for channel 1
track number 0...15
track number 16...31
– for channel 2
Example: – Channel 1 (track number:O)
– Zero point = O
Note:
– Start/End, B not relevant
X ALWAYS O
After completed synchronization and new zero shift value specification, the synchroniza–
tion bit and the synchronization logic are reset.
When "SS" bit is set, the counter is synchronized following writing of bytes 0.1, and
2 and subsequent writing of byte 3.
For updating of the result bit, a time period of 1 msec per supplied initial or end value is
required (see section 8.3).
9 – 64
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Bit
1
2
3
In this case no "SP" bit is set!
7654
3
21
I
Track No.
0–31
1 0 1
1 0
3
1 0
1 0
AG 1989, Order No.: 6ES5 998-0KD21
0
0
2

Advertisement

Table of Contents
loading

Table of Contents