
COOLMAY EX3G PLC/HMI All in one Programming manual
20
6. Special function instructions
Mnemonic
FNC No.
Function
Support
SQR
48
Square Root
★
ESQR
127
Floating Point Square Root
★
EXP
124
Floating Point Exponent
★
LOGE
125
Floating Point Natural Logarithm
★
LOG10
126
Floating Point Common Logarithm
★
SIN
130
Floating Point Sine
★
COS
131
Floating Point Cosine
★
TAN
132
Floating Point Tangent
★
ASIN
133
Floating Point Arc Sine
★
ACOS
134
Floating Point Arc Cosine
★
ATAN
135
Floating Point Arc Tangent
★
RND
184
Random Number Generation
★
7. Rotate instructions
Mnemonic
FNC No.
Function
Support
ROR
30
Rotation Right
★
ROL
31
Rotation Left
★
RCR
32
Rotation right With Carry
★
RCL
33
Rotation Left with Carry
★
8. Shift instructions
Mnemonic
FNC No.
Function
Support
SFTR
34
Bit Shift Right
★
SFTL
35
Bit Shift Left
★
SFR
213
Bit Shift Right with Carry
★
SFL
214
Bit Shift Left with Carry
★
WSFR
36
Word Shift Right
★
WSFL
37
Word Shift left
★
SFWR
38
Shift Write [FIFO/FILO Control]
★
SFRD
39
Shift Read [FIFO Control]
★
POP
212
Shift Last Data Read [FILO Control]
★
9. Data operation instructions
Mnemonic
FNC No.
Function
Support
ZRST
40
Zone Reset
★
DECO
41
Decode
★
ENCO
42
Encode
★
MEAN
45
Mean
★
WSUM
140
Sum of Word Data
★
SUM
43
Sum of Active Bits
★
BON
44
Check Specified Bit Status
★