08-31-2010 09:37 AM
Hello Wayne, first fo all thank you for replying. I have used the Modbus Library fro LV 8.6 (since, to my knowledge, is the newest version) in LV2009 and havent been able to read or write to the driver. I have also downloaded examples from users and just reconfigure to the particular specs in the driver and it still does not work. Is ther any known compatibility issues with this library and LV '09? Im still working on this since deadline is very close. I really appreciate your responses, if there is any text on DSC servers you have please let me know, maybe is something i still have not found. Thank you
09-01-2010 10:05 AM - edited 09-01-2010 10:06 AM
nuarst,
Using LV8.6.1 and DSC 8.6.0 on WinXP, I have created a project with a shared variable that reads parameter U1-02 Output frequency of F7 drive. Modbus Serial I/O server configured for RTU. Using register 400066. Datatype is UInt16.
If I get some time I will next try this project using LV 2009 SP1 on Windows7.
09-01-2010 01:29 PM
nuarst,
I was able to open the DSC project from my previous post and run using LV2009 SP1 and DSC 9.0.1 running on Win7.
09-02-2010 01:20 PM
Ok so there is definetely somethign wrong with what i am doing.
When i create a variable these are the steps I follow:
-Rightclick on my modbus server (Serial/RTU)
-Click on "Create Bound variables"
-Select the variable typerannge "400 000-40????"
-Just add 1 variable
-Click "OK"
Then:
-right click on the variable
-Change the name and the register to 400 066 or whatever register i want to read
-Click "OK"
-Drag the variable from the project explorer to the front panel
-It shows like a control, Rigt click on it
-select "Cange to Indicator"
Then Run the application, Data type is the same, U16, unsigned integer of 16 bits.
Please let me know if i am doing someting wrong.
09-02-2010 01:36 PM
nuarst,
You need to open up 'NI Distributed System Manager' so you can check current status of your I/O server and variables. Remember to re-deploy the I/O server and variables after creating new variable. Make sure that a duplicate I/O server tied to the same COM port is not already running.