EasyManua.ls Logo

Siemens SIMATIC S7-300 FM 350-1 - Programming without Function Blocks

Siemens SIMATIC S7-300 FM 350-1
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming the FM 350-1
5.7 Programming FM 350-1 without FCs
FM 350-1 Counter module
54 Manual, 05/2011, A5E03648639-01
5.7 Programming FM 350-1 without FCs
To operate FM 350-1 without FCs, you can operate and monitor the module directly using
the control and check-back interface (user data interface.)
User data have a length of 16 bytes, starting at the module's start address.
Load commands allow you to read the check-back interface.
Transfer commands are used to write to the control interface.
Mixed use of load / transfer commands and programming with FCs is not permitted.
5.7.1 Control interface for the count modes
Control interface for the count modes
Parameter LOAD_VAL (bytes 0 to 3) has two different meanings:
You set the L_DIRECT or L_PREPAR bit to define the LOAD_VAL parameter as load
value.
You set the C_DOPARA bit in byte 0 to define the reaction of outputs DO0 and DO1.
Bytes 1 and 2 define the hysteresis and pulse duration.
Table 5- 12 Control interface for count modes (outputs)
Offset to the start
address
Parameters Meaning
Bytes 0 to 3 LOAD_VAL Load value; direct and preparatory loading with bit L_DIRECT
Load value; preparatory loading with bit L_PREPAR
You set the bit C_DOPARA to define the reaction of outputs DO0 and DO1, and
the hysteresis and pulse duration
Bit 3 Bit 2 Bit 1 Bit 0 Reaction of output DO0
x 0 0 0 Inactive
x 0 0 1 Active within the range from comparison value
to overflow
x 0 1 0 Active within the range from comparison value
to underflow
x 0 1 1 Active on reaching the comparison value for
pulse duration (up/down)
x 1 0 0 Active on reaching the comparison value of the
up count pulse width
Byte 0 LOAD_VAL
x 1 0 1 Active on reaching the comparison value of the
down count pulse width

Table of Contents

Related product manuals