EasyManua.ls Logo

Mitsubishi Electric R16MTCPU - Start a Program: MVPST

Mitsubishi Electric R16MTCPU
354 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...
248
4 OPERATION CONTROL PROGRAMS
4.17 Vision System Dedicated Function
Start a program: MVPST
Setting data
Usable data
: Usable
Description, data type of result
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 image system, and making it an active job). And the status is changed to
on-line. Then, the job is executed if a trigger is issued, and the result is stored in the image data storage device set in the
vision program operation setting parameter.
The Motion SFC program execution transits to the next block without waiting for the process completion. After the job is
ended in the vision system and the sending of vision data (created by vision processing) by TCP/IP protocol is completed,
the status storage device value set in the Ethernet communication line setting parameter is 40 (Image data reception
completed). When the read value is set in the vision system parameters, the data is stored in the read value storage device,
and the status storage device value set in the Ethernet communication line setting parameter is 50 (value cell reception
completed).
When the job of the vision program No. specified with (S1) has been loaded to the vision system, the following process is
executed without reloading. The job is executed if a trigger is issued to the vision system, and the result is stored in the
image data storage device set in the vision program operation setting parameter.
(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 tag specified with reading value cell or the spreadsheet data is not an integer value.
The current process is not completed when the specified timeout time has elapsed.
Format Number of basic steps Usable steps
F/FS G
MVPST(S1), (S2) 8 
Setting
data
Usable Data
Bit
device
Word device Constant Calculation
expression
Bit
conditional
expression
Comparison
conditional
expression
16-bit
integer
type
32-bit
integer
type (L)
64-bit
floating
point
type (F)
16-bit
integer
type
(K/H)
32-bit
integer
type
(K/H, L)
64-bit
floating
point
type (K)
(S1) 
(S2) 
Setting data Description Data type of result
(S1) Vision program No. to start (1 to 128)
(S2) Timeout time until execution result is received from vision system (1 to 32767) [10ms]

Table of Contents

Other manuals for Mitsubishi Electric R16MTCPU

Related product manuals