Application Instructions; Program Control; Data Processing - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2.3

Application Instructions

Program control

Program execution control instructions
■Disabling/enabling interrupt programs
Instruction symbol
Processing details
DI
Disables the execution of fixed scan execution type programs.
EI
Clears the fixed scan execution type programs execution disabled state.
Program control instructions
■Changing the program execution type to standby type
Instruction symbol
Processing details
PSTOP
Changes the type of the specified program to standby type.
■Changing the program execution type to scan execution type
Instruction symbol
Processing details
PSCAN
Changes the type of the specified program to normal execution type.

Data processing

Data processing instructions
■Adding 16-bit binary data
Instruction symbol
Processing details
WSUM
Adds the (n) points of 16-bit binary data in the device starting from the one specified by (s), and
stores the result in the device specified by (d).
WSUM_U
■Adding 32-bit binary data
Instruction symbol
Processing details
DWSUM
Adds the (n) points of 32-bit binary data in the device starting from the one specified by (s), and
stores the result in the device specified by (d).
DWSUM_U
■Calculating the mean value of 16-bit/32-bit binary data
Instruction symbol
Processing details
MEAN
Calculates the average value of the (n) points of 16-bit data in the device starting from the one
specified by (s), and stores the average value in the device specified by (d).
MEAN_U
DMEAN
Calculates the average value of the (n) points of 32-bit data in the device starting from the one
specified by (s), and stores the average value in the device specified by (d).
DMEAN_U
■Calculating the square root of 32-bit binary data
Instruction symbol
Processing details
DSQRT
Performs a square root operation of the specified 32-bit binary data.
√(s)+1, (s)→(d)
*1 When calculating the square root except 32-bit binary data, use SQRT of standard functions.
Page 167 SQRT
Reference
Page 94 DI, EI
Reference
Page 95 PSTOP
Reference
Page 96 PSCAN
Reference
Page 97 WSUM(_U)
Reference
Page 98 DWSUM(_U)
Reference
Page 99 MEAN(_U)
Page 100 DMEAN(_U)
Reference
*1
Page 101 DSQRT
2 MOTION SYSTEM INSTRUCTIONS
2.3 Application Instructions
2
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents