Mitsubishi Electric Melsec Q Series Programming Manual page 228

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS
3) Data ranges are shown below.
Decimal representation
K-1.79E+308 to K-2.23E-308,
Data range
K0.0,
K2.23E-308 to K1.79E+308
4) A round-off error may be produced in a 64-bit floating-point type data
operation. Especially when using 64-bit floating-point type data in a
comparison operation, note that a round-off error may cause an intended
operation.
Example) In the following transition program, the result of the comparison
#100F=SQRT(#200F)
#300F=#100F #100F
#200F==#300F
(d) Bit data
The bit data is the data where a contact/coil or similar device is handled in
increments of 1 bit. It is used in device set (SET=) and device reset (RST=).
Example 1
SET M0
(e) Batch bit data
The batch bit data is the data where bit data is handled in increments of
16/32 points. It is used in device input (DIN) and device output (DOUT).
As indicated below, whether the bit data is handled in increments of 16 or
32 points is governed by the data type of the word device used as an input
destination/output source.
Program example
(Specified device No.) to
Used devices
M0 to M15 in the above program
example
H0000000000000000,
H0010000000000000 to H7FE1CCF385EBC89F,
H8000000000000000,
H8010000000000000 to HFFE1CCF385EBC89F
operation may not become true depending on the value of
#200F due to a round-off error.
Bit data
Increments of 16 points
DIN #0, M0
DOUT M0, D0
(specified device No.+15)
5 - 5
Hexadecimal representation
Increments of 32 points
DIN #0L, M0
DOUT M0, D0L
(Specified device No.) to
(specified device No.+31)
M0 to M31 in the above program
example

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents