Reading The Status - Siemens SIMATIC CM35 Manual

Table of Contents

Advertisement

Timer Operating Mode
7.6

Reading the Status

7-14
In timer mode, you can read the status of the timers from the CM35.
For example, the user program can use this to determine which timers have
expired and start them again.
Table 7-14 shows the address for reading the status.
Table 7-14
Assignment of the output area for reading the status
Offset to the
Module
Start Address
+0
Example (S7):
Timer mode
- Read timer status
- The CM35 has the module start address 256.
L
PIW 256
T
MW16
Meaning
Bit 0: Status of timer 1
0: Timer is active.
1: Timer has expired
1
Bit 1: Status of timer 2
Bit 2: Status of timer 3
Bit 3: Status of timer 4
Bit 4: Status of timer 5
Bit 5: Status of timer 6
Bit 6: Status of timer 7
Bit 7: Status of timer 8
// Address = 256, timer status
// Save status
(4) J31069-D0416-U001-A5-7618
Value Range
Ti
h
i d
and can be started
and can be started
again after a
stop command.
t
d
CM35 Counter Module

Advertisement

Table of Contents
loading

Table of Contents