10-25-2007 03:14 PM
10-26-2007 12:41 PM
10-29-2007 11:43 AM
Thanks, but this uses the vi that I referenced above, the one that will not work.
-NSK
10-30-2007 04:48 PM
Have you networked your FieldPoint appropriately, according to this KnowledgeBase article?
Also, this article might be helpful with your troubleshooting efforts.
Error 63 sometimes occurs when the IP address you are using is already in use by another PC or piece of hardware. Have you tried pinging the controller?
10-31-2007 11:13 AM
Thanks. All of these articles deal with setting up the FieldPoint. It already works under MAX; the settings are fine. It just won't let me open a TCP/IP connection to it from Labview
-n
10-31-2007 12:48 PM
I connected an RS-232 terminal (that abandoned TPC-2012 touch panel, good for something after all) to the cFP, booted it up, and saw this message:
"Attached TCP/IP interface to motfec unit 0"
So, do I need to get motfec'd again, or what?
-n
10-31-2007 04:18 PM
OK, motfec is a VxWorks thang. The local NI rep was just here looking at this, & he offered this thought:
Since the FieldPoint connection is refused, and since the Modbus shared variable connected to it returns empty data, could it be that the server is just not cranked up?
This is a brand new cFP-1804; I don't think it need a firmware upgrade to handle Modbus, so I don't know why this should be the case, but I have no other ideas.
-n
11-01-2007 05:03 PM
11-01-2007 06:04 PM
I tried moving the vi in the project from the cRIO to the computer, but it still won't accept a connection (error 63), so the cRIO is not the problem.
I also bypassed the ethernet switch & hooed up directly via a cross cable. No help.
So then I tried creating a Modbus shared variable.
I get 'empty data' using that shared variable. Not sure about the address - the '1001' looks correct, but what numbers come before it in the address?
Am I reading a coil (101001), a discrete input(201001), an input register(301001)?
I tried various combinations, but got no data. I emailed NI support about this, but they just pointed me to an app note. RTFM 😞
I emailed back ,asking for clarification, no response from support. I don't think many people there in support have experience in this area.
I do. Five years ago, I wrote my own Modbus driver to talk to a Wago PLC. Never saw error 63.
If I can ping the cFP, but can't open a connection to it, can the problem still lie in my PC? Firewall is off.
Are there other tests I can do? Can I somehow try to open a connection to the cRIO?
11-02-2007 11:15 AM