Yaskawa MP930 User Manual

Page 312

Advertising
background image

Command List

B -10

Type

Description

Abbreviated
Instructions

Symbol

Name

Numeric
Operation
Instructions

INTEGER ENTRY

;

Starts an integer operation.
⊦ MW00280 + 00100 ⇒ MW00220

Instructions

REAL NUMBER
ENTRY

;;

Starts a real number operation.

MW00280 + 00100 ⇒ MW00220

STORE

:

Stores the operation result in the designated register.

ADDITION

+

+

Ordinary numeric addition (with operation error)
⊦ MW00280 +00100 ⇒ MW00220

SUBTRACTION

Ordinary numeric subtraction (with operation error)
⊦ MW00280 −00100 ⇒ MW00220

EXTENDED
ADDITION

++

++

Closed numeric addition (without operation error)
0 → 32767 → −32768 → 0

EXTENDED SUB-
TRACTION

− −

− −

Closed numeric subtraction (without operation error)
0 → 32768 → −32767 → 0

MULTIPLICA-
TION

×

*

For integer and double integers, use × and ÷ in combination.

DIVISION

÷

/

MOD

MOD

MOD

Gets the remainder of the division result.
⊦ MW00100 × 0100 ÷ 00121

MOD

⇒ MW00101

REM

REM

REM

Gets the remainder of the division result.
MF00200 REM 1.5 ⇒ MF00202

INCREMENT

INC

INC

Adds 1 to the designated register.
INC MW00100

DECREMENT

DEC

DEC

Subtracts 1 from the designated register.
DEC MW00100

ADD TIME

TMADD

TMADD

Addition of hours, minutes, and seconds
TMADD MW00000, MW00100

SUBTRACT TIME TMSUB

TMSUB

Subtraction of hours, minutes, and seconds
TMSUB MW00000, MW00100

SPEND TIME

SPEND

SPEND

Calculates the elapsed time between two times.
SPEND MW00000, MW00100

B

Advertising