Difference between revisions of "MODBUS Exception Responses"
Line 1: | Line 1: | ||
[[MODBUS]] Errors are: | [[MODBUS]] Errors are: | ||
+ | <table cellpadding="15" width = 650> | ||
− | < | + | <tr valign="top"> |
− | <td> | + | <td bgcolor="#abbad1" width = 200> |
+ | <font size=4><b>ERROR 1</b></font> | ||
+ | ----<br> | ||
+ | ILLEGAL FUNCTION | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | 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. | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>ERROR 2</b></font> | ||
+ | ----<br> | ||
+ | ILLEGAL DATA ADDRESS | ||
</td> | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | The data address received in the query | ||
+ | is not an allowable address for the | ||
+ | slave. | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 3</b></font> | ||
+ | ----<br> | ||
+ | Find CNC Folder | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | Browse to the C:\CNC folder on the operator station using Windows Explorer. | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 4</b></font> | ||
+ | ----<br> | ||
+ | Copy CNC Folder | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | Copy the CNC FOLDER to the USB flash drive. | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 5</b></font> | ||
+ | ----<br> | ||
+ | Remove the USB Flash Drive | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | Remove the USB flash drive using the system tool tray "Safely Remove Hardware" feature. | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 6</b></font> | ||
+ | ----<br> | ||
+ | Plug the USB Flash Drive In | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | Plug the USB flash drive into the NEW target computer. | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 7</b></font> | ||
+ | ----<br> | ||
+ | Copy to C:\CNC | ||
+ | </td> | ||
+ | <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" | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"> | ||
+ | <td bgcolor="#abbad1" width = 200> | ||
+ | <font size=4><b>STEP 8</b></font> | ||
+ | ----<br> | ||
+ | Run the Hardware Key DRIVER | ||
+ | </td> | ||
+ | <td bgcolor="#e3e4f5"> | ||
+ | [[image:haspdriver.jpg|thumb|HASP Driver Software]] | ||
+ | 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 | ||
+ | </td> | ||
+ | </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> | ||
+ | </tr> | ||
+ | |||
</table> | </table> |
Revision as of 19:25, 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. |
STEP 3 Find CNC Folder |
Browse to the C:\CNC folder on the operator station using Windows Explorer. |
STEP 4 Copy CNC Folder |
Copy the CNC FOLDER to the USB flash drive. |
STEP 5 Remove the USB Flash Drive |
Remove the USB flash drive using the system tool tray "Safely Remove Hardware" feature. |
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). |