EasyManua.ls Logo

Siemens SIMATIC S5 - Page 190

Siemens SIMATIC S5
197 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R 02/92
Programming Instructions
Example: module address set at 128
SP bit scan
L KM
11010000
T
PY
132 (MOD address +4)
– Waiting time 150
psec
– SP bit scan
L
PY
132 (MOD address + 4)
T
FY
L
PY
133 (MOD address + 5)
TFY
L
PY
134 (MOD address + 6)
T
FY
. . .
Reading the firmware state:
If the module has been erased (i.e., the module is not
parameterized
or has not been erased by
software), the firmware state can be recognized by reading bytes 4,5, and 6 without read prompt-
ing
whereby:
Byte 4 = Year
Byte 5 = Month
Byte 6 = Day
Reading the initial or end
setpoint
of a track:
Example: Track number = 20
Read end value (as a check)
‘“e’
EiEi9
J
L = 1 = Read
S = O = Set oint indicator
E = 1 = En value
After definition of (in a write cycle via byte 4) what is to be read from bytes 4,5, and 6 in a read cycle,
the read operation can start after a scan of the SP bit = “O”.
Sequence:
– Read SP bit
– Write, specify byte 4
– Read, SP bit
If “O”, read bytes 4,5, and 6
for every initial or end track
setpoint
or for every actual channel value to be read.
IR
= “1” for parameterization with interrupt.
If a track is not present
(parameterized)
or if the synchronization bits 1 and 2 for incremental en-
coders are not set, then bytes 4, 5, and 6 = FFHex. (11111111).
1P
241 Equipment Manual
@
Siemens
AG
1989, Order No.: 6ES5 998-0KD21
9 – 69
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Other manuals for Siemens SIMATIC S5

Related product manuals