Difference between revisions of "MODBUS Exception Responses"
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | [[MODBUS]] | + | The possible [[MODBUS]] Exception Reponses are listed here. If CNC Bender returns a Modbus Error, then it will use one of these numbers. This error is recorded in the '''ImmediateMessage.log''' found in the '''c:\cnc\logs''' folder. |
+ | |||
+ | |||
<table cellpadding="15" width = 450> | <table cellpadding="15" width = 450> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 1</b></font> |
----<br> | ----<br> | ||
ILLEGAL FUNCTION | ILLEGAL FUNCTION | ||
Line 19: | Line 21: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 2</b></font> |
----<br> | ----<br> | ||
ILLEGAL DATA ADDRESS | ILLEGAL DATA ADDRESS | ||
Line 32: | Line 34: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 3</b></font> |
----<br> | ----<br> | ||
ILLEGAL DATA VALUE | ILLEGAL DATA VALUE | ||
Line 45: | Line 47: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 4</b></font> |
----<br> | ----<br> | ||
SLAVE DEVICE FAILURE | SLAVE DEVICE FAILURE | ||
Line 58: | Line 60: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 5</b></font> |
----<br> | ----<br> | ||
ACKNOWLEDGE | ACKNOWLEDGE | ||
Line 76: | Line 78: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 6</b></font> |
----<br> | ----<br> | ||
− | + | SLAVE DEVICE BUSY | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | The slave is engaged in processing a | |
+ | long–duration program command. The | ||
+ | master should retransmit the message | ||
+ | later when the slave is free. | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 87: | Line 92: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 7</b></font> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
----<br> | ----<br> | ||
− | + | NEGATIVE ACKNOWLEDGE | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | The slave cannot perform the program | |
+ | function received in the query. This | ||
+ | code is returned for an unsuccessful | ||
+ | programming request using function | ||
+ | code 13 or 14 decimal. The master | ||
+ | should request diagnostic or error | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 150: | Line 108: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>Exception 8</b></font> |
----<br> | ----<br> | ||
− | + | MEMORY PARITY ERROR | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | The slave attempted to read extended | |
− | + | memory, but detected a parity error in | |
+ | the memory. The master can retry the | ||
+ | request, but service may be required on | ||
+ | the slave device. | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Latest revision as of 21:06, 13 July 2007
The possible MODBUS Exception Reponses are listed here. If CNC Bender returns a Modbus Error, then it will use one of these numbers. This error is recorded in the ImmediateMessage.log found in the c:\cnc\logs folder.
Exception 1 ILLEGAL FUNCTION |
The function code received in the query is not an allowable action for the slave. If a Poll Program Complete command was issued, this code indicates that no program function preceded it. |
Exception 2 ILLEGAL DATA ADDRESS |
The data address received in the query is not an allowable address for the slave. |
Exception 3 ILLEGAL DATA VALUE |
A value contained in the query data field is not an allowable value for the slave. |
Exception 4 SLAVE DEVICE FAILURE |
An unrecoverable error occurred while the slave was attempting to perform the requested action. |
Exception 5 ACKNOWLEDGE |
The slave has accepted the request and is processing it, but a long duration of time will be required to do so. This response is returned to prevent a timeout error from occurring in the master. The master can next issue a Poll Program Complete message to determine if processing is completed. |
Exception 6 SLAVE DEVICE BUSY |
The slave is engaged in processing a long–duration program command. The master should retransmit the message later when the slave is free. |
Exception 7 NEGATIVE ACKNOWLEDGE |
The slave cannot perform the program function received in the query. This code is returned for an unsuccessful programming request using function code 13 or 14 decimal. The master should request diagnostic or error |
Exception 8 MEMORY PARITY ERROR |
The slave attempted to read extended memory, but detected a parity error in the memory. The master can retry the request, but service may be required on the slave device. |