========================================================================================
COMMISSIONOS PRO v2.0 — FIELD COMMISSIONING & TELEMETRY MANUAL
STANDARD OPERATING PROCEDURE (SOP), GATEWAY INGRESS & DIAGNOSTIC PLAYBOOK
========================================================================================

1. PLATFORM ARCHITECTURE & MISSION-CRITICAL SAFETY GUARANTEES
----------------------------------------------------------------------------------------
Read-Only Field Verification Mode (Zero Control Writes):
• CommissionOS Pro v2.0 operates strictly in Read-Only Verification Mode.
• The engine only transmits Modbus Function Code 01 (Read Coils), Function Code 03 (Read Holding Registers), Function Code 04 (Read Input Registers), and BACnet/IP ReadProperty (0x0C) requests.
• Zero write commands (FC05, FC06, FC15, FC16, BACnet WriteProperty) exist in the polling engine, guaranteeing 100% compliance with Change Advisory Board (CAB) and energized white-space safety rules.

100% Genuine Driver-Driven Telemetry (Zero Synthetic Fallbacks):
• Every SCADA mimic, breaker status lamp, TCC trip curve, and annunciator pill is driven directly by asymmetrically signed external drivers (.cosdrv / .json) in the Drivers/ folder.
• Unmapped or non-responding registers are never masked with synthetic defaults; they are explicitly displayed as "--" and flagged as NO RESPONSE, UNMAPPED, or NOT ENABLED (0x8000).

Embedded Multi-Protocol Telemetry Simulator & Fault-Injection Lab:
• CommissionOS Pro v2.0 boots directly into Live Field Hardware Mode (simulator dormant) so the console is immediately ready for live energized equipment.
• Includes a built-in localhost simulator (127.0.0.1 TCP Port 502 & UDP Port 47808) that emulates all multi-vendor demo units with zero register cross-talk.
• Click [ SIMULATOR LAB ] at top-left to enable the simulator (button illuminates bright green: [ SIM LAB: ON (127.0.0.1) ]), load the Multi-VLAN Demo Schedule, and inject live ANSI 86 Lockout trips, STS source transfers, RPP Odd/Even CT ribbon reversals, loose-lug thermal rises, or breaker state changes offline.

Live Comms Heartbeat Watchdog & Cryptographic Audit Integrity:
• The Hardware Telemetry sidebar continuously monitors polling loop stability using a 3-strike consecutive miss counter (ARMED 3x -> RETRY -> TRIPPED) and latches any communication dropouts with an exact timestamp.
• Every exported PDF and CSV automatically stamps a UTC-offset ISO timestamp, explicit Telemetry Source (LIVE FIELD HARDWARE vs. SIMULATOR LAB), and a Tamper-Evident SHA-256 cryptographic hash of the recorded raw hex values.

2. HOW MODBUS & BACNET GATEWAYS WORK (PLAIN-ENGLISH OVERVIEW)
----------------------------------------------------------------------------------------
Understanding IP Addresses vs. RS-485 Node IDs:
• In modern mission-critical facilities, electrical devices (breakers, branch monitors, relays) communicate over a 2-wire RS-485 serial daisy-chain inside the lineup. An Ethernet Gateway (such as a Schneider PAS600L/PAS800L) converts that serial daisy-chain into Modbus TCP (Ethernet Port 502).
• The IP Address identifies the Gateway box on the network.
• The Node ID (Unit ID 1 to 247, or 255 for standalone IFE/ION) identifies the specific downstream device on the serial wire.
• If the IP is wrong, you get "CONNECTION TIMEOUT".
• If the IP is right but the Node ID is wrong, you get "NO RESPONSE" (Gateway Exception 0x0B).

Schneider EcoStruxure Panel Server (PAS600L / PAS800L Gateway):
• What It Does: Bridges up to 32 RS-485 serial devices onto Ethernet (Modbus TCP Port 502).
• Physical Plug: Plug your Cat5e/Cat6 patch cord into ETH1 or ETH2 (or Front Service Port).
• Default Factory IP: 169.254.0.10 (Web UI: https://169.254.0.10/public/).
• Firmware Flash Serial Wake-Up Tip: After flashing PAS600L firmware, if RS-485 frames Served = 0, log into [ WEB UI ] -> Settings -> Modbus Serial, toggle Baud Rate (9600 -> 19200 -> Apply -> 9600 -> Apply) to re-initialize the internal UART driver.

3. SIX-PHASE FIELD COMMISSIONING & TROUBLESHOOTING WORKFLOW
----------------------------------------------------------------------------------------
PHASE 1: DRIVER & SITE SCHEDULE INITIALIZATION (TAB 2 & SYSTEM HELP TAB)
• Navigate to Tab 2 (Lineup & Profile Hub) and click [ IMPORT ALL ] under Modbus Device Drivers to validate and load all drivers from the Drivers/ folder (.cosdrv or .json).
• Click [ IMPORT ] under Equipment Schedules to load your facility's Equipment Schedule (.json or .csv). (For offline evaluation or training, click [ SIMULATOR LAB ] to load the Demo Schedule.)
• Click [ NIC GUIDE ] on Tab 1 (or use Column 1 on the System Help & SOP tab) to open the Dynamic Subnet Router. Select the target equipment VLAN and click [ ASSIGN ] to automatically set your Windows Ethernet adapter to .99 on that subnet.

PHASE 2: LIVE TELEMETRY, SCADA WITNESSING & SNAPSHOT CAPTURE (TAB 1)
• Manual Selection or 1-Click Auto-Discover: Select the target Room and Unit/Tag from the dropdowns and click [ START ], OR plug into the lineup and click [ AUTO-DISCOVER ] to automatically probe scheduled endpoints and lock onto responding hardware.
• Verify that the top scorecard turns green: [ POINT MAP RESPONDED: X/X GOOD (100%) ] and that the Heartbeat Watchdog reads PULSE OK with 0 Latched Dropouts.
• Compare live CommissionOS Pro SCADA mimic values against the physical equipment front-panel HMI (voltages, phase currents, breaker 52A/52G/86 state, TCC settings, alarms).
• Click [ SNAPSHOT ] on the top control bar to capture an app-only high-DPI PNG screenshot (excluding desktop/taskbar clutter), automatically routed into your active project's 04_Field_Screenshots folder (or 04_Sim_Screenshots when in Simulator Mode).

PHASE 3: TROUBLESHOOTING DEAD NODES WITH BUS DOCTOR (TAB 3)
• Node ID Scanner ([ NODE ID SCANNER ]): Probes Modbus Unit IDs 1 through 255 across TCP Gateways or Direct Serial RS-485 COM ports at 9600 to 115200 baud (3.6s turnaround buffer at 9600 baud). Filters out 0x83 0x0A/0x0B Gateway Timeouts and flags both Valid Data and 0x83 0x02 Alive Exceptions (filed under 04_Node_ID_Scanner).
• Modbus Sweep ([ MODBUS SWEEP (PORT 502) ]): Performs dual FC03 Holding and FC04 Input register sweeps across up to 10,000 words with binary bit-level and Float32 decoding (filed under 01_Modbus_Port502_Sweeps).
• BACnet Sweep ([ BACNET SWEEP (PORT 47808) ]): Scans UDP Port 47808 for live AV, AI, BV, and BI objects and queries object names (filed under 02_BACnet_Port47808_Sweeps).
• Reconcile Lineup ([ RECONCILE LINEUP ]): Sweeps an IP subnet range on Port 502 and fingerprints MasterPact IFEs, ION9000 meters, and open gateways (filed under 03_Lineup_Subnet_Reconciler).
• Diagnostic PDF Export ([ EXPORT PDF ]): Converts any active Bus Doctor trace into a timestamped, SHA-256 verified PDF report alongside its CSV trace.

PHASE 4: L3/L4 REPORTS, FLIGHT RECORDER & EPMS POINT-TO-POINT BENCH (TAB 4)
• Sub-Tab 1 — Standard L3 / L4 & Bulk PM Reports: Exports raw-hex CSVs, 1-page L3 Start Up PDFs, and 3-party signed L4 Commissioning Witness PDFs (including automatic IEEE / NEMA MG-1 3-Phase Voltage <=2.0% and Current <=10.0% Unbalance diagnostics). Includes [ BULK PM / VLAN SWEEP ] for 1-click multi-room/multi-VLAN batch sweeps.
• Sub-Tab 2 — L4 / L5 Transient Telemetry Recorder (Polled Strip Chart & Events): Poll-cycle (100ms to 2.0s) transient recorder for Blackout, Pull-the-Plug, STS/ATS Transfer, and Generator Step-Load witness tests. Logs observed state/threshold transitions with elapsed (T+) and split (Delta-t) times, supports [ STAMP NOTE ] witness checkpoints, plots a 3-channel strip chart, tracks Min Dip / Peak Surge envelopes, auto-stops on tab switch, and exports a full-payload SHA-256 Witness PDF & CSV (05_Transient_Flight_Recorder).
• Sub-Tab 3 — EPMS / BMS Point-to-Point (P2P) Calibration Bench: Captures live local reference values into an interactive checkout table to compare against BMS/EPMS head-end graphics over radio. Automatically calculates analog Delta and % Error against selectable spec tolerances (±0.5% to ±5.0%), verifies discrete state matching, and exports a 3-party BMS Controls Tech Witness PDF & CSV (06_EPMS_Point_To_Point).

PHASE 5: EVIDENCE VAULT, SCHEDULE ARCHIVER & MASTER TURNOVER BINDER (TAB 5)
• Hard Air-Gap File Routing: CommissionOS Pro automatically separates real hardware records (C:\CommissionOS_Reports\Live_Field_Projects\[Schedule_Name]\) from Simulator Demo test files (C:\CommissionOS_Reports\Simulator_Lab_Vault\) so simulated training data never contaminates live turnover deliverables. Each loaded Equipment Schedule automatically maintains its own isolated project directory.
• Safe Schedule Archiver ([ ARCHIVE & RESET ]): Compresses all active live reports and screenshots for the current schedule into a timestamped ZIP inside Archived_Live_Projects\[Schedule_Name]\ and resets the active working tree to empty between L3 Startup, Punchlist, and L4 Witness phases without deleting historical evidence. Simulator Demo files feature a 1-click [ CLEAR DEMO FILES ] cleanup button.
• Master Turnover Binder Compiler ([ COMPILE MASTER PDF BINDER ]): Automatically merges individual PDFs by phase (L3 Startup, L4 Witness, L5 Transient IST, Annual PM, or All Phases Combined) into a single page-numbered, Bluebeam/Adobe-bookmarked Master Turnover PDF with an Executive Cover Sheet & Table of Contents (saved in 00_Master_Turnover_Binders) ready for direct CxAlloy or Procore upload.

PHASE 6: RESTORE LAPTOP NETWORK ADAPTER
• When disconnecting from the equipment network, click [ RESTORE DHCP AUTO-DETECT ] on the System Help & SOP tab (or close CommissionOS Pro—the app automatically restores DHCP on exit if elevated).

4. MULTI-VENDOR HARDWARE INGRESS & REGISTER ARCHITECTURE (31+ DRIVERS)
----------------------------------------------------------------------------------------
Substation Protective Relays & ANSI 86 Lockout Suite (PROTECTIVE_RELAY):
• Supported Relays: Schweitzer SEL-751 Feeder (Regs 250-285), SEL-700G Generator (Regs 300-345), SEL-787 Transformer Diff (Regs 350-395), GE Multilin 889 Generator (Regs 1200-1245), and ABB Relion REF615 Feeder Relay (Regs 1400-1445).
• SCADA Mimic: Displays ANSI 52 Breaker One-Line + Trip Coil (TC1/TC2) & Sync-Check (25) supervision, Electroswitch Series 24 Rotary ANSI 86 Lockout Escutcheon (+45 deg Green Normal / -45 deg Red Hand-Reset Trip with mechanical target flag), 50N/50G Residual Ground HUD, 49RTD Thermal Hotspot, and a 16-element IEEE C37.2 Protection Target Matrix.

Low & Medium Voltage Circuit Breakers & Power Quality Meters:
• Schneider MasterPact MTZ / NW (MicroLogic Type P/H): Polled via IFE (Node 255) or PAS600L/PAS800L (MLC Nodes 1-4). Displays live 3-phase V/I/kW/PF, mechanism status (Reg 12000), Cradle Position (Reg 15300 CE/CD/CT), and log-log TCC curve (Regs 8755-8787 Mod10k).
• Eaton Magnum DS & Power Defense (Digitrip 1150 / PX-PM): Regs 1000-1023 (V/I/kW/Status/Cell/Spring) and Regs 1030-1037 (Digitrip 1150 TCC curve).
• Schneider PowerLogic ION9000 (Regs 2999-21304), Eaton PowerXpert PXM 2000-8000 (Regs 4000-4105), & Starline Track Busway CPM M40 (Regs 700-716): Displays Class 0.1S grid frequency, total kW/PF, and IEEE 519 Current THD bar graphs (<3% optimal, <5% limit).

Static & Automatic Transfer Switches & Lug Thermal RTUs:
• ABB / Cyberex SuperSwitch 4 Digital STS: Polled on Node 2 (Source 1 Regs 1000+, Source 2 Regs 2000+, Alarms 1304+). Renders dual-source SCR 1 / SCR 2 conduction mimic, S1/S2 input & bypass breakers, Load A/B switches, and sync check.
• ASCO 7000 Series Group 5 ATS (Regs 1600-1639): Renders electromechanical N-POS / E-POS contactor transfer mimic, source availability, in-phase sync monitor, TDES/TDNE timer health, and solenoid mechanism status.
• ABB / Cyberex PowerView Thermal RTU (Node 1, Regs 63500-63625): Evaluates 24 termination lugs (S1, S2, SFB1-SFB4) against Channel 25 Enclosure Ambient air temperature using NETA ATS/MTS Delta-T severity classifications (Class 0 Normal <10F, Class 1 Monitor 10-25F, Class 2 Deficiency 26-40F, Class 3 Critical >40F).

UPS Systems, Li-Ion Battery BMS & Branch Circuit Monitoring (RPP / PDU):
• Schneider Galaxy VX (Regs 4354-5378) & Vertiv Liebert EXL S1 / NX UPS (Regs 600-621): Renders 3-way double-conversion power flow mimic plus driver-defined switchgear breaker matrix (UIB..BF2 / CB1..SSW).
• Schneider / Samsung SDI Li-Ion Battery BMS: Polls FC04 Input Registers (Master Regs 1-10, Racks 1-5 Regs 40-322). Displays Master SOC/SOH, cell voltage spread in mV (<30mV normal), 5 interactive rack disconnect cards, module/cell hex locator decoding, and 14 hardware protection flags.
• Multi-Circuit RPP / PDU Monitors (Regs 245-267 Mains, Regs 1335-1376 Branches 1-42): Supports Schneider BCPME / PAS800, Eaton PowerXpert PXBCM, and ABB TruFit PDU / Cyberex CMS-700 BCMS with 1-click Panel A (Node N) / Panel B (Node N+1) switching.
• 2N Sister-Pair RPP Side-by-Side Comparator (84-Circuit Dual View): Dedicated 2N redundancy verification driver (Schneider_BCPME_2N_Sister_Pair_Compare) that displays Sister RPP-A (42 circuits + 3-Phase Mains Pills) and Sister RPP-B (42 circuits + 3-Phase Mains Pills) side-by-side. Automatically flags reversed Odd/Even CT ribbon harnesses and verifies NEC 80% failover balance. Includes [ PIN LIVE AS SISTER A ] for single-cable walk-downs across gateways.
• Multi-Node RPP Loop & Auto-Discovery (Schneider_BCPM_Branch_Strip_Map_1_to_42): Includes [ DISCOVER LOOP NODES ] and a dynamic Loop Nodes dropdown to walk all 6 RPPs on a PAS600L daisy-chain. Automatically reads both BCPME (Regs 245-1376) and BCPM Branch Strip Map (Regs 1-42) + Paired MCM Mains Meter (Nodes 17/33/49/65, Regs 2-24).

EPSS Emergency Generators, Fuel Storage PLC, Central Chillers & Cooling CDUs:
• EPSS Generators: Kohler APM603 (FC01 Coils + Float32 Regs 0-675), Caterpillar EMCP 4.2/4.4 (Regs 3200-3229), Cummins PowerCommand PCC 3300 (Regs 3300-3329), and Kohler Decision-Maker 5500 (Regs 3400-3429). Renders Prime Mover analog tachometer & vitals, AC Alternator (480V LV or 13.2kV MV), 52G Breaker, and 16-point NFPA 110 Level 1 Emergency Safety Annunciator Matrix.
• Siemens Fuel Storage & Transfer PLC (Dwg 03011, Regs 29-73): Renders D11 and D12 Day Tanks (% Full, Gallons, Inches), 90% High / 25% Low level ticks, basin leak sensors, and dynamic pump/solenoid valve alarm cards.
• Central Chilled Water Plant (CHILLER_PLANT): Supports Daikin Magnitude WME (Regs 1800-1817), York YK/YZ OptiView (Regs 1850-1867), Trane CenTraVac Symbio 800 (Regs 1900-1967), and Carrier AquaEdge 19DV PIC6 (Regs 1950-1967). Renders Evaporator Barrel, VFD Centrifugal Compressor & kW/Ton HUD, Condenser Barrel, Approach Delta-T, and 12-Point Safety/Flow Interlock Matrix.
• Precision CRAHs & AI Liquid Cooling CDUs (CRAH_HVAC): Supports Stulz CyberAir C7000/E2 (Native BACnet/IP UDP 47808), Vertiv Liebert iCOM CW/DSE (Regs 500-520), and Motivair / CoolIT AI Liquid Cooling CDUs (Regs 800-820).
========================================================================================