4-
69
4
Operation
10. “PROGRAM” mode
When registering function keys for I/O commands in “MANUAL” mode
*M_F<n>:’<character string>
<I/O statement 1>
<I/O statement 2>
<n> ............................... Function key number to be registered (n=1 to15)
<character string> ........ Character string to be assigned to the function key
(displayed on the screen).
<I/O statement 1> ........ Command statement to be executed when the key is
pressed.
<I/O statement 2> ........ Command statement to be executed when the key is
released.
Example)
*M_F2:’MOMENT ...... Character string “MOMENT” is assigned to the
F 2
key.
DO (20) =1 ................... DO (20) is turned ON when the
F 2
key is pressed.
DO (20) =0 ................... DO (20) is turned OFF when the
F 2
key is released.
*M_F14:’ALTER ......... Character string “ALTER” is assigned to the
F 14
key.
DO (20) =~DO (20) ..... DO (20) is highlighted when the
F 14
key is pressed.
In the above example, “ALTER” defines an “alternate” type function, and “MOMENT” a
“momentary” type function.
A <character string> of up to 65 characters can entered. However, up to 7 characters
following the colon ( : ) are displayed on the function key menu.
Fig. 4-10-32 Registering user functions
PROGRAM
>EDIT <FUNCTION>
1
*P_F2:’MOVE,P
2 *P_F8:’DELAY
3 *M_F2:’MOMENT
4 DO(20)=1
5 DO(20)=0
SELECT
COPY
CUT
PASTE
BS
———————————————————————————————————————————
1
2
3
7) When the registration is complete, press the
ESC
key.
n
NOTE
<I/O statement 2> may be omitted. If
omitted the <I/O statement 1>will be
executed when the key is pressed, but
nothing will be executed when
released.
n
NOTE
• In one “FUNCTION” program,
functions for program edit and I/O
functions in “MANUAL” mode can
be used together and defined.
• Besides the above method, user
functions can also be defined by the
next method.
1) “FUNCTION” can be made
automatically according to the
user function-defined sample
program registered in the unit.
(Refer to “10.3.9 Creating a
sample program
automatically”)
2) Rewrite the contents of the
“FUNCTION” program in the
“PROGRAM>EDIT” mode to
create desired user functions.
• When assignment was made to a
function key that has already been
assigned, the new assignment will
be valid.
Содержание RCX141
Страница 1: ...User s Manual ENGLISH E YAMAHA 4 AXIS ROBOT CONTROLLER E93 Ver 2 02 RCX141 ...
Страница 2: ......
Страница 16: ...viii MEMO ...
Страница 18: ...MEMO ...
Страница 24: ...1 6 MEMO ...
Страница 26: ...MEMO ...
Страница 34: ...2 8 MEMO ...
Страница 36: ...MEMO ...
Страница 54: ...3 18 MEMO ...
Страница 290: ...4 232 MEMO ...
Страница 292: ...MEMO ...
Страница 316: ...5 24 MEMO ...
Страница 318: ...MEMO ...
Страница 326: ...6 8 MEMO ...
Страница 328: ...MEMO ...
Страница 338: ...7 10 MEMO ...
Страница 340: ...MEMO ...
Страница 346: ...MEMO ...
Страница 401: ...MEMO ...