EasyManuals Logo

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #211 background imageLoading...
Page #211 background image
5.8 Functions of Time Data Type
5.8.2 Subtraction
5-177
5
APPLICATION
FUNCTIONS
SUB_TIME(_E)
SUB_TIME(_E)
Operation Error
No operation error occurs in the execution of the SUB_TIME(_E) function.
Program Example
The program which performs subtraction ( ) on time type data input to and , and
outputs the operation result from in time type.
(a) Function without EN/ENO (SUB_TIME)
[Structured ladder]
[ST]
g_time3:= SUB_TIME(g_time1, g_time2);
(b) Function with EN/ENO (SUB_TIME_E)
[Structured ladder]
[ST]
g_bool3 := SUB_TIME_E(g_bool1, g_time1, g_time2, g_time3);
s1
s2
s1
s2
d

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals