04-15-2008 06:15 AM
04-16-2008 03:50 PM
04-17-2008 04:52 AM
Hi Eli,
What you trying to say is correct, it is a modbus IO server, from that i selected Modbus model as Ethernet. After that if try to assign the Ip address (Run time), it is not happening. I can able to assign IP address at design time but it can't be in run time. i dont know what will be the problem..
with regards,
vijay.
04-18-2008 02:46 PM
04-20-2008 10:41 AM
04-21-2008 12:56 PM
Hi Vijay,
One great place to look is at the LabVIEW help. It has a section from creating Modbus I/O servers interactively and programmatically. What do you mean by it doesn't work? Are you getting an error? If so, what error? If you can post a screenshot of the block diagram, it could also help determine what is going on.
04-22-2008 02:26 AM
04-22-2008 02:26 AM
04-22-2008 05:32 PM
Hi Vijay,
Thanks for the information and the screenshot. I guess I am still not exactly understanding what you mean by it doesn't work during run-time but does work during development time. Do you mean that when you click on the run button, it doesn't work? Can you maybe wire a Error Out cluster to the error out terminal of the Modbus I/O server and run it? This would show us if there was really no error coming out of the express VI.
Also, I think you mentioned earlier that it worked when you have Serial Port selected. Could it possibly be not working with ethernet because your device is connected via serial?
As far as the control with the IP address, you should just be able to go to the front panel and type in the IP address. Is this not what you want to do or do you want it to be like a drop down menu where you select a different IP address depending on your device?
Thanks for the info!
Carla
04-23-2008 02:36 AM
Hi carla,
Here i attached the sample VI to get more clear on this,
Run time is when i press Run button and development time means, when i double click the express VI in block diagram, a popup window will come there i can assign the IP address.
i connect an error cluster to modbus IO server, but no error is displayed.
The device we are using for ethernet and serial port is differrent, The thing is whenever we assign or change the IP address its not assigning to Modbus IO server itself, then how it can communcate with device.
To assign a IP address to Modbus IO server (Ethernet), we like to have control in front panel to type IP address.