PLC logic programs

Detects printed or prose PLC logic programs and program listings: ladder or rung listings with instruction text such as XIC(...)OTE(...), structured-text logic, program/routine/controller names and controller tags. Complements global-plc-project-export, which covers native L5X/L5K/TIA Openness/XEF export files; this pattern does not use those export-file anchors. Topic wording alone is discovery-only.

Type
regex
Engine
boost_regex
Confidence
medium
Confidence justification
Medium confidence: the topic phrase alone is discovery-only; enforcement needs populated structure (concrete logic (Rockwell rung instructions such as XIC(tag)/OTE(tag)/TON(timer), or IEC structured-text IF ... THEN / tag := value; lines) or program structure (labelled program/routine/task/controller/processor/slot/tag/I/O address, printed Rung numbers, 1756-L / 6ES7 controller catalogue numbers)), and 85 needs two distinct structures plus independent process-control (interlock, permissive, e-stop, motor, conveyor, pump, valve, setpoint) evidence, so policies, blank forms and training text stay below 75.
Detection quality
Not detected
Jurisdictions
global
Regulations
Security of Critical Infrastructure Act 2018 (Cth)
Frameworks
IEC 62443, ISO 27001, NIST CSF
Data categories
security
Scope
wide
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Degraded, Netskope: Unsupported

Pattern

(?i)\b(?:programmable\s+logic\s+controller|PLC\s+(?:logic|program(?:me)?|code|ladder|routine)s?|ladder\s+(?:logic|diagram|program|listing)|rung\s+(?:logic|listing|comments?)|(?:program|routine)\s+listing|structured\s+text\s+(?:program|routine)|MainProgram|MainRoutine|(?:RSLogix|Studio\s+5000|TIA\s+Portal|Control\s+Expert|Unity\s+Pro|CODESYS|GX\s+Works)\s+(?:program|project|report|printout|listing))\b

Corroborative evidence keywords

interlock, permissive, e-stop, emergency stop, motor starter, conveyor, pump, valve, setpoint, seal-in, SCADA, [object Object], [object Object], [object Object], Modbus, Modbus TCP, Modbus RTU, DNP3, OPC-UA, OPC Classic (+12 more)

Proximity: 300 characters

Should match

Should not match

Known false positives

References