EasyManua.ls Logo

Mitsubishi Electric CR750-Q - Page 322

Mitsubishi Electric CR750-Q
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-302 Detailed explanation of command words
4MELFA-BASIC V
Wth (With)
[Function]
A process is added to the interpolation motion.
[Format]
[Terminology]
<Process> Describe the process to be added. The commands that can be described are as follow.
1. <Numeric type data B> <Substitution operator><Numeric type data A> [Substitute,
signal modifier command (Refer to Page 166, "4.9 Operators".)]
[Reference Program]
1 Mov P1 Wth M_Out(17)=1 Dly M1+2 ' Simultaneously with the start of movement to P1, the out-
put signal No. 17 will turn ON for the value indicated with
the numeric variable M1 + two seconds.
[Explanation]
(1) This command can only be used to describe the additional condition for the movement command.
(2) An error will occur if the Wth command is used alone.
(3) The process will be executed simultaneously with the start of movement.
(4) The relationship between the interrupts regarding the priority order is shown below.
Com > Act > WthIf(Wth)
Example) Mov P1 Wth[]<Process>

Table of Contents

Related product manuals