12 add time (tmadd), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 113

Advertising
background image

5.3 Numeric Operation Instructions

5.3.12 Add Time (TMADD)

5-44

5.3.12 Add Time (TMADD)

( 1 ) Operation

A duration (hours/minutes/seconds) is added to a time (hour/minutes/seconds). The add time is added to time data A
and the result is stored in time data A. Time data is two words long.

( 2 ) Format

∗ 1. Optional.
∗ 2. C and # registers cannot be used.

The time data is formatted as shown below.

If the operation result exceeds any of the data ranges given above, time data A is not updated, the seconds data is set to
9,999, and the status bit is set to 1 (ON).
If the operation result is within the ranges, the status bit is set to 0 (OFF).

Time data A

+

Hour Minutes Seconds

Add time

Hours Minutes Seconds

Time data A

Hour Minutes Seconds

2 words

2 words

2 words

Status

Time data A

Add time

Icon:

Key entry: TMADD

Parameter Name

Applicable Data Types

B

W

L

F

A

Index

Constant

Add time (Src)

×

{

*2

×

×

×

×

×

Time data A (Dest)

×

{

*2

×

×

×

×

×

Status (Sts)

*1

{

*2

×

×

×

×

×

×

Offset

Contents

Data Range (BCD)

0

Hour/minutes

Upper byte (hour): 00 to 23
Lower byte (minutes): 00 to 59

1

Seconds

0000 to 0059

Advertising
This manual is related to the following products: