10-27-2015 11:38 AM
Mitch,
Thank you for the clarification. I would recommend trying to run some examples to ensure that you have everything set up correctly. For the low level API option, I would recommend taking a look at the project that the document references. From the NI Example Finder, you can search for "Modbus" and the Modbus Library.lvproj should come up. Maybe try building off of this example and test as you go.
This community example would be great to try: https://decibel.ni.com/content/docs/DOC-21348
This simple example shows how a cRIO with LabVIEW Real-Time and Modbus I/O Servers installed can act as a Modbus master. This is the second option that the documentation describes. More information on this can be located in this document: http://www.ni.com/tutorial/13911/en/
The last option described is the NI OPC Servers option with the DSC Module. More information is located here: http://www.ni.com/tutorial/7450/en/
For troubleshooting steps for the error that you are getting (Error 56) please see this document: http://digital.ni.com/public.nsf/allkb/D90C4F99C1EF3F6A86256E4A0080A120
It's difficult to see what is going on in the document that you sent. If possible, posting you code may be helpful for the community for troubleshooting purposes.
02-21-2016 10:28 PM
Hi there, following all the posts on Cal controllers (3300/9500 series) just curious on my new install with USB-Serial.
What kind of problems did you have with the cables? Was it the converter drivers or internal wiring?
Thanks in advance.
02-22-2016 08:58 AM
So, I'm trying to remember the exact issue I had, and having trouble remembering... (these are commonplace at least 2 in every module we build now). But I can give you an overview of what you need.
Make sure it has the COM board in the controller, and make sure those settings match the computer com. I use Edgeport usb-serial converters, they are very robust and are easy to install with drivers on the company website. 9, 10, 11 on the back of the cal controller are your com wires, I use a simple 9pin plug with soldering connections.
9 - Transmit - goes to pin 3
10 - Receive - pin 2
11 - Ground - pin 5
Should be as simple as that!
Here are links to helpful documents throughout the entire programming to instalation process:
http://www.advindsys.com/apnotes/calmodguidev110.pdf
http://www.lesman.com/unleashd/catalog/accessor/CAL-Controls_CalComms/calcomms.pdf
http://www.thermoelectric.com/2010/manuals/pdf/TC-3300-spec.pdf