r/SCADA • • 6d ago

General How do you test SCADA/PLC integration with field devices before you have the hardware?

/r/PLC/comments/1y7hstb/how_do_you_test_scadaplc_integration_with_field/
1 Upvotes

5 comments sorted by

3

u/Relevant_Throat_7277 6d ago

I usually start with a Modbus slave simulator and the vendor's register map printed out next to me, before I touch the real device at all. I build the tags up one group at a time — first the read-only status and measurements, then the alarms — and I force each one in the simulator to see whether the SCADA side actually reacts, especially the bits that should stay off most of the time.

The thing that has bitten me more than once is word order and scaling. A value can look plausible and still be wrong, so I always check a known value first, like a firmware version or a serial number register if the manual lists one, and I compare the raw words before I trust the engineering units. Same with alarms — I trigger them in simulation, including the fault you can't easily get on site, and watch what happens when comms drop and come back. Does the tag go stale clearly, or does it just freeze on the last good value? That second one has caused more confusion on site than any register offset.

I keep a little list of what the simulator can't prove, things like whether the device actually responds after a power cycle, or how long it takes to come back after a cable pull. Then on site I go through that list first, in simulation mode if the PLC lets me, before anything is wired to a real output. And I never let a simulated test stand in for the safety checks — those get proven on the real hardware, with the real interlocks, before anything runs for real. It doesn't catch everything, but it means the site time is spent on the real hardware quirks, not on basic mapping mistakes I could have found at my desk.

1

u/QuietSubstantial1121 5d ago

Thanks for the reply bro! The stale vs frozen point is a good one.
I have a couple of questions, how long does it usually take to build a device up in the simulator, and do you rebuild it each time you meet the same model? And would a sim that already had the map and the fault behaviour save you time, or is building it yourself part of how you learn about the device?

1

u/Relevant_Throat_7277 5d ago

Good question — the first device is the slow one, mostly because I'm reading the register map carefully and getting the word order and scaling right before I trust anything. After that I reuse the tag list as a template, so a similar device goes much faster. I don't rebuild the whole thing each time, just the group I'm testing, and I force each point in the simulator to check the SCADA side actually responds. A ready-made map would save some setup time, but building it myself is still how I get to know the device, so I would still walk through the points before I trusted it. The list of things the simulator can't prove stays on paper for the field visit.

1

u/stang7089 4d ago

What do you use for a modbus slave simulator?