Omron E5CN-HT Communications Manual page 90

Digital
Hide thumbs Also See for E5CN-HT:
Table of Contents

Advertisement

SECTION 4 Modbus Communications Procedure
Error Occurred
Function
code
H'86
4-16
Error code
Name
H'02
Variable
error
H'03
Variable data error
H'04
Operation error
Note: For details on variable writing, refer to Variable Write, Multiple on
page 4-11. For details on AT, refer to E5CN/AN/EN-HT Digital
Controllers Program Type User's Manual (Cat. No. H169).
(3) Example Command and Response
The following example shows the command/response for a Reset
command. (In this case, the slave address is H'01.)
Reset command (command code: 01; related information: 01)
•Address: H'0000 (fixed)
Write data: H'0101 (Run/Reset, Reset command)
01 06 00 00 01 01 49 9A(CRC-16)
Command:
Response:
01 06 00 00 01 01 49 9A(CRC-16)
(4) Operation Commands and Precautions
● Communications Writing
Set the Communications Writing parameter to "ON" (enabled) or "OFF"
(disabled) with the related information setting.
The setting can be accepted in both setup area 0 and setup area 1. An
operation error will occur, however, if communications writing enable/
disable is set for an event input.
● Run/Reset
Set control to "run" or "stop" with the related information setting. The
setting can be accepted in both setup area 0 and setup area 1.
Description
address
The write variable address is incorrect.
The variable area number (2-byte data)
is wrong, or the address is not 0000 or
FFFF.
The write data is incorrect.
• The write data is out of the setting
range.
• Command code or related information
are incorrect.
The Controller cannot write the data in
its present operating status.
• The Communications Writing parame-
ter is set to "OFF" (disabled). The
command is received regardless of
the Communications Writing parame-
ter setting (ON/OFF).
• Writing was attempted from setup
area 0 to setup area 1.
• AT execution was in progress.
• Processing could not be performed.
For details, see (4) Operation Com-
mands and Precautions below.

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5en-htE5an-ht

Table of Contents