Cancel
Showing results for 
Search instead for 
Did you mean: 

PLC, External connection, OPC

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hi, does anybody know how to address datablocks (e.g. DB1.DBX0.0) in the Signal mapping tool? I'm using OPC connection in PS 12.1.

 

Dave

 

6 REPLIES

Re: PLC, External connection, OPC

Gears Phenom Gears Phenom
Gears Phenom

hello,

 

normaly PS connected only to input and outputs from plc.

 

In reality you have no connection via DB to devices. All signals connect via I/Q.

 

One way: you connect PS to OPC Server and merge the signals in OPC Server to DataBlock Adress.

The OPC can connect to PLC to correct DB

Kind regards,

Benjamin Voelzke

Re: PLC, External connection, OPC

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Thank you very much for your answer. You confirmed my opinion. We have solved it by remapping data blocks to inputs and outputs in a PLC. Luckily it was possible in this project.

 

However, it could be a good enhancement request, because data blocks are commonly addressed via OPC communication directly.

 

Dave

Re: PLC, External connection, OPC

Siemens Phenom Siemens Phenom
Siemens Phenom
I am not sure that's what Voelzke tried to tell you.
Your OPC should support DB's.
Then you should be able to access it like e.g.
Signal name= DB123.xyz

Re: PLC, External connection, OPC

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Thank you, for your answer. I'll check it.

 

Dave

Re: PLC, External connection, OPC

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Just FYI: It works.

 

The only limitation is that we had to set Signal by Name Mapping. However, everything works fine and it's very easy to set the signal names same as in the OPC server.

 

Thank you for help

 

Dave

Re: PLC, External connection, OPC

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

I was asked by some users for more detailed explanation. So here it is.

 

 

Tested on PS 12.1 and newer. At this moment I can use only OPC VIPA.

 

The OPC server side:

 

opc_vipa.jpg

The way how to address data blocks may vary according to used OPC server. In VIPA it is for instance DB321,X0.0

 

The Process Simulate side:

Important thing: use mapping through signal name!

 

PS_OPC_settings.jpg

 

It must be used the same signal name in OPC server and in PS, but the Address field in PS is irrelevant:

 

signal_viewer.jpg

 

I hope, that it helped.

 

Dave