Siemens SIMATIC S5 Equipment Manual page 184

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

Advertisement

9.6
Direct Programming of the 1P 241
(without the Standard Function Block)
The intelligent 1/0 module "digital position decoder" is addressed by a central processor like an
1/0 module.
Processors for SIMATIC S5 technology are programmed in STEP 5 programming language. Via
byte–based (8 bits) load and transfer commands, this language allows parameterization of the
module or processing of available identifiers in the working range of the central processor.
9 . 6 . 1 Parameterization
Approximately 100 psec after turning on or returning control
voltage, the SP bit can be scanned. It has status "1" until the
module is ready to accept write commands (memory
initialization). Now the module can be parameterized (i.e., initial
and end setpoints), and if necessary, interrupt identifiers must
be assigned to the 32 tracks of the two channels.
With incremental encoder modules, the internal counter must
be defined as shown in example C on next page. The other
encoder modules accept the absolute actual value of the
connected encoder directly.
Normally, parameters are assigned in a new start-up routine
or for STEP 5 programs, depending on the processor type, in
accordance with conditional control statements.
NV (zero shift) value must only be written once per channel.
When the S5 is used, the module must be erased ' "
prior to parameterization (see section 9.6.4). When
module must be read.
AG 1989, Order No.: 6ES5 998-0KD21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Instructions
Write 1 Byte
Read Byte 7
N
9 – 63

Advertisement

Table of Contents
loading

Table of Contents