Flow Of Vision System Control - Mitsubishi Electric MELSEC iQ-R16MTCPU Programming Manual

Melsec iq-r series motion controller
Hide thumbs Also See for MELSEC iQ-R16MTCPU:
Table of Contents

Advertisement

Flow of vision system control

This section explains the basic procedures for controlling the vision system from the Motion CPU.
Setting the vision system
Set the vision system network and create a job (vision program) using In-Sight
Setting the Motion CPU parameters
Set the Ethernet communication line setting and the vision program operation setting using MT Developer2. (Page 315
Vision system parameter setting)
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.
: Enable, : Disable
Data
Communication
acquisition
protocol
method
Image data
TCP/IP protocol
storage device
Read value
Telnet
storage device
MVIN instruction
Telnet
5.
Motion control is executed using the data acquired from the vision system.
6.
Reset the status storage device using the MVFIN instruction to issue the next trigger.
7.
If the job is not changed, repeat steps 3 to 6.
8.
If necessary, log off the control target vision system using the MVCLOSE instruction.
• If a different vision system dedicated function is executed for a vision system that is processing a vision
system dedicated function, moderate error (error code: 38EDH) will occur. Apply the interlock conditions
with the vision system's status storage device value to prevent double startup.
• Depending on the status of the vision system and details of the job process, it may take some time to
process the vision system dedicated function. Set the timeout time according to the state.
• When logged onto the vision system, the vision system or Multiple CPU system's power supply can be
turned OFF without logging off using the MVCLOSE instruction.
6 COMMUNICATION FUNCTIONS
324
6.5 Vision System Connection Function
Data
Output data type of
acquisition
vision system
time
Fast
Integer value
Floating point value
Integer value
Slow
Integer value
Floating point value
Explorer.
Storage data type to the device
64-bit floating point type (Automatic conversion)
32-bit integer type (Automatic conversion)
32-bit integer type (Automatic conversion)
64-bit floating point type (Automatic conversion)
Batch
acquisition of
multiple data

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r32mtcpu melsec iq-r64mtcpu

Table of Contents