Starting And Stopping The Timers - Siemens SIMATIC CM35 Manual

Table of Contents

Advertisement

7.3

Starting and Stopping the Timers

Table 7-11
Start/stop block
Address
Name
Start_Stop_Block
+0.0
Start_Stop_Timer_1
+0.1
Start_Stop_Timer_2
+0.2
Start_Stop_Timer_3
+0.3
Start_Stop_Timer_4
+0.4
Start_Stop_Timer_5
+0.5
Start_Stop_Timer_6
+0.6
Start_Stop_Timer_7
+0.7
Start_Stop_Timer_8
+1.0
CoordinationByte
=2.0
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
After parameterizing the module, you can start and stop the individual timers
of the CM35. To do this, write the start/stop block to the address ²module
start address + 2.²
Note
The timer must be stopped with a stop command before it can be started
again.
Table 7-11 shows the contents of the start/stop block. The required assign-
ment of the coordination byte is entered as an initial value in the structure.
For a description of the bit assignment of the coordination byte, see chapter
4.3.1.
Write- - access to the start/stop block must be programmed as a word- - access.
Type
STRUCT
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BYTE
END_STRUCT
Example:
The CM35 has the module start address 256.
L
W#16#F083
T
PQW 258
...
...
L
W#16#7083
T
PQW 258
Timer Operating Mode
Initial Value
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
B#16#83
Start/stop byte enable = 1
Consistency bit = 0 /
// Start timers 5 to 8
// Module start address + 2
// Stop timer 8
Timers 5 to 7 still active
// Module start address + 2
Commentary
0: Stop timer
1: Start timer
1 S
i
timer mode
7-9

Advertisement

Table of Contents
loading

Table of Contents