411
C
o
nt
rol
w
it
h C
om
m
uni
c
a
tion P
or
t
C
h
ap
te
r 9
INDE
X
Write Command
This is a command that changes the setting value of PV500. Writing is available only when being in RUN mode
and displaying RUN menu. For the information of writable data, refer to the next page.
When writing one of data (such as System Register, maximum
value, or minimum value)
Send
% P W
Parameter
=
Data
BCC
CR
Receive
% P W $
Parameter
BCC
CR
Error
(ERROR 1 signal = ON)
% P W !
Error code (3-digit)
BCC
CR
Example:
Writes the value “3.14” in System Register 0.
Send
% P W
S Y S : R E G 0 = 3
.
1 4
BCC
CR
Receive
% P W $ S Y S : R E G 0
BCC
CR
When writing two of data (such as maximum value and
minimum value)
Send
% P W P
Parameter
=
Data 1
,
Data 2
BCC
CR
Receive
% P W P $
Parameter
BCC
CR
Error
(ERROR 1 signal = ON)
% P W P !
Error code (3-digit)
BCC
CR
Example:
Writes a maximum value of “100” and a minimum value of “50” in Numerical Calculation
No.10. CACnnn:LPAIR
Parameter for changing the maximum and minimum values in Numerical Calculation
"CACnnn:LPAIR"
Send
% P W P C A C 0 1 0
:
L
P
A I
R
=
5
0
,
1
0
0
BCC CR
Minimum
Maximum
Receive
% P W P $ C A C 0 1 0
:
L
P
A
I
R
BCC CR
Error codes for Write command
200
Operation is stopped.
251
Although PV500 is operating (RUN), displaying SETUP menu cannot write.
251
Specification of the parameter is wrong. (Undefined parameter is specified.)
252
• The specified parameter does not exist. (e.g. The number of uncreated checker is specified as a
parameter.)
• The specified parameter value is out of the settable range. (e.g. Maximum value of slice level is
being set to over 256.)
• The specified values led to the status of “Maximum value < Minimum value” when entering them.
• (When specifying the moving distance of marker)
A part of the circumscribing rectangle of the marker (the intersection point when Shape is
Cross line) after move was out of the nine screens where checker area is settable.
254
The number of write commands received by PV500 exceeds the receivable number when executing
one inspection.
Summary of Contents for PV-500
Page 1: ......
Page 10: ......
Page 11: ...9 Names and Descriptions Chapter 1 INDEX Chapter 1 Names and Descriptions ...
Page 21: ...19 Installation and Wiring Chapter 2 INDEX Chapter 2 Installation and Wiring ...
Page 37: ...35 Basic Operation Chapter 3 INDEX Chapter 3 Basic Operation ...
Page 55: ...53 Setting Inspection Conditions Chapter 4 INDEX Chapter 4 Setting Inspection Conditions ...
Page 345: ...343 Chapter 7 Changing Configuration INDEX Chapter 7 Changing Configuration TOOL ...
Page 375: ...373 Operation and Data Output through I O Terminals Chapter 8 INDEX ...
Page 390: ......
Page 391: ...389 Control with Communication Port Chapter 9 INDEX Chapter 9 Control with Communication Port ...
Page 430: ......
Page 431: ...429 PVWIN Chapter 10 INDEX Chapter 10 PVWIN ...
Page 493: ......
Page 494: ......