Mitsubishi Electric CR750-Q Instruction Manual page 372

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

Advertisement

4MELFA-BASIC V
M_Out/M_Outb/M_Out8/M_Outw/M_Out16
[Function]
Writes or references external output signal.
M_Out:Output signal bit.
M_Outb or M_Out8:Output signal byte (8 bits).
M_Outw or M_Out16:Output signal word (16 bits).
[Format]
Example)M_Out(<Numeric value 1>)=<Numeric value 2>
Example)M_Outb(<Numeric value 1>) or M_Out8(<Numeric value 1>)=<Numeric value 3>
Example)M_Outw(<Numeric value 1>) or M_Out16(<Numeric value 1>)=<Numeric value 4>
Example)M_Out(<Numeric value 1>)=<Numeric value 2> Dly <Time>
Example)<Numeric Variable>=M_Out(<Numeric value 1>)
[Terminology]
<Numeric value 1> Specify the output signal number. Supplementary explanation is shown in
<Numeric Variable>
<Numeric value 2>, <Numeric value 3>, <Numeric value 4>
<Time>
<Numeric Variable> Specifies the numerical variable to assign. Supplementary explanation is shown in
[Reference Program]
1 M_Out(2)=1
2 M_Outb(2)=&HFF
3 M_Outw(2)=&HFFFF
4 M4=M_Outb(2) AND &H0F
[Explanation]
(1) This is used when writing or referencing external output signals.
(2) Numbers 6000 and beyond will be referenced/assigned to the CC-Link (optional).
(3) Refer to
Page 216, "Dly (Delay)"
(4) 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
4-352 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.
Specifies the numerical variable to assign.
Describe the value to output by the numeric variable, the constant, or numerical
arithmetic expression.Supplementary explanation is shown in
Numerical range
<Numeric value 2>: 0 or 1 (&H0 or &H1)
<Numeric value 3>: -128 to +127 (&H80 to &H7F)
<Numeric value 4>: -32768 to +32767 (&H8000 to &H7FFF)
Describe the output time for the pulse output as a constant or numeric opera-
tion expression. Unit: [Seconds]
Table
4-28.
' Turn ON output signal 2 (1 bit).
' Turns ON 8-bits starting from the output signal 2.
' Turns ON 16-bits starting from the output signal 2.
' M4 will contain the 4-bit information starting from output signal 2.
for the explanation of pulse output.
Page 455, "SYNCIO"
Table
4-26.
Table
4-27.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents