using wincc to pass data between plc's

C

Thread Starter

clarke24

I have an s7-400 plc communicating with wincc server via ethernet and have just setup a modicon quantum via opc. what i want to know is there a way of using wincc to take an output from one of the plcs and set a tag in wincc then use this tag to set an input in the other plc to high or low. Hope this makes sense.
 
K
Hi, I assume that you are able to read & write ok to the PLC tags using the modicon PLC and S7 400. The easiest way is to use either a VB or C action triggered by one of the tags say every 500ms etc.

i.e. a VB action;

HMIRuntime.Tags("PLCTag2").write HMIRuntime.Tags("PLCTag1").read

where PLCTag1 is the tag being triggered

Regards Kevin
 
M

Michael Batchelor

Set up a conditional in WinCC to monitor the point of interest, and make the output function of the conditional script set the target based on your requirements.

The thing you MUST keep in mind is that this can't be used for anything extremely critical or safely related. It's going to work 99.44% of the time, but if you're mucking with something on the WinCC server and reboot it, the systems a blind. Check that you understand how the systems respond to hiccups.

--
Michael Batchelor
www.IndustrialInformatics.com
 
Top