EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 350

Mitsubishi Electric CR760-D
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-330 Detailed explanation of Robot Status Variable
4MELFA-BASIC V
M_DIn/M_DOut
[Function]
This is used to write or reference the remote register of CC-Link (optional). Cannot use in CR7xx-Q series.
M_DIn: References the input register.
M_DOut: Writes or reference the output register.
[Format]
[Terminology]
<Numeric Variable> Specifies the numerical variable that assigns the CC-Link register value.
<Equation 1> Specifies the CC-Link register number (6000 or above).
<Equation 2> Specifies the CC-Link register number (6000 or above).
[Reference Program]
1 M1=M_DIn(6000) ' M1 will contain the CC-Link input register value.
' (If CC-Link station number is 1.)
2 M1=M_DOut(6000) ' M1 will contain the CC-Link output register value.
3 M_DOut(6000)=100 ' Writes 100 to the CC-Link output register.
[Explanation]
(1) For details, refer to the "CC-Link Interface Instruction Manual."
(2) Signal numbers in 6,000's will be used for CC-Link.
(3) M_DIn is read-only.
Example)<Numeric Variable>=M_DIn (<Equation 1>)
Example)<Numeric Variable>=M_DOut (<Equation 2>)

Table of Contents

Related product manuals