EasyManua.ls Logo

LSIS XEC-DR32H - Page 218

LSIS XEC-DR32H
225 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
Loading...
Appendix 4 Insturction List
Appendix 4.1.6 Comparison Function
No.
Function name
Description (n can be extended up to 8)
Remarks
1
GT
‘Greater than’ comparison
OUT <= (IN1>IN2) & (IN2>IN3) & ... & (INn-1 > INn)
2
GE
‘Greater than or equal to’ comparison
OUT <= (IN1>=IN2) & (IN2>=IN3) & ... & (INn-1 >= INn)
3 EQ
‘Equal to’ comparison
OUT <= (IN1=IN2) & (IN2=IN3) & ... & (INn-1 = INn)
4
LE
'Less than or equal to' comparison
OUT <= (IN1<=IN2) & (IN2<=IN3) & ... & (INn-1 <= INn)
5 LT
‘Less than’ comparison
OUT <= (IN1<IN2) & (IN2<IN3) & ... & (INn-1 < INn)
6
NE
‘Not equal to’ comparison
OUT <= (IN1<>IN2) & (IN2<>IN3) & ... & (INn-1 <> INn)
Appendix 4.1.7 Character String Function
Appendix 4.1.8 Date and Time of Day Function
No.
Function name
Description
Remarks
1
LEN
Find a length of a character string
2
LEFT
Take a left side of a string (size of L) and output it
3
RIGHT
Take a right side of a string (size of L) and output it
4
MID
Take a middle side of a string (size of L from the P-th
character)
5
CONCAT
Concatenate the input character string in order
6
INSERT
Insert the second string after the P-th character of the first
string
7
DELETE
Delete a string (size of L from the P-th character)
8
REPLACE
Replace a size of L from the P-th character of the first string by
the second string
9 FIND
Find a starting point of the first string which has a same
pattern of the second string.
No.
Function name
Description
Remarks
1
ADD_TIME
Add time (Time/time of day/date and time addition)
2 SUB_TIME Subtract time (Time/time of day/date and time
subtraction)
SUB_DATE
Calculate time by subtracting date from date
SUB_TOD
Calculate time by subtracting TOD from TOD
SUB_DT
Calculate time by subtracting DT from DT
3
MUL_TIME
Multiply number to time
4
DIV_TIME
Divide time by number
5
CONCAT_TIME
Concatenate date to make TOD
App.4 - 8

Table of Contents

Related product manuals