Functions Of Time Data Types; Add_Time(_E) - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
5.9

Functions Of Time Data Types

5.9.1

ADD_TIME(_E)

Outline
This function adds time data.
1. Format
Function name
ADD_TIME
ADD_TIME_E
*1.
Output variable
2. Set data
Variable
EN
Input
_IN1 (
variable
_IN2 (
ENO
Output
variable
*1
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
This function performs addition (
outputs the operation result expressed as time data to devices specified in
198
FX
3U(C)
Expression in each language
Structured ladder
ADD_TIME
Label 1
_IN1
Label 2
_IN2
X000
ADD_TIME_E
EN
Label 1
_IN1
Label 2
_IN2
Execution condition
Head word device which stores time data to get addition
)
s1
Head word device which stores addition time data
)
s2
Execution status
Head word device which will store the operation result
(
)
d
+
s1
s2
FX
FX
FX
3G
2N(C)
ADD_TIME(_IN1,_IN2);
Example:
*1
Label 3
Label 3:=
ADD_TIME(Label 1,Label 2);
ADD_TIME_E(EN,_IN1,_IN2,
Output label);
Example:
ENO
ADD_TIME_E(X000,Label 1,
*1
Label 3
Label 2,Label 3);
Description
) of time data stored in devices specified in
5.9 Functions Of Time Data Types
FX
FX
/FX
1N(C)
1S
U
2C
ST
Bit
Time
Time
Bit
Time
.
d
FX
FX
0N
0(S)
Data type
and
, and
s1
s2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents