![Mitsubishi Electric CR800 Series Скачать руководство пользователя страница 146](http://html.mh-extra.com/html/mitsubishi-electric/cr800-series/cr800-series_instruction-manual_238852146.webp)
15 Maintenance of robot program
15-134 MELFA-BASIC V or MELFA-BASIC VI instruction
NVLoad(Network vision sensor load)
[Function]
Loads the specified vision program into the vision sensor.
[Format]
NVLoad□#<
Vision sensor number>,<Vision program (job) name>
[Term]
<Vision sensor number>
(Can not be omitted)
This specifies the number of the vision sensor to control.
Setting range:
1
- 8
<Vision program (job) name>
(Can not be omitted)
Specifies the name of the vision program to start.
The vision program extension (.job) can be omitted.
The only characters that can be used are "0" - "9", "A" - "Z", "a" - "z", "-", and "_".
[Sample sentence]
If M_NVOpen(1)<>1 Then 'If vision sensor number 1 log on is not complete
NVOpen “COM2:” As #1 'Connects with the vision sensor connected to COM2.
EndIf
Wait M_NVOpen(1)=1 ' Connects with vision sensor number 1 and waits for logon to be complete
d.
NVLoad #1,”TEST” 'Loads the "Test".
NVPst #1, ””,”E76”,”J81”,”L84”,0,10
'Receives the recognition count recognized with the "Test" program from the E76 cell and the recognition
results from cells J81 through L84, and stores them in P_NvS1().
・・・・
:
NVClose #1 'Cuts the line with the vision sensor connected to COM2.
[Explanation]
(1)
Loads the specified vision program into the specified vision sensor.
(2)
This command moves to the next step at the point in time when the vision program is loaded into the vision
sensor.
(3)
If the program is cancelled while this command is being executed, it stops immediately.
(4)
If the specified <vision program name> is already loaded, the command ends with no processing.
(5)
When this command is used with multi-tasking, it is necessary to execute the NVOpen command in the
task using this command. Also, use the <vision sensor number> specified with the NVOpen command.
(6)
A program start condition of "Always" and the continue function are not supported.
(7)
If an interrupt condition is es
tablished while this command is being executed, the interrupt processing is
executed immediately.
(8)
If data type for an argument is incorrect, a L4220
(syntax error in input command statement) error is
generated.
(9)
If there is an abnormal number of command arg
uments (too many or too few),
L3120 (
incorrect argument
count) error occurs.
(10)
If the <vision sensor number> is anything other than "1" through "8", L3110 (
argument out of range) error
occurs.
(11)
If the NVOpen command is not opened with the number specified as
the <vision sensor number>,
L8620
(abnormal vision sensor number specification) error occurs.
(12)
If the <vision program name> exceeds 15 characters, L8621 (
abnormal vision program name) error
occurs.
(13)
If a <vision program name> uses a character other than "0"
– "9", "A" – "Z", "-", or "_" (including lowercase
letters),
L8621 (
abnormal vision program name) error occurs.
(14)
If the program specified in the <vision program name> is not in the vision sensor, L8622 (
vision program
does not exist) error occurs.
(15)
If the vi
sion sensor is "offline",
L8650 (Put online
) error occurs, so put the vision sensor "Online".
(16)
If the communications line is cut while this command is being executed, an L8610 (
abnormal
communications) error occurs and the robot controller side line is closed.
Содержание CR800 Series
Страница 2: ......
Страница 12: ......
Страница 29: ...3 Specification Q173DPX manual pulser input unit specification 3 17 3 Specification of hardware 7 1ms ...
Страница 202: ...18 Appendix 18 190 Calibration sheet ...
Страница 203: ......
Страница 204: ...Apr 2020 MEE Printed in Japan on recycled paper Specifications are subject to change without notice ...