Instruction 34- decrement – Maple Systems MAPware-7000 User Manual

Page 70

Advertising
background image

MAPware-7000 Ladder Logic Guide

62

1010-1041 rev. 00

Instruction 34-

Decrement

Expression:

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

Function:

When the input is ON, the data of A is decreased by 1 and stored in A.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution

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

Operation

Data

√ √

Example:

At the rising edge of X005 changes from OFF to ON, the data of D0050 is decreased by 1 and
stored in D0050.

If the data of D0050 is 1022 before the execution, it will be 1021 after the execution.

Note:

There is no limit value for this instruction. When the data of operand A is -32768 before the
execution, it will be 32767 after the execution

Advertising