5Functions set with parameters
(5) Description of the Robot Status Variable
Explains the outline of the Robot Status Variable to
"4.14.2 Explanation of Each Robot Status Variable"
Table 5-46:Related Robot Status Variable
Variable
name
M_XDev
Reads the sequencer input signal (X) per bit.
ex.) 1 M1%=M_XDev (1)
M_XDevB
Reads the sequencer input signal (X) per byte.
ex.) 1 M2%=M_XDevB(&H10)
M_XDevW
Reads the sequencer input signal (X) per word.
ex.) 1 M4%=M_XDevW(&H20)
M_XDevD
Reads the sequencer input signal (X) per double word.
ex.) 1 M5&=M_XDevD(&H100)
M_YDev
Reads/Writes the sequencer output signal (Y) per bit.
ex.) 1 M_YDev(2)=1 Dly 0.5
M_YDevB
Reads/Writes the sequencer output signal (Y) per byte.
ex.) 1 M_YDevB(&H10)=&HFF
M_YDevW
Reads/Writes the sequencer output signal (Y) per word.
ex.) 1 M_YDevW(&H20)=&HFFFF
M_YDevD
Reads/Writes the sequencer output signal (Y) per double word.
ex.) 1 M_YDevD(&H100)=P1.X * 1000 ' Outputs the multiplication result value of X coordinate
6-548 Sequencer input/output unit direct control
Table
5-46. Refer to each description page of
for details.
Details
' The value of the sequencer input signal 1 (1 or 0) is sub-
stituted to M2.
' The value of 8-bit width from 10 (hexadecimal number)
of sequencer input signals is substituted to M2.
' The value of 16-bit width from 20 (hexadecimal number)
of sequencer input signals is substituted to M4.
' The value of 32-bit width from 100 (hexadecimal num-
ber) of sequencer input signals is substituted to M5.
'Turns on the sequencer output signal 2 for the 0.5 sec-
onds (pulse output).
'Turns on the 8-bit width from 10 (hexadecimal number)
of sequencer output signals.
' Turns on the 16-bit width from 20 (hexadecimal number)
of sequencer output signals.
value of the position variable P1 by 1000 to 32-bit width
from 100 (hexadecimal number) of sequencer output
signals.
Page 311,
Reference
page
Page 377
Page 377
Page 377
Page 377
Page 379
Page 379
Page 379
Page 379