Mitsubishi Electric CR750-Q Instruction Manual page 374

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

Advertisement

4MELFA-BASIC V
M_Out32
[Function]
Writes or references external output signal of 32-bit width as numerical value.
[Format]
Example)M_Out32(<Numeric value 1>)=<Numeric value>
Example)<Numeric Variable>=M_Out32(<Numeric value 1>)
[Terminology]
<Numeric value 1> Specify the output signal number. Supplementary explanation is shown in
<Numeric value>
<Numeric Variable> Specifies the numerical variable to assign. Supplementary explanation is shown in
[Reference Program]
1 M_Out32(10000)=P1.X * 1000
2 *ack_wait
3 If M_In(7)=0 Then *ack_wait
4 P1.Y=M_In32(10100)/1000.0
[Explanation]
(1) This is used when writing or referencing external output signal of 32-bit width as numerical value.
(2) The data is outputted to 32-bit width from the specified signal number.
(3) By high-speed mode setting of parameter: SYNCIO, the updating cycle to the external output signal can
be made speedy. However, always make interlock of signal to take synchronization. Because to make
the timing of the I/O signal correct. Refer to SYNCIO in
CAUTION
4-354 Detailed explanation of Robot Status Variable
(1)CR7xx-Q series
10000 to 18191: Multi-CPU share device
716 to 723: Multi-hand output.
900 to 907: Hand output.
(2)CR7xx-D series
0 to 255: Standard remote outputs.
716 to 723: Multi-hand output.
900 to 907: Hand output.
2000 to 5071: Input signal of PROFIBUS.
6000 to 8047: Remote input for CC-Link.
Describe the value to output by the numeric variable, the constant, or numerical arith-
metic expression. Supplementary explanation is shown in
Numerical range: -2147483648 to +2147483647 (&H80000000 to &H7FFFFFFF)
Table
4-31.
'Multiply X coordinate value of the P1 by 1000, and write to 32-bit
width from the output signal number 10000.(Integer)
'Wait until the input signal 7 turns on (interlock).
'The data of 32-bit width is inputted as a value from the input signal
10100, divide by 1000, and store it to Y element of position variable
P1.
(The example that at the external equipment side, the real number
multiplied by 1000 and converted into integer)
Always make interlock of signal to take synchronization. Failure to observe this
could lead to cause of malfunction by the signal transmitted incorrectly.
Table
Page 453, "5.2 Signal parameter"
Table
4-29.
4-30.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents