Mitsubishi Electric Melsec Q Series Programming Manual page 359

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

Advertisement

5 OPERATION CONTROL PROGRAMS
[Errors]
[Program examples]
(3) 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.
The spreadsheet row (A to Z) and line (0 to 399) are arranged and written.
Setting with cell
(Example) When cell is A5, "A5" is set.
The Symbolic tag name is written in the original state.
Setting with tag
(Example) When tag is Job.Pass_count, "Job.Pass_count" is set.
(4) 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
(5) (S3) is set in increments of 10ms.
When the setting is omitted, the timeout time is 10 seconds (same as setting
1000).
(1) An operation error will occur if:
• The (S1) data is outside the range of 1 to 8.
• 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 (Refer to APPENDIX 3.2.) is different from
the setting on the vision system.
• The reading data is not completed when the specified timeout time has elapsed.
(1) 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
(2) 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
5 - 136
Number of points
Consecutive 2 points
Consecutive 4 points

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents