01-03-2014 05:40 AM
Hi,
I'm fairly new to Dasylab having used an older version in the past.
I'm have 3 huber chiller units connect via RS232 to a USB to Serial hub which has 8 ports. Each of the units is given a different com address. Am I able to use the RS232 input module to read the 3 different temperatures I need to monitor or are you only able to connect one com port per RS232 input module? I have initially had a go at attempting this but although I can see that the hubers have connected to the usb to serial device it hasn't picked this up when I set up a RS232 input module, it looks like it's not communicating.
Any help would be greatly appreciated.
Thanks
01-03-2014 05:45 AM
With DASYLab you can configure many RS232 modules assigned to different COM ports.
When you open the windows device manager, can you see all the 8 ports under the COM port section?
I know that they are USB to multiport devices that do not always work correctly.
I personally have a 8 port unit that would not work in one WIN7 machine but would work in another one.
01-03-2014 05:59 AM
I have attached a screenshot of the device manager.
I'm using windows 7.
Huber have their own software and I can connect to that okay but was hoping to use Dasylab as it should be able to offer me more flexability if I can get it to work for me.
Cheers
01-03-2014 06:01 AM
could you post an example of your code?
I use RS232 for multiple devices and bi-derectional communication all the time without any problem.
01-03-2014 06:14 AM
Attached is a screenshot of the settings I'm using, am I missing something that I should be doing.
Thanks
01-03-2014 06:19 AM
Well, if you are using 3 devices in 3 different ports, you need 3 RS232 modules, each individually setup on the COM setting COM9 COM10, COM11.
It should work then.
01-03-2014 07:02 AM
Thanks for your help, I will give it a go.
01-03-2014 08:23 AM
Hi,
I have had another attempt at setting the hubers up.
I have attached another screenshot of the layout but didn't include a write module as would be good to get it to talk first.
The settings I used were the following:
RS Master - Com 9
9600 Baud
8 Data Bits
1 Stop bit
None Parity
RS Master 1 - Com 10
9600 Baud
8 Data Bits
1 Stop bit
None Parity
RS Master 2 - Com 11
9600 Baud
8 Data Bits
1 Stop bit
None Parity
It still doesn't show anything when running.
Any ideas?
Thanks
01-03-2014 08:34 AM
Well, now you need to set it up and make sure that the correct command are used.
For this you need to look at the manual of the controller and see what commands are required to make the controller giving you the responce you are looking at.
The RS module has a nice testing area by cliking on the RS232 Monitor button you can experiment with the nemonics to make sure the system is working and integrate it in the data format.
If you want to automate your module, after you set up the Measurament Data Format correctly, you can go into the options and setup the Data Request.
01-03-2014 09:13 AM
Because you are working with RS232 directly, you need to be familiar with your device. Does it require a command? What is the command? What is the format of the response to the command?
You can use the RS232 Monitor to send commands and view the response; that can help in determining how to parse the response.