Structure Of The Parameter Blocks - Siemens SIMATIC CM35 Manual

Table of Contents

Advertisement

Timer Operating Mode
7.2.2

Structure of the Parameter Blocks

Table 7-5
Parameter block 1, data structure
Address
Name
Para_Block_1_Data
+0.0
Control_word
+2.0
Timebase_Timer_1
+3.0
Timebase_Timer_2
+4.0
Timebase_Timer_3
+5.0
Timebase_Timer_4
+6.0
Timebase_Timer_5
+7.0
Timebase_Timer_6
+8.0
Timebase_Timer_7
+9.0
Timebase_Timer_8
+10.0
Factor_Timer_1
+12.0
Factor_Timer_2
=14.0
Table 7-6
Parameter block 1, acceptance structure (only for SIMATIC S5)
Address
Name
Para_Block_1_Accept
+0.0
Control_word
=2.0
7-6
Tables 7-5, 7-7 and 7-9 show the data structures of the three parameter blocks
and how they must be transferred to the CM35 with SFC 55 calls or I/O di-
rect accesses.
The first word of the parameter blocks contains the control word. The required
assignment is entered as an initial value in the structures.
When I/O direct accesses are parameterized (only with SIMATIC S5), the
acceptance structures must be transferred after the data structures. See tables
7-6, 7-8 and 7-10. The required assignment of the acceptance structures is
entered as an initial value.
Adhere to the information in chapter 4.2 concerning transmission of the data.
Parameter block 1 contains:
- - The time base for timers 1 to 8
- - The factor for timers 1 and 2
Type
STRUCT
WORD
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
WORD
WORD
END_STRUCT
Type
STRUCT
WORD
END_STRUCT
Initial
Commentary
Value
W#16#13
Parameter block no. 1/
timer mode
B#16#0A
Time base for timer 1
B#16#0A
Time base for timer 2
B#16#0A
Time base for timer 3
B#16#0A
Time base for timer 4
B#16#0A
Time base for timer 5
B#16#0A
Time base for timer 6
B#16#0A
Time base for timer 7
B#16#0A
Time base for timer 8
W#16#01
Factor for timer 1
W#16#01
Factor for timer 2
Initial
Commentary
Value
W#16#53
Consistency bit = 1 /
parameter block no. 1/
timer mode
(4) J31069-D0416-U001-A5-7618
CM35 Counter Module

Advertisement

Table of Contents
loading

Table of Contents