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 Oriental Motor Driver (hereinafter referred to as Destination Device) and
PLC (Serial Communications Unit (hereinafter referred to as SCU)).
This program performs Modbus-RTU communication by the CMND instruction (by using the
Serial Gateway function for SCU) to send and receive the command for reading "Direct I/O
and electromagnetic brake status" and detects a normal end or an error end.
A normal end of the send/receive processing means a normal end of the CMND instruction.
An error end means an error end of the CMND instruction 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.