Appendix 3.3 Flow Of Vision System Control - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

APPENDICES

APPENDIX 3.3 Flow of vision system control

Data acquisition
Communication
method
protocol
Image data
TCP/IP protocol
storage device
Read value
Telnet
storage device
MVIN instruction
Telnet
MC protocol
MC protocol
(Note-1): Convert to the 64-bit floating point type using the DFLT instruction to use with operation of Motion SFC.
(Note-2): Use the MVCOM instruction (ASCII mode) to acquire the character string data without using MC protocol.
This section explains the basic procedures for controlling the vision system from the
Motion CPU.
(1) Setting the vision system
Set the vision system network and create a job (vision program) using In-Sight
Explorer.
(2) Setting the Motion CPU parameters
Set the Ethernet communication line setting and the vision program operation
setting using MELSOFT MT Works2. (Refer to Appendix 3.2.)
(3) Controlling the vision system with vision system dedicated
functions of Motion SFC
1) Log onto the control target vision system using the MVOPEN instruction.
2) Load the job (vision program) to be used using the MVLOAD instruction.
3) Issue a trigger to the vision system using the MVTRG instruction or vision
system's image acquire trigger input.
When the MVPST instruction is used, the job can be loaded and the trigger
issued simultaneously.
4) When the vision system finishes executing the job, the job execution results
are stored into the device set with the parameters (image data storage device
and read value storage device) of Motion CPU.
In addition to the above procedure, data can be acquired from the vision system
using the MVIN instruction or MC protocol.
Select the method that suits the required data acquisition time or data type.
Data acquisition
time
Fast
Slow
Output data type of
Storage data type to the device
vision system
Integer value
64-bit floating point type
(Automatic conversion)
Floating point value
32-bit integer type
Integer value
(Automatic conversion)
32-bit integer type
Integer value
(Automatic conversion)
64-bit floating point type
Floating point value
(Automatic conversion)
16-bit integer type or 32-bit integer
Integer value
type
(According to vision system output)
Floating point value
32-bit floating point type
Character string
Character string
APP - 57
Batch acquisition
of multiple data
(Note-1)
(Note-2)
: Enable
: Disable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents