Load A Program: Mvload - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Load a program: MVLOAD

Format
MVLOAD(S1), (S2)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
device
(S1)
(S2)
■Description, data type of result
Setting data
Description
(S1)
Vision program No. to load (1 to 128)
(S2)
Timeout time until the job loading completed (1 to 32767) [10ms]
Processing details
• The job of the vision program No. specified with (S1) is loaded to the vision system (The process of developing a job file
stored in the vision system into the memory in the vision system, and making it an active job). And the status is changed to
on-line.
• The Motion SFC program execution transits to the next block without waiting for the process completion. After process
completion, the status storage device value set in the Ethernet communication line setting parameter is 20 (reception
enabled). When the job loading is executed successfully and the vision system becomes online, the status storage device
value set in the vision program operation setting parameter specified with (S1) is 1 (Online after the job loading completed).
• When the job of the vision program No. specified with (S1) has been loaded to the vision system, the job is forced to reload.
When job contents have been changed by In-Sight
• (S2) is set in increments of 10ms. When the setting is omitted, the timeout time is 10 seconds (same as setting 1000). The
process time is changed according to job contents in the vision system. Set the timeout time according to the vision system
and the job contents.
Operation error
An operation error will occur if:
• The (S1) data is outside the range of 1 to 128.
• The (S2) data is outside the range of 1 to 32767.
• The vision system which is used in the vision program specified with (S1) has not been logged on.
• The vision system parameter setting is different from the setting on the vision system and the job.
• The job loading is not completed when the specified timeout time has elapsed.
Program example
■Program which loads the job of the vision program No.2
MVLOAD K2
4 OPERATION CONTROL PROGRAMS
246
4.17 Vision System Dedicated Function
Number of basic steps
8
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
Explorer, etc., save the job in advance to prevent from losing.
G
Calculation
Bit
expression
conditional
expression
Data type of result
Comparison
conditional
expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents