Difference between revisions of "MODBUS Exception Responses"

From ATTWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[MODBUS]] Errors are:
 
[[MODBUS]] Errors are:
<table cellpadding="15" width = 650>
+
<table cellpadding="15" width = 450>
  
 
<tr valign="top">
 
<tr valign="top">

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

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

STEP 9



Transfer Hardware Key

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.

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.
Netgear Switch

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).

CNC Bender Software