Error Detection Processing - Omron CJ Series Connection Manual

General-purpose ethernet connection guide (tcp/ip) for yamaha motor rcx robot controller
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

9.3. Error Detection Processing

This section explains the error detection processing of this program.
9.3.1.
Error Detection of this Program
This program detects and handles the following errors (1) to (4). For information on error
codes, refer to 9.7.1. Error Code List.
CJ2M-CPU12+
CJ1W-ETN21
(1)(2)
(1)Communications errors in TCP socket communications manipulating the dedicated control
bit
Errors that occur during TCP socket communications such as Unit error, command format
error and parameter error are detected as communications errors. An error is detected with
a response code in the allocated DM area when performing TCP socket communications
manipulating the dedicated bit.
(2)Timeout errors during communication with the destination device
When the open processing, send processing, receive processing, or close processing is
not normally performed and cannot be completed within the monitoring time, it is detected
as a timeout error. An error is detected by the timer monitoring function in the program. For
information on the time monitoring function of the timer in the program, refer to 9.3.2. Time
Monitoring Function.
(3)Errors in the destination device (Destination device errors)
Destination device errors include a command error, a parameter error, and an execution
failure in the destination device. An error is detected with the response data which is
returned from the destination device. With this program, a destination device error is
detected with the response code, which is returned from the destination device when the
error occurs. For information on the send/receive messages, refer to 9.2. Destination
Device Command.
Normal message
Error message
Destination device
Ethernet cable
(3)
(4)
'V8.02,R1021-V5.10-V1.01/V1.01/V1.01/V1.01/-----/ ... #0A
Version information
'5.30'
':'
'Undefined identifier'
Error number
:
*When both '.` (period) and `:` (colon) are included in 4 words from the
start address, this software detects it as an error.
Error message
9.Program
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj2h-cpu6 eip seriesCj2h-cpu6 seriesCj2m-cpu seriesCj1w-etn21Cj2m-cpu12W4s1-05c ... Show all

Table of Contents