397
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
9.2.2 Details of Commands
“SEND” described in this chapter indicates the commands given from external devices to PV500. On the other
hand, “Receive” indicates the responses for the sent commands from PV500 to external devices.
About Block Check Code(BCC)
All command messages are added with a block check code, which checks an error using horizontal parity to
improve reliability of transmission data. This manual describes a block check code as “BBC”.
As a block check code of PV500, a code that is given by removing a terminal code from Exclusive OR (8-bit) of
a command message and converting it into ASCII code (two letters) is used.
If you do not employ block check, add it to “**” (2AH2AH) instead of a block check code.
Example)
When reading execution time
Command message
%
P
R
S
Y
S
_
T
I
M
E
1
25H 50H 52H 20H 53H 59H 53H 5FH 54H 49H 4DH 45H 31H
Obtain Exclusive OR
25H
Command message including BBC
%
P
R
S
Y
S
_
T
I
M
E
1
2
5
CR
BCC
About Response at Error
When sending a command message from the external device, an error response message containing 3-digit
error code may be returned. This message is returned when the sent command is wrong or PV500 cannot
receive the command.
The response differs depending on commands except the following common responses. Refer to the
descriptions of each command.
Error Response Message Common to Commands
% !
1 0 0
BCC
CR
•
This message is sent when Block Check Code (BCC) error occurred or an undefined command
(unrecognizable command) is received.
•
ERROR 1 signal turns on.
% !
1 1 0
BCC
CR
•
Receive buffer overflow of PV500. This might occur when inputting multiple commands in a row from
the external device to PV500. If you receive this error response, decrease commands to send to
PV500.
•
ERROR 1 signal turns on.
Содержание PV-500
Страница 1: ......
Страница 10: ......
Страница 11: ...9 Names and Descriptions Chapter 1 INDEX Chapter 1 Names and Descriptions ...
Страница 21: ...19 Installation and Wiring Chapter 2 INDEX Chapter 2 Installation and Wiring ...
Страница 37: ...35 Basic Operation Chapter 3 INDEX Chapter 3 Basic Operation ...
Страница 55: ...53 Setting Inspection Conditions Chapter 4 INDEX Chapter 4 Setting Inspection Conditions ...
Страница 315: ...313 Setting of Operation and RUN Menu Chapter 5 INDEX Chapter 5 Setting of Operation and RUN Menu ...
Страница 331: ...329 Environment Settings Chapter 6 INDEX Chapter 6 Environment Settings Changing System Settings ...
Страница 345: ...343 Chapter 7 Changing Configuration INDEX Chapter 7 Changing Configuration TOOL ...
Страница 375: ...373 Operation and Data Output through I O Terminals Chapter 8 INDEX ...
Страница 390: ......
Страница 391: ...389 Control with Communication Port Chapter 9 INDEX Chapter 9 Control with Communication Port ...
Страница 430: ......
Страница 431: ...429 PVWIN Chapter 10 INDEX Chapter 10 PVWIN ...
Страница 437: ...435 Chapter 11 Specifications and List of Product Numbers INDEX Chapter 11 Specifications and List of Product Numbers ...
Страница 493: ......
Страница 494: ......