Siemens SIMATIC S7-300 FM 350-1 Manual page 46

Counter
Table of Contents

Advertisement

Programming the FM 350-1
5.2 The function FC CNT_CTL1 (FC 2)
DB address
Parameters
15.0
16.0
17.0
18.0
CMP_V1
22.0
CMP_V2
Parameters for Transferring Values in the DB (Measuring Modes)
The following table shows the range of the DB in which you transfer the LOAD_VAL,
CMP_V1 and CMP_V2 parameters.
The LOAD_VAL parameter (bytes 14 to 17) has two meanings:
● If you set function parameter L_PREPAR, LOAD_VAL is interpreted as a low limit
● If you set function parameter C_DOPARA, Byte 14 is used to define the behavior of
You must not set the L_DIRECT parameter for a measuring mode.
46
Meaning
x = irrelevant
Bit 7
Bit 6
x
0
x
0
x
0
x
0
x
1
x
1
x
1
x = irrelevant
Hysteresis (range of values 0 to 255)
Pulse duration (value range 0 to 250)
Reserve = 0
Comparison value 1; load with function parameter: T_CMP_V1
Comparison value 2; load with function parameter: T_CMP_V2
Output DO0.
Bit 5
Bit 4
Reaction of output DO1
0
0
Inactive
0
1
Active from comparison value to overflow
1
0
Active from comparison value to underflow
1
1
Active on reaching the comparison value for pulse
duration (up/down)
0
0
Active on reaching the comparison value for pulse
duration (up)
0
1
Active on reaching the comparison value for pulse
duration (down)
1
0
Switch to comparison values
FM 350-1 Counter module
Manual, 05/2011, A5E03648639-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents