Send A Command For Native Mode : Mvcom - Mitsubishi Electric Melsec Q Series Programming Manual

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

Advertisement

5 OPERATION CONTROL PROGRAMS

5.15.9 Send a command for native mode : MVCOM

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S1)
(Note-2)
(S2)
(D)
(S3)
(S4)
[Setting data]
Setting data
[Functions]
MVCOM(S1), (S2), (D), (S3), (S4)
(Note-1)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(Note-1): Special register (SD) cannot be used.
(Note-2): Specify the start device which stores the character string data. The character string can be specified directly.
Vision system (camera) No. to which Native Mode command
(S1)
(S2)
Native Mode command character string
(D)
(S3)
Mode setting for return value conversion
Timeout time until data is read from vision system
(S4)
(1) Native Mode command specified with (S2) is sent to the vision system specified
with (S1), and the return value is stored in the device specified with (D) with the
format specified with (S3).
(2) The Motion SFC program execution transits to the next block without waiting for
the Native Mode command completion.
After process completion, the status storage device value set in the Ethernet
communication line setting parameter is 20 (reception enabled). (Refer to
APPENDIX 3.2.)
(3) Refer to the Cognex Corporation vision system manual and help sections, etc. for
details of Native Mode command specified with (S2).
In (S2), write directly the Native Mode command as a 99 one-byte character or
less character string enclosed with double quotation, or set the head of a device in
which a 191 one-byte character or less character string is stored.
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
will be sent (1 to 8)
Start device which stores return value
(1 to 32767) [ 10ms]
5 - 142
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
G
9 or more
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents