Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 76

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

■Calculating the mean value of 16-bit/32-bit data
Instruction symbol
MEAN
MEANP
MEAN_U
MEANP_U
DMEAN
DMEANP
DMEAN_U
DMEANP_U
■Calculating the square root of 16-bit/32-bit data
Instruction symbol
SQRT
SQRTP
DSQRT
DSQRTP
■CRC calculation
Instruction symbol
CRC
CRCP
File register operation instruction
■Reading the indirect address
Instruction symbol
ADRSET
ADRSETP
Clock instruction
■Reading clock data
Instruction symbol
TRD
TRDP
■Writing clock data
Instruction symbol
TWR
TWRP
2 CPU MODULE INSTRUCTION
74
2.3 Application instruction
Description
These instructions calculate the mean value of (n) points (16-bit binary data) in the devices starting
from the one specified by (s), and store the result in the device specified by (d).
These instructions calculate the mean value of (n) points (32-bit binary data) in the devices starting
from the one specified by (s), and store the result in the device specified by (d).
Description
(s)
 (d)
(s)+1,(s)
 (d)+1,(d)
Description
This instruction generates a CRC value for (n) 8-bit data (unit: byte) starting from the device
specified by (s), and stores the CRC value to (d).
Description
(s)
(d)
Indirect address of the specified device
Device name
Description
(Clock element)
(d)+0
Year
+1
Month
+2
Day
+3
Hour
+4
Minute
+5
Seconds
+6
Day of week
Description
(d)+0
(Clock element)
Year
+1
Month
+2
Day
+3
Hour
+4
Minute
+5
Seconds
+6
Day of week
Reference
Page 570
Page 571
Reference
Page 572
Page 573
Reference
Page 574
Reference
Page 577
Reference
Page 579
Reference
Page 581

Advertisement

Table of Contents
loading

Table of Contents