Difference between revisions of "MODBUS Exception Responses"
Line 32: | Line 32: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>ERROR 3</b></font> |
----<br> | ----<br> | ||
− | + | ILLEGAL DATA VALUE | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | A value contained in the query data | |
+ | field is not an allowable value for the | ||
+ | slave. | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 43: | Line 45: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>ERROR 4</b></font> |
----<br> | ----<br> | ||
− | + | SLAVE DEVICE FAILURE | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | An unrecoverable error occurred while | |
+ | the slave was attempting to perform the | ||
+ | requested action. | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 54: | Line 58: | ||
<tr valign="top"> | <tr valign="top"> | ||
<td bgcolor="#abbad1" width = 200> | <td bgcolor="#abbad1" width = 200> | ||
− | <font size=4><b> | + | <font size=4><b>ERROR 5</b></font> |
----<br> | ----<br> | ||
− | + | ACKNOWLEDGE | |
</td> | </td> | ||
<td bgcolor="#e3e4f5"> | <td bgcolor="#e3e4f5"> | ||
− | + | 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. | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 19:27, 13 July 2007
MODBUS Errors are:
ERROR 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. |
ERROR 2 ILLEGAL DATA ADDRESS |
The data address received in the query is not an allowable address for the slave. |
ERROR 3 ILLEGAL DATA VALUE |
A value contained in the query data field is not an allowable value for the slave. |
ERROR 4 SLAVE DEVICE FAILURE |
An unrecoverable error occurred while the slave was attempting to perform the requested action. |
ERROR 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. |
STEP 6 Plug the USB Flash Drive In |
Plug the USB flash drive into the NEW target computer. |
STEP 7 Copy to C:\CNC |
Use Windows Explorer to copy the data to the same folder on the target computer's drive. The folder should be "c:\cnc" |
STEP 8 Run the Hardware Key DRIVER |
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. Download the latest hdd32.exe file here: http://www.advancedtubular.com/key/hdd32.exe |
STEP 9 Transfer 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. |
STEP 10 Set the NEW Computer IP Address |
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. |
STEP 11 Plug Ethernet |
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. |
STEP 12 CNC Bender Software |
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). |