9
Program
 
9.  Program 
 
This section describes the details on the program used in this document.   
 
9.1.  Overview 
The following explains specifications and functions of the program that are used to check the 
connection between Sensor Controller (hereinafter referred to as Destination Device) and 
PLC (Serial Communications Unit (hereinafter referred to as SCU)).   
 
This program uses the protocol macro function of SCU to send and receive the "version 
information acquisition" command to/from Destination Device and to detect a normal end or 
an error end.   
A normal end of the send/receive processing means a normal end of the communications 
sequence.   
An error end means an error end of the communications sequence and an error of Destination 
Device (detected with the response data from Destination Device).   
 
Here, the "&" prefix is added to decimal data and the "#" prefix is added to hexadecimal data 
when it is necessary to distinguish between decimal and hexadecimal data. (e.g., "&1000" for 
decimal data and "#03E8" for hexadecimal data) 
 
 
OMRON has confirmed that normal communications can be performed using this program 
under 5.2. Device Configuration, however, we do not guarantee the normal operation under 
the disturbance such as electrical noise or the performance variation of the device.