Format „ parameter, Program example – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 50

Advertising
background image

1 Ladder Program Instructions

1.2.13 SUBTRACT TIME Instruction (TMSUB)

1-40

„

Format

„

Parameter

* Possible to omit.

„

Program Example

The time data in DW0000 to DW0001 is subtracted to the time data in MW00100 to
MW00101.

8 hrs 40 min 32sec + 1 hrs 22 min 16 sec

= 7 hrs 18 min 16 sec

(MW00100) (MW00101) (DW00000) (DW00001) (MW00100) (MW00101)

Parameter Name

Setting

Source

• Any integer type register
• Any integer type register with subscript

Dest

• Any integer type register (except for # and C register)
• Any integer type register with subscript (except for # and C reg-

ister)

[Status]*

• Any bit type register (except for # and C register)
• Any bit type register with subscript (except for # and C register)

Time Data

Before Execution

After Execution

MW00100

0840H

0718H

MW00101

0032H

0016H

DW00000

0122H

0122H

DW00001

0016H

0016H

Symbol: TMSUB
Full Name: Time Sub
Category: MATH
Icon:

Advertising
This manual is related to the following products: