Mitsubishi Electric R16MTCPU Programming Manual page 253

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

• The numerical value read from the vision system is stored with the following format.
Numerical data format of spreadsheet cell or tag
Integer value
Floating-point value
• (S3) 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 number of character string of spreadsheet cell or tag specified with (S2) outside the range of 1 to 32 bytes.
• The spreadsheet cell or tag specified with (S2) does not exist.
• The data of spreadsheet cell or tag specified with (S2) is not a numerical value.
• The (S3) data is outside the range of 1 to 32767.
• The vision system specified with (S1) has not been logged on.
• The vision system parameter setting is different from the setting on the vision system.
• The reading data is not completed when the specified timeout time has elapsed.
Program example
■Program which stores the numerical value stored in the tag "pattern_1.fixture.score" of the
vision system (camera) 1 to D3000 or later
MVIN K1, "pattern_1.fixture.score", D3000F
■Program which stores the numerical value from the tag indicated by a character string stored
in D100 or later, to D2000 or later for the vision system (camera) 3
MVIN K3, D100, D2000L
Data format stored in (D)
32-bit integer value type
64-bit floating-point type
Number of points
Consecutive 2 points
Consecutive 4 points
4 OPERATION CONTROL PROGRAMS
4.17 Vision System Dedicated Function
4
251

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents