
5.3 Numeric Operation Instructions
5.3.12 Add Time (TMADD)
5-45
( 3 ) Programming Example
The following table gives typical conditions for creating ladder programming that uses the TMADD instruction. The
examples show time data A before instruction execution, and the add time.
In the following programming example, the time data is added to the time under the above conditions and the resulting
time data is stored.
The result of adding the add time to the value of time data A before instruction execution is shown below.
Time Time Data A before Execution of Instruction Add Time
Hour/minutes
MW00000 = 0210 hex
(2:10)
MW00002 = 0050 hex
(0 hours 50 minutes)
Seconds
MW00001 = 0050 hex
(50 seconds)
MW00003 = 0020 hex
(20 seconds)
Time Time Data A after Execution of Instruction
Hour/minutes
MW00000 = 769 = 0301 hex
(3:01)
Seconds
MW00001 = 16 = 0010 hex
(10 seconds)
Comentarios a estos manuales