Structure Of The Parameter Blocks - Siemens SIMATIC CM35 Manual

Table of Contents

Advertisement

5.2.2

Structure of the Parameter Blocks

Table 5-9
Parameter block 1
Address
Name
Para_Block_1_Data
+0.0
Control_word
+2.0
Cmp_Start_Value_Chan_1
+4.0
Cmp_Start_Value_Chan_2
+6.0
Cmp_Start_Value_Chan_3
+8.0
Cmp_Start_Value_Chan_4
+10.0
Cmp_Start_Value_Chan_5
+12.0
Cmp_Start_Value_Chan_6
=14.0
CM35 Counter Module
(4) J31069-D0416-U001-A5-7618
Tables 5-9, 5-10 and 5-11 show the data structures of the three parameter
blocks as they must be transferred with SFC55 calls to the CM35.
The first word of the parameter blocks contains the control word. The re-
quired assignment is entered as the initial value in the structures.
For transmission of the data, see chapter 4.2.
Parameter block 1 contains:
The comparison or start values for channels 1 to 6
S
Type
STRUCT
WORD
WORD
WORD
WORD
WORD
WORD
WORD
END_STRUCT
Pulse Counter Operating Mode
Initial
Commentary
Value
W#16#11
Parameter block no. 1/counter mode
W#16#00
Comparison value/start value, channel 1
W#16#00
Comparison value/start value, channel 2
W#16#00
Comparison value/start value, channel 3
W#16#00
Comparison value/start value, channel 4
W#16#00
Comparison value/start value, channel 5
W#16#00
Comparison value/start value, channel 6
5-11

Advertisement

Table of Contents
loading

Table of Contents