Mitsubishi Electric MELFA FR CR800 Series User Manual page 218

Industrial robots
Table of Contents

Advertisement

Hand macro functions
You can specify the macro names UMACA – UMACZ to the HANDTYPE parameters, by providing a subroutine
L_UMACA – L_UMACZ in the appropriate user base program (PRGUSR parameter). Run the hand macro open
and close operation from TB.
1. Parameter setting
2. Macro programing (User base program)
1 *L_UMACA ' Open Hand 1
2 M_Out (900) =1
3 M_Out (901) =0
4 Return
5 *L_UMACB ' Close Hand 1
6 M_Out (900) =0
7 M_Out (901) =1
8 Return
It is possible to describe signal output (e.g. M_Out (900) =1), variable assignment (e.g.
M_Data=1) and the timer (Dly 0.5) in a subroutine.
13-218
L_UMACA
subroutine is executed
on the open operation of the hand 1
L_UMACB
subroutine is executed
on the close operation of hand 1
Figure 13-15 Hand macro settings
HANDTYPE =
UMACA/UMACB,
13-218

Advertisement

Table of Contents
loading

Table of Contents