Initial Communications Test - Omron SYSMAC CV Series Operation Manual

Host link system, unit
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Initial Communications Test

4-1

Initial Communications Test

1, 2, 3...
Communications Test Program
Host Computer and PC
48
Prior to actual communications between the PC(s) and host computer, check
the system by following the steps listed below.
1. Check the settings of the DIP switches and selectors.
2. Make sure the baud rate, interface, and data formats match between the
Unit(s) and the host computer.
3. Check the connections between the Unit(s) and the host computer.
4. Turn on power to the Unit(s), host computer, and any Link Adapters or Opti-
cal Interfaces in the System. If an error occurs, check all connections and
settings again and correct the error before continuing.
5. If the Units are ready, prepare and execute a test from the host computer.
There are two test methods that can be used:
• Test program: Write a simple test program at the host computer. A sam-
ple program is provided in the next subsection.
• Terminal mode: Input commands directly from the host computer in the
terminal mode and check the response.
If the test is completed successfully, the system is operational.
Note
1. Input commands carefully at the host computer when using Terminal Mode.
2. If a normal response (00 or 00 00) is not returned, refer to remainder of this
section for communications procedures and to Section 5 C-mode Com-
mands and Section 6 CV-mode Commands for details on commands and
responses.
3. If any of the following occur during the test, correct the error referring to Sec-
tion 6 Maintenance and Troubleshooting. Indicators are those on the Host
Link Unit.
The RUN indicator goes out
The RD1 or RD2 indicator does not light
The SD1 or SD2 indicator does not light
The ERH, ERC1, or ERC2 indicator lights
An error response is received
No response is received
The following program example is designed to send test data to the PC and re-
turn it unaltered to the host computer. By executing this program, the transmit
data and receive data are both displayed on the screen of the host computer. If
the transmit data and the receive data match, the system is operating properly. If
an error has occurred while executing the program, the error number and the
line in which the error has occurred will be displayed.
Note The FCS calculation subroutine starting from statement 180 is for data transmis-
sion. The data length L will differ for the response because the response con-
tains other data such as FCS and *.
Host computer: IBM PC/AT compatible
PC unit number (used as node number in Host Link System): 00
Section 4-1

Advertisement

Table of Contents
loading

Table of Contents