Vision System Dedicated Function; Open Line: Mvopen - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

4.17

Vision System Dedicated Function

Open line: MVOPEN

Format
MVOPEN(S1), (S2)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
Word device
device
16-bit
integer
type
(S1)
(S2)
■Description, data type of result
Setting data
Description
(S1)
Vision system (camera) No. to log on (1 to 32)
(S2)
Timeout until vision system logon is completed (1 to 32767) [10ms]
Processing details
• The vision system specified with (S1) is logged on.
• The Motion SFC program execution transits to the next block without waiting for the completion on the vision system logon.
After process completion, the status storage device value set in the Ethernet communication line setting parameter is 20
(reception enable).
• (S2) is set in increments of 10ms. When the setting is omitted, the timeout time is 10 seconds (same as setting 1000).
Operation error
An operation error will occur if:
• The (S1) data is outside the range of 1 to 32.
• The (S2) data is outside the range of 1 to 32767.
• MVOPEN is executed again for the vision system that has been logged on.
• The vision system parameter setting is different from the setting on the vision system.
• The logon is not completed when the specified timeout time has elapsed.
Program example
■Program which logs on the vision system of the vision system (camera) 3
MVOPEN K3
Number of basic steps
8
Constant
32-bit
64-bit
16-bit
integer
floating
integer
type (L)
point
type
type (F)
(K/H)
Usable steps
F/FS
Calculation
expression
32-bit
64-bit
integer
floating
type
point
(K/H, L)
type (K)
4 OPERATION CONTROL PROGRAMS
4.17 Vision System Dedicated Function
G
Bit
Comparison
conditional
conditional
expression
expression
Data type of result
245
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents