You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old December 14th, 2017, 10:21 AM   #1
phuz
Member
United States

phuz is offline
 
Join Date: Jun 2008
Location: Mohnton, PA
Posts: 777
Wonderare OPCLink w/ RSLinx OPC Server

I've given up on the FSGateway because it just doesn't want to create a connection (continuous errors in logger about OPCEnum), so I decided to try OPCLink. I configured it for the remote node with RSLinx Remote OPC Server and added my suitelink object to point at it. And, sure enough OPC Link shows a connection and RSLinx (on the remote end) shows the connection, too.

But, I can't get my items to parse properly. I've tried putting the OPC qualifier in front of the tag, but no dice.

107690 12/14/2017 10:18:11 AM 3892 5048 Info OPCLink Invalid item name: C5:7.ACC (IMPULSE)
107691 12/14/2017 10:18:11 AM 3892 5048 Info OPCLink Invalid item name: [IMPULSE]C5:0.ACC (IMPULSE)

Any ideas?

I don't understand the "OPC Path" either, so maybe that's part of it.
Attached Images
File Type: jpg Capture.jpg (18.1 KB, 5 views)
File Type: png Capture.PNG (11.6 KB, 3 views)

Last edited by phuz; December 14th, 2017 at 10:24 AM.
  Reply With Quote
Old December 14th, 2017, 10:58 AM   #2
Mispeld
Member
United States

Mispeld is offline
 
Mispeld's Avatar
 
Join Date: Feb 2017
Location: VA
Posts: 382
You could try using the OPC Test Client (under RS-Linx->Tools) to connect to the data item in question. That tool will build the Item string that should be compatible with other OPC-compatible clients.

Assuming "IMPULSE" is the OPC topic defined on the local machine, the second address looks good. However, if it is defined remotely, and you are using RS-Linx Professional (or whatever they call it now), there may also need to be a node name preceding the topic along with "::".
  Reply With Quote
Old December 14th, 2017, 11:15 AM   #3
phuz
Member
United States

phuz is offline
 
Join Date: Jun 2008
Location: Mohnton, PA
Posts: 777
Quote:
Originally Posted by Mispeld View Post
You could try using the OPC Test Client (under RS-Linx->Tools) to connect to the data item in question. That tool will build the Item string that should be compatible with other OPC-compatible clients.

Assuming "IMPULSE" is the OPC topic defined on the local machine, the second address looks good. However, if it is defined remotely, and you are using RS-Linx Professional (or whatever they call it now), there may also need to be a node name preceding the topic along with "::".
OPC client sees the data fine, and the string is exactly what I thought it would be:
[IMPULSE]C5:0.ACC

Whether I put [IMPULSE] in the OPCLink for the "OPC Path" or not, I still get this:

109066 12/14/2017 11:13:18 AM 3892 5048 Info OPCLink Invalid item name: C5:0.ACC (RSLINXOPC)
109069 12/14/2017 11:13:18 AM 3892 5048 Info OPCLink Invalid item name: [IMPULSE]C5:0.ACC (RSLINXOPC)
  Reply With Quote
Old December 14th, 2017, 11:33 AM   #4
phuz
Member
United States

phuz is offline
 
Join Date: Jun 2008
Location: Mohnton, PA
Posts: 777
Holy stars...just found the answer hidden in a forum post on here from 2011.

I would have never found this otherwise:

Quote:
One of the big "gotcha's" with OPCLink (might want to investigate using FSGateway BTW) is you have to put a prefix in front of the Item in the tagname definition.

d - for discrete
i - for integer
r - for real
m - for message
So my config was right all along. Just had to modify the input string:

Me.IMP_A_Gallons.inputsource = "PLC5_IMPULSE.IMPULSE.iC5:7.ACC";
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Symbols in Simatic OPC Server? Pete.S. LIVE PLC Questions And Answers 10 May 30th, 2016 12:39 PM
RsLinx OPC server requires RSLinx to run as a SERVICE or APPLICATION ? meghnesh LIVE PLC Questions And Answers 0 November 15th, 2014 12:38 PM
Set OPC Server in Rsview32 Tarlo LIVE PLC Questions And Answers 4 September 7th, 2011 09:37 AM
C# & RSlinx OPC Server Communication Btmonster LIVE PLC Questions And Answers 0 May 20th, 2010 03:52 AM
OPC? Connecting S7-312C - PC. pietervdb LIVE PLC Questions And Answers 6 August 7th, 2008 02:34 PM


All times are GMT -5. The time now is 03:45 AM.


.