Input Data: Mvin - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Input data: MVIN

Format
MVIN(S1), (S2), (D), (S3)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
device
(S1)
(S2)
(D)
(S3)
*1 Specify the start device which stores the character string data. The character string can be specified directly.
*2 Data is the same format as the job set in the vision system. (If the format is different, the data is converted to the type specified with (D).)
■Description, data type of result
Setting data
Description
(S1)
Vision system (camera) No. to which data will be read (1 to 32)
(S2)
Spreadsheet cell or tag to which data will be read
(D)
Device which will store the reading data
(S3)
Timeout time until data is read from vision system (1 to 32767) [10ms]
Processing details
• The numerical value of spreadsheet cell or tag specified with (S2) is stored in the device specified with (D) from the vision
system specified with (S1).
The minor error (SFC) (error code: 38F2H) will occur if data of spreadsheet cell or tag specified with (S2) is
not a numerical value (character string, etc.). Use MVCOM instruction (Refer to Page 256 Send a
command for native mode: MVCOM).
• 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).
• In (S2), write directly the spreadsheet cell or tag as a 32 one-byte character or less character string enclosed with double
quotation, or set the head of a device in which a 32 one-byte character or less character string is stored. Designation
methods of the character string are shown below.
Designation methods
Setting with cell
Setting with tag
4 OPERATION CONTROL PROGRAMS
250
4.17 Vision System Dedicated Function
Number of basic steps
15 or more
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
*1
*2
*2
Description
The spreadsheet row (A to Z) and line (0 to 399) are arranged and written.
(Example) When cell is A5, "A5" is set.
The Symbolic tag name is written in the original state.
(Example) When tag is Job.Pass_count, "Job.Pass_count" is set.
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
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