3 CPU MODULE INSTRUCTION
3.3 Application Instruction
79
3
■
Adding 16-bit data
■
Adding 32-bit data
■
Calculating the mean value of 16-bit/32-bit data
■
Calculating the square root of 16-bit/32-bit data
■
CRC calculation
Indirect address read instruction
■
Reading the indirect address
Instruction symbol
Description
Reference
WSUM
These instructions add the (n) points of 16-bit binary data in the device starting from the one
specified by (s), and store the result in the device specified by (d).
WSUM_U
WSUMP
WSUMP_U
Instruction symbol
Description
Reference
DWSUM
These instructions add the (n) points of 32-bit binary data in the device starting from the one
specified by (s), and store the result in the device specified by (d).
DWSUM_U
DWSUMP
DWSUMP_U
Instruction symbol
Description
Reference
MEAN
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).
MEANP
MEAN_U
MEANP_U
DMEAN
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).
DMEANP
DMEAN_U
DMEANP_U
Instruction symbol
Description
Reference
SQRT
SQRTP
DSQRT
DSQRTP
Instruction symbol
Description
Reference
CRC
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).
CRCP
Instruction symbol
Description
Reference
ADRSET
(1): Indirect address of the specified device
(2): Device name
ADRSETP
(s)
(d)
(s)+1,(s)
(d)+1,(d)
(s)
(d)
(1)
(2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......