![background image](http://html.mh-extra.com/html/omron/v400-r2-series/v400-r2-series_connection-manual_741434045.webp)
9. Program
42
9. Program
This section describes the details on the program and the protocol macro data used in this
document.
9.1. Overview
This section explains the specifications and functions of the program and the protocol macro
data that are used to check the connection between the Code Reader (hereinafter referred to
as the destination device) and the Controller (Serial Communications Unit) (hereinafter
referred to as the Serial Communications Unit).
This program and protocol macro data use the protocol macro function of the Serial
Communications Unit to send/receive the Reading Trigger command to/from the destination
device and to detect whether the operation ends normally or ends in an error.
A normal end of this program means a normal end of the communications sequence of the
protocol macro.
An error end means an error end of the communications sequence of the protocol macro.
In this section, the prefix "10#" (possible to omit) is added to decimal data and the prefix "16#"
to hexadecimal data when it is necessary to distinguish between decimal and hexadecimal
data. (e.g., "1000" or "10#1000" for decimal data and "16#03E8" for hexadecimal data, etc.)
Also, to specify a specific data type, the prefix "<data type>#" is added. (e.g.,
"WORD#16#03E8")
Additional Information
OMRON has confirmed that normal communications can be performed using this program
and protocol macro data under the OMRON evaluation conditions including the test system
configuration, version and product lot number of each device which was used for evaluation.
OMRON does not guarantee the normal operation under the disturbance such as electrical
noise or the performance variation of the device.
Содержание V400-R2 Series
Страница 57: ...9 Program 54 3 PMCR communications processing ...
Страница 58: ...9 Program 55 4 Processing number error process ...