M7Cnt_Status - Siemens SIMATIC FM 450-1 Manual

Counter function module installation and parameter assignment
Table of Contents

Advertisement

M7 Reference Counter Function Library

12.22 M7CNT_STATUS

Function
Syntax
12
12-28
www.gkbpx.com
The structure is used for status scanning with the M7CntReadStatus function.
struct {
unsigned StsSet:1;
unsigned :1;
unsigned StsSta:1;
unsigned StsStp:1;
unsigned StsCmp1:1;
unsigned StsCmp2:1;
unsigned :2;
unsigned StsRun:1;
unsigned StsDir:1;
unsigned StsZero:1;
unsigned StsOflw:1;
unsigned StsUflw:1;
unsigned StsSync:1;
unsigned StsGate:1;
unsigned StsSWG:1;
} M7CNT_STATUS;
/* Status: SET input 1 = active */
/* Filler bit*/
/* Status: START input 1 = active */
/* Status: STOP input 1 = active */
/* Status:Output comparator 1
1 = on */
/* Status: Output comparator 2
1 = on
*/
/* Reserve */
/* Status: Counter is running */
/* Status: Direction of count,
0 = up, 1 = down*/
/* Status: Zero pass
1 = occurred*/
/* Status:Counter overflow
1 = occurred*/
/* Status: Counter underflow
1 = occurred */
/* Status: Counter synchronization
1 = carried out */
/*Status gate, 1 = open*/
/* Status SW gate, 1 = open */
FM 450-1 Counter Function Module
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
C79000-G7076-C450-01

Advertisement

Table of Contents
loading

Table of Contents