Instruction 78- counter – Maple Systems MAPware-7000 User Manual

Page 131

Advertising
background image

123

MAPware-7000 Ladder Logic Guide

1010-1041 rev. 00

Instruction 78- Counter

Expression:

Space Requirement: 2 line x 3 column Location Requirement: Middle, Right rail

Function:

While the enable input is ON, this instruction counts the number of the count input changes
from OFF to ON. The count value is stored in the counter register B. When the count value
reaches the set value A, the output and the counter device corresponding to B are turned ON.
When the enable input comes OFF, B is cleared to 0 and the output and the counter device are
turned OFF.

The available data range for operand A is 0 to 65535.

Execution Condition:

Input

Operation

Output

OFF

No operation (B is cleared to 0)

OFF

ON

Count value (B) < set value (A)

OFF

Count value (B) > set value (A)

ON

Operand:

Coil or Bit

Register

Constant

Index

Name

X

Y B

S

T.

C.

M

X
W

Y
W

B
W

S
W

T C

D

I

J

K

M
W

A

Set Value

√ √

0-65535

B

Count Value

Example:

Y021 (and the timer device T.003) is turned OFF 1 second after X000 came ON.

Advertising