4 other functions, 1 counter function (counter), Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 235: Format „ parameter

Advertising
background image

2 Standard System Function

2.4.1 Counter Function (COUNTER)

2-42

2.4 Other Functions

2.4.1 Counter Function (COUNTER)

„

Outline

Increments or decrements the current value when the count up/down command (Up-Cmd,
Down-Cmd) changes from OFF to ON.

When the counter reset command (Reset) becomes ON, the current counter value is set to 0.
Also, the current counter value and the set value are compared and the comparison result is
output.

* The current value will not be incremented neither decremented if a

counter error (current value > set value) occurs.

„

Format

„

Parameter

Symbol: COUNTER
Full Name: Counter
Category: SYSTEM
Icon:

I/O

Definition

Parameter

Name

I/O

Designation

Setting

Input

Up-Cmd

B-VAL

Count up command (OFF

→ON)

Data area for counter
process
1: Set value
2: Current value
3: Work flag

Down-Cmd

B-VAL

Count down command (OFF

→ON)

Reset

B-VAL

Counter reset command

Cnt-Data

Address in-
put

Head address of data area for counter pro-
cess (MW or DW register)

Output

Cnt-Up

B-VAL

Becomes ON when current counter value

= set value.

Cnt-Zero

B-VAL

Becomes ON when current counter value

= 0.

Cnt-Err

B-VAL

Becomes ON when current counter value > set value.

Advertising
This manual is related to the following products: