Hello Guest it is April 26, 2024, 09:13:33 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - skippy

Pages: 1
1
Brains Development / Help with Modbus I/O with Brains
« on: January 17, 2011, 09:57:04 AM »
Can someone help and tell me where I' going wrong

Here are my ModBus Configuration Screen

Also I have tested thought the <Test ModBus> button I'm are able to read and write to Coils and Holding Registers but when the brains a running they don't update the VFD coils or Holding Registers.

Also included the two brains VFDrun and VFDspeed screen Snap shoots

I think my problem is when I add the ModBus input or outputs as seen in the Add input screen shot

I'm no sure what setting to us for the following

Enter ModBus Address to use?
I know it's an output when it's and output and input then it's an input
Source?

I have tried all different settings

I have also read the Users_Guide_for_Brains

I think this is where I'm getting stuck is on the follow passage

Quote
ModBus: this is where the money shot is, here you enter the ModBus address to use this is the Local Address starting at 0, (unless in the TCP
config you told it to start at a different Local address for that Cfg). Local Address “0” corresponds to your first “starting
address” of your external device for that Cfg.

As my slave is node 1 and the Address is 0001h for the coil or 001h for the Holding Register why do enter in 0 and when I do it doesn't work ?

Any help would be much appreciated
Regards

Paul (skippy)

2
Modbus / Hitachi SJ200 and ModBus Control Problems
« on: January 17, 2011, 08:53:47 AM »
I have being trying to get the Hitachi SJ200 VFD working with ModBus and a Spindle. I have the unit working with no problems with the keypad, start stop the spindle and any speed set with the pot. Now if I connect it by ModBus with in Mach3 Config ModBus the <Test ModBus> I'm able to write and read both Coils and Holding Registers with no problems except when issue the coil 0001h Run command and the 0002h Direction Command the VFD goes into Alarm mode. and needs to be reset to clear the Alarm code.

The only Settings change are A001 and A002 to 03 so that it's now using ModBus and the 485 switch has been selected.

SJ200 VFD Settings
A001 = 03   Frequency Source Setting
A002 = 03   Run Command Source Setting
A003 = 400  Base Frequency Setting
A004 = 400  Maximum Frequency Setting
A044 = 00   V/f Characteristic curve Selection
A082 = 220  AVR Voltage Select
C071 = 06   Communication Speed Selection
C072 = 1    Node Allocation
C074 = 0    Communication Parity Selection
C075 = 1    Communication Stop Bit Selection
C076 = 02   Communication Error Selection
C078 = 50   Communication Wait Time

Any help would be much appreciated
Regards
Paul (skippy)

Pages: 1