Mitsubishi Electric CR750-Q Instruction Manual page 352

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

4MELFA-BASIC V
M_DOut32
[Function]
Outputs 32-bit data to an external device via the CC-Link register. Alternatively, checks the current output
information.
[Format]
Reference
Example)<Numeric Variable>=M_DOut32 (<Equation/Inputting register number>)
Write
Example)M_DOut32 (<Equation/Inputting register number>)=<Numeric Variable>
[Terminology]
<Numeric Variable>
<Equation/Inputting register number> The range of CC-Link register numbers that can be specified is
<Numeric>
[Reference Program]
1 M_DOut32(6000)=&H12345678
2 M1&=M_DOut32(6002) And &H7FFFF
[Explanation]
(1) The specified 32-bit data is output to two points from the specified CC-Link register number.
(2) The current information (32-bit data) output to two points is obtained from the specified CC-Link register
number.
(3) Use a long-precision integer number variable for <Numeric Variable> and <Numerical Value>. If any
other variable is used, the information may not be processed.
(4) Specify a CC-Link register number between 6000 and 6254. If a number outside the range is specified,
an all-zero value will be returned when referenced and no processing will be performed when written,
resulting in no error being generated. However, if a minus value is specified, error L3110 will be gener-
ated.
(5) By setting the SYNCIO parameter to the high-speed mode, the updating cycle of the register output can
be sped up. It is recommended to use high-speed mode with signals interlocked for synchronization in
order to keep the timing of the I/O signals correct.
(6) When the specified register number is not occupied by a robot, although data is displayed on the output
register monitor, such as RT ToolBox2, as output information, the data is not actually output via the CC-
Link. When the last register occupied is specified, although data is displayed on the monitor as output
information, only the information of the last register occupied (lowest 16 bits) is output.
(7) The pulse output which combines the Dly command cannot be used. If the Dly command is used, error
L4220 (syntax error) occurs.
(8) When data is output to a register number assigned to the dedicated output of the DIODATA and SVDATA
parameters, error L0091 (signal already assigned to dedicated output) will occur.
4-332 Detailed explanation of Robot Status Variable
Specifies a long-precision integer number variable to be substi-
tuted.
from 6000 to 6254.
Specifies the data to be output.
The range of the numerical value is from -2147483648 to
2147483647 (&H80000000 to &H7FFFFFFF).
' Outputs 12345678 in hexadecimal notation to CC-Link
register number 6000 and 6001.
&H4567 will be output to register number 6000, and
&H1234 will be output to 6001.
' The lowest 19-bit value from the 32-bit data output to CC-
Link register number 6002 and 6003 will be assigned to
M1&.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents