Mitsubishi Electric MELSEC-Q/L Programming Manual page 192

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• No operation error occurs.
Program example
■COUNTER_FB_M
The program which counts the number of times that bit type data input to (s1) is turned from OFF to ON, and outputs the count
value from (d1).
[Structured ladder/FBD]
[ST]
COUNTER_FB_M_Inst(Coil:=Var_M0, Preset:=10, ValueIn:=0, ValueOut:=Var_D10, Status:=Var_M10);
[Timing chart]
Var_M0
OFF
Value of Var_D10
1
Var_M10
OFF
5 APPLICATION FUNCTIONS
190
5.11 Standard Counter Function Blocks
ON
2
3
10
ON

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents