Command: Set Counter - Siemens SIMATIC FM 450-1 Manual

Counter function module installation and parameter assignment
Table of Contents

Advertisement

9.10 Command: Set Counter

Introduction
If you want to start or continue the count from a specific value (the load
value), you must parameterize the signal that is to be used to set this counter
to the load value. You can set the counter as follows:
This section describes the different methods and the time sequence when set-
ting a counter.
Load Value
For the load value of a counter, you can parameterize a number within the
count limits of the count mode.
The load value is interpreted in accordance with the count mode selected.
If you specify FFFF FFFF H as the load value, for example, the number is
interpreted as 4,294,967,295 in 32 bit mode, and as –1 in +31 bit mode.
The load value is entered in the DB of the FC CNT_CTRL.
Setting the
You can set a counter with the FC CNT_CTRL using the L_DIRECT input
Counter via the
parameter regardless of external events. This can also be done while a count
User Program
is in progress.
If you set the counter via the FC_CNT_CTRL call, this can initiate a process
interrupt.
Setting the
You can select two different external signals with which you can set a
Counter with an
counter to the load value.
External Signal
You use the zero mark of the encoder if you want to synchronize the counter
to a specific counter status at a specific point in your process. This achieves
greater accuracy in the count.
The counter is set independently of the operating mode.
After the counter has been set with an external signal, bit STS_SYNC in the
DB is set.
FM 450-1 Counter Function Module
C79000-G7076-C450-01
www.gkbpx.com
Operating Modes, Settings, Parameters and Commands
With the L_DIRECT input parameter of the FC_CNT_CTRL
With an external signal either via input 1I2 (2I2) or via the input in con-
junction with the zero mark of the encoder.
Input 1I2 (2I2) only
Input 1I2 (2I2) and zero mark of the encoder
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
9
9-19

Advertisement

Table of Contents
loading

Table of Contents