Difference between revisions of "MODBUS Exception Responses"

From ATTWiki
Jump to: navigation, search
Line 4: Line 4:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>ERROR 1</b></font>
+
<font size=4><b>Exception 1</b></font>
 
----<br>
 
----<br>
 
ILLEGAL FUNCTION
 
ILLEGAL FUNCTION
Line 19: Line 19:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>ERROR 2</b></font>
+
<font size=4><b>Exception 2</b></font>
 
----<br>
 
----<br>
 
ILLEGAL DATA ADDRESS
 
ILLEGAL DATA ADDRESS
Line 32: Line 32:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>ERROR 3</b></font>
+
<font size=4><b>Exception 3</b></font>
 
----<br>
 
----<br>
 
ILLEGAL DATA VALUE
 
ILLEGAL DATA VALUE
Line 45: Line 45:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>ERROR 4</b></font>
+
<font size=4><b>Exception 4</b></font>
 
----<br>
 
----<br>
 
SLAVE DEVICE FAILURE
 
SLAVE DEVICE FAILURE
Line 58: Line 58:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>ERROR 5</b></font>
+
<font size=4><b>Exception 5</b></font>
 
----<br>
 
----<br>
 
ACKNOWLEDGE
 
ACKNOWLEDGE
Line 76: Line 76:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>STEP 6</b></font>
+
<font size=4><b>Exception 6</b></font>
 
----<br>
 
----<br>
Plug the USB Flash Drive In
+
SLAVE DEVICE BUSY
 
</td>
 
</td>
 
<td bgcolor="#e3e4f5">
 
<td bgcolor="#e3e4f5">
Plug the USB flash drive into the NEW target computer.
+
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 90:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>STEP 7</b></font>
+
<font size=4><b>Exception 7</b></font>
 
----<br>
 
----<br>
Copy to C:\CNC
+
NEGATIVE ACKNOWLEDGE
 
</td>
 
</td>
 
<td bgcolor="#e3e4f5">
 
<td bgcolor="#e3e4f5">
Use Windows Explorer to copy the data to the same folder on the target computer's drive. The folder should be "c:\cnc"
+
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 98: Line 106:
 
<tr valign="top">
 
<tr valign="top">
 
<td bgcolor="#abbad1" width = 200>
 
<td bgcolor="#abbad1" width = 200>
<font size=4><b>STEP 8</b></font>
+
<font size=4><b>Exception 8</b></font>
 
----<br>
 
----<br>
Run the Hardware Key DRIVER
+
MEMORY PARITY ERROR
 
</td>
 
</td>
 
<td bgcolor="#e3e4f5">
 
<td bgcolor="#e3e4f5">
[[image:haspdriver.jpg|thumb|HASP Driver Software]]
+
The slave attempted to read extended
Browse to the c:\cnc\key folder and run "hdd32.exe."  This program is a hardware key driver file that needs only to be run once.  It may require that you be logged in as a user with administrative rights.
+
memory, but detected a parity error in
 
+
the memory. The master can retry the
Download the latest hdd32.exe file here: http://www.advancedtubular.com/key/hdd32.exe
+
request, but service may be required on
</td>
+
the slave device.
</tr>
+
 
+
<tr valign="top">
+
<td bgcolor="#abbad1" width = 200>
+
<font size=4><b>STEP 9</b></font>
+
----<br>
+
Transfer Hardware Key
+
</td>
+
<td bgcolor="#e3e4f5">
+
[[image:hasp.jpg|thumb|Hasp Hardware Key]]
+
Remove the hardware key from the parallel port of the CNC Bender operator station (inside the operator station enclosure).
+
 
+
Plug it into the new computer parallel port.
+
</td>
+
</tr>
+
 
+
 
+
<tr valign="top">
+
<td bgcolor="#abbad1" width = 200>
+
<font size=4><b>STEP 10</b></font>
+
----<br>
+
Set the NEW Computer IP Address
+
</td>
+
<td bgcolor="#e3e4f5">
+
Use the Windows Start / Connect To menu to configure the TCP/IP address of the port that will connect to the bender.  Set that port to a fixed IP address of 192.168.0.199.  Any valid setting under 200 for the last [[octet]] will work.  The operator station uses .200 as the address.  If the operator station is not powered on, or is not attached to the bender network, then you can also use address .200.
+
</td>
+
</tr>
+
 
+
 
+
<tr valign="top">
+
<td bgcolor="#abbad1" width = 200>
+
<font size=4><b>STEP 11</b></font>
+
----<br>
+
Plug Ethernet
+
</td>
+
<td bgcolor="#e3e4f5">
+
Plug an ethernet cable (RJ45 type) between the new computer's NIC port and the Netgear switch in the electronics cabinet using a standard ethernet cable.  [[image:netgearswitch.jpg|thumb|Netgear Switch]]
+
</td>
+
</tr>
+
 
+
<tr valign="top">
+
<td bgcolor="#abbad1" width = 200>
+
<font size=4><b>STEP 12</b></font>
+
----<br>
+
CNC Bender Software
+
</td>
+
<td bgcolor="#e3e4f5">
+
Start CNC Bender software by finding the CNCBender.exe program in the c:\cnc folder and double clicking on it (or select the file and press Enter).
+
[[image:cncbender.jpg|thumb|CNC Bender Software]]
+
 
</td>
 
</td>
 
</tr>
 
</tr>
  
 
</table>
 
</table>

Revision as of 21:04, 13 July 2007

MODBUS Errors are:

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.