Maxim Posted January 12, 2011 Report Share Posted January 12, 2011 Good day! I use Vision-V350-35-RA22. Need to get data from PLC by UniOPC via Ethernet. 1. I made the ladder diagram including «Set PLC Name», «TCP/IP card init», «TCP/IP sock init — Socket 1, TCP, Port 20256, Slave». 2. I added channel in UniOPC — TCP/IP Call, correct ip address, Remote port 20256. 3. I added PLC with parameters: - Name - is the same as I used in PLC ladder diagram «Set PLC Name» block; - Type — Vision; - Unit ID — Direct connection; - Channel — look at item 2. PLC's SB148 indicates that UniOPC is connected and disconnected to PLC. An OPC client sees the UniOPC server, but doesn't see its variables. Whatever I do, no changes. Where is the problem? TIA Link to comment Share on other sites More sharing options...
Ofir Posted January 12, 2011 Report Share Posted January 12, 2011 Hi Maxim, As I understand SB148 is on when UniOPC is connected to the PLC. Did you check with other Unitronics software that the communication works properly? You can check using Visilogic the Ethernet communication using online mode. Please make sure you are configuring the Tags in OPC client with the right syntax. The syntax used to define the 'item' must be structured as follows:<PLCName> <ItemPrefix> <Address> For example if the PLC name is MAXIM and you wish to read MI10 then the syntax will be 'MAXIM.MI10' Link to comment Share on other sites More sharing options...
Maxim Posted January 12, 2011 Author Report Share Posted January 12, 2011 Thanks! As I understand SB148 is on when UniOPC is connected to the PLC. Yes Did you check with other Unitronics software that the communication works properly? You can check using Visilogic the Ethernet communication using online mode. Yes, I can connect to PLC with VisiLogic in Test Mode, and SB148 indicates properly. Please make sure you are configuring the Tags in OPC client with the right syntax. The syntax used to define the 'item' must be structured as follows:<PLCName> <ItemPrefix> <Address> For example if the PLC name is MAXIM and you wish to read MI10 then the syntax will be 'MAXIM.MI10' My OPC client is a Sample one - ICONICS OPC DataSpy - it doesn't require variables to be configured, it just shows whether variables present in OPCserver or not. I can see running UniOPC only, without any items "inside". ((((( My problem is still here... TIA Link to comment Share on other sites More sharing options...
Ofir Posted January 12, 2011 Report Share Posted January 12, 2011 Hi Maxim, I'm not familar with ICONICS OPC DataSpy but you can download OPC client which we use here for testing in order to determine that the communication works properly. You can download it from: http://ftp.unitronics.com/Downloads/OPC%20Client.exe Then use syntax as i mentioned before. Link to comment Share on other sites More sharing options...
Maxim Posted January 12, 2011 Author Report Share Posted January 12, 2011 Thanks! I download and run your sample client. It connects to UniOPC, but unfortunatly there are no available items in "Add Items" window. When I try to connect to another OPCserver, that I have on my PC, everything's OK - there are items, values etc. I would be very much obliged to you if you look at my project. TIA Config.zip Simple Ethernet.zip Link to comment Share on other sites More sharing options...
Ofir Posted January 12, 2011 Report Share Posted January 12, 2011 Hi Maxim, As I mentioned using UniOPC server you will need to configure the items. when using OPC client i sent you please follow the steps: press on connect button. Select server versions 1.0 & 2.0 Select UniOPC server in the box and press OK. Press on add item and in item name write "VISION-350-105.MI10" --> done. Now you should be able to see MI10 value. Link to comment Share on other sites More sharing options...
Maxim Posted January 12, 2011 Author Report Share Posted January 12, 2011 That's it! Thanx a lot! Everything works! Regards ))) Link to comment Share on other sites More sharing options...
kolya_asu Posted October 19, 2018 Report Share Posted October 19, 2018 Good day. I have a similar problem like Maxim. Trying to tie SIMPLE SCADA + UNIOPC + VISION V350. Simpl Scada + UNIOPC - a connection has been established, and how to connect the VISION V350 controller with the UNIOPC - does not work. Can you please tell me what to do? I wanted to download the link http://ftp.unitronics.com/Downloads/OPC Client.exe - but it does not work. I would be grateful for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now