EasyManuals Logo

Asyril Asycube 240 Programming Guide

Asyril Asycube 240
83 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #77 background imageLoading...
Page #77 background image
Asycube - Asyril SA
Programming Guide
© Copyright Asyril S.A.
Version : A1
77/83
6.4. Errors
Several types of error can arise in the Asycube used with Modbus TCP. The Holding Register
HR_MODBUS_STATUS (Address 64) bits represent the status of these types of error.
Value
(binary)
Name
Description
0b0001
Asycube Modbus errors status
If the value is 1, please refer to Section 6.4.2
0b0010
Internal Modbus communication
error status
If the value is 1, please refer to Section 6.4.2
0b0100
Asycube warnings status
If the value is 1, please refer to Section 6.4.3
0b1000
Asycube alarms status
If the value is 1, please refer to Section 6.4.3
Table 6-5: Status register.
The error status can be reset by writing the corresponding bit to 1 in the Holding Register
HR_MODBUS_CONTROL (Address 0). For example, writing the value 0b0110 (it
corresponds to the value ‘6 in decimal) will reset both the Asycube Modbus errors status and
the Asycube warnings status.
6.4.1. Main Modbus exception codes
The Modbus exception codes are defined in the protocol specification
(http://www.modbus.org). A subset of these exceptions is implemented in the Asycube (See
Table 6-6). The Modbus protocol is responsible to carry the exceptions directly in the Modbus
message and are not set in a Holding Register.
Value
(decimal)
Name
Description
1
Illegal Function
Function code received in the query is not recognized or allowed
by slave
2
Illegal Data Address
Data address of some or all the required entities are not allowed
or do not exist in slave
3
Illegal Data Value
Value is not accepted by slave
Table 6-6: Modbus protocol exception codes.
6.4.2. Holding Register: error codes
The HR_MODBUS_ERROR_CODE (Address 65) gives the current Asycube Modbus error.
The first byte (mask 0x00FF) gives the error linked to the Asycube Modbus implementation
(See Table 6-7).

Table of Contents

Other manuals for Asyril Asycube 240

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Asyril Asycube 240 and is the answer not in the manual?

Asyril Asycube 240 Specifications

General IconGeneral
BrandAsyril
ModelAsycube 240
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals