Tags to read from PLCA or PLCB (topic change as old InTouch)

Hi,

I’m trying to replicate old InTouch behaviour using topic change for tags depending on which PLC is connected.

I have two PLCs PLC_A and PLC_B. I wrote script with rolling counters between SCADA - PLCs which identify which PLC is a master and write other PLC_A or PLC_B to string tag called Topic.

Tags are exactly the same in both PLCs so I was thinking about creating generic tags in Ignition which can read from PLC_A or B thanks to changed topic. Is it possible to not address tags directly but to use my tag “topic” in a path so the tag will address to correct PLC?

Thanks in advance.

Is this an Ethernet device?

You could change the physical host name in the configuration through a scripting call:

system.device.setDeviceHostname | Ignition User Manual

I’ve used this to switch between an Emulator and a physical PLC that have identical tags.

1 Like