Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/sphere/p1-hello-world/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { P1Replay, type Bundle } from './replay';
import bundle from '@/data/p1-rockwell-replay.json';

export const metadata: Metadata = {
title: 'SPHERE ICS hello world: Rockwell P1 replay',
description: 'A self-guided replay of 42 recorded samples from a bounded SPHERE Rockwell controller and simulator PLC test.',
title: 'Your First SPHERE Experiment | Raw-Water Intake Replay',
description: 'Explore a recorded raw-water intake test on two physical PLCs. Follow the reported level, controller response, and evidence across 42 samples.',
robots: { index: false, follow: false },
};

Expand Down
3 changes: 2 additions & 1 deletion src/app/sphere/p1-hello-world/replay.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.notice{background:#e8f2f0;border-left:4px solid var(--teal);font-size:16px;line-height:1.5;padding:15px 18px;margin:34px 0 0;max-width:850px}
.section{padding:68px 0;border-bottom:1px solid var(--line)}
.sectionHead{display:flex;align-items:flex-start;gap:22px}
.sectionHead h2{font-size:clamp(32px,3.5vw,50px);line-height:1.1;letter-spacing:-.04em;margin:4px 0 0;color:var(--ink)}
.sectionHead h2{font-size:clamp(32px,3.5vw,50px);line-height:1.1;letter-spacing:-.04em;margin:4px 0 0;color:var(--ink);scroll-margin-top:118px}
.stepNumber{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;background:#dfece9;color:var(--teal);font-weight:850;font-size:20px}
.sectionLead{font-size:20px;line-height:1.5;color:#33465a;max-width:820px;margin:27px 0 0 74px}
.setup{display:grid;grid-template-columns:1fr minmax(140px,.56fr) 1fr;align-items:stretch;gap:18px;margin:40px 0 0 74px;max-width:970px}
Expand Down Expand Up @@ -81,6 +81,7 @@
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:stretch;background:#071d33;color:#fff;border:0;border-radius:0 0 22px 22px;padding:42px 42px 42px 54px;min-height:470px;overflow:hidden}
.heroCopy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.hero .eyebrow{color:#85d6c4}
.heroMode{align-self:flex-start;border:1px solid #70bcae;background:#154239;color:#d6ffed;border-radius:999px;padding:8px 12px;margin:14px 0 0;font-size:13px;font-weight:750;line-height:1.3}
.hero h1{font-size:clamp(42px,4.8vw,67px);line-height:1.03;max-width:620px;color:#fff;margin:17px 0 20px}
.heroLead{color:#d2e1e9;font-size:clamp(19px,2vw,25px);max-width:590px;margin:0}
.heroLink{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;background:#c1f0e2;color:#09293c;font-size:16px;font-weight:800;text-decoration:none;border-radius:7px;padding:14px 18px;margin-top:26px;transition:transform .18s,background .18s}
Expand Down
26 changes: 14 additions & 12 deletions src/app/sphere/p1-hello-world/replay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,33 +158,35 @@ export function P1Replay({ bundle }: { bundle: Bundle }) {
<div className={styles.wrap}>
<header className={styles.hero}>
<div className={styles.heroCopy}>
<p className={styles.eyebrow}>SPHERE ICS CLUSTER / SELF-GUIDED HELLO WORLD</p>
<h1>Watch a controller command appear in a second PLC.</h1>
<p className={styles.heroLead}>Follow a recorded P1 level, controller response, and matching simulator input through 42 real samples.</p>
<a className={styles.heroLink} href="#step-two">Explore the replay <span aria-hidden="true">↓</span></a>
<div className={styles.heroFacts}><span><b>02</b> physical PLCs</span><span><b>42</b> samples</span><span><b>~5 min</b> self-guided</span></div>
<p className={styles.eyebrow}>SPHERE ICS CLUSTER · HELLO WORLD</p>
<p className={styles.heroMode}>Recorded hardware example · P1 raw-water intake</p>
<h1>Your first SPHERE experiment</h1>
<p className={styles.heroLead}>In water treatment, a tank-level reading helps determine when a valve should open. Follow one recorded test: see the reading change, the controller respond, and the evidence the experiment captured.</p>
<a className={styles.heroLink} href="#step-one">Start the walkthrough <span aria-hidden="true">↓</span></a>
<div className={styles.heroFacts}><span><b>P1</b> raw-water intake</span><span><b>42</b> recorded samples</span><span><b>Read-only</b> replay</span></div>
</div>
<figure className={styles.heroPhoto}><Image src="/images/demos/p1/rockwell-rack-complete.png" alt="Complete view of one of the two physical Rockwell ControlLogix racks used by the SPHERE ICS facility" fill priority sizes="(max-width: 760px) 100vw, 45vw" /><figcaption>One complete facility rack · illustrative</figcaption></figure>
</header>
<p className={styles.notice}><strong>Recorded, not live.</strong> This page does not connect to PLCs. The October 10 test used a scripted tag stimulus, not an HMI click or an attack.</p>
<p className={styles.notice}><strong>What you will do:</strong> Play or scrub a recording from two physical controllers, compare the reported level with the controller and simulator tags, and check what that evidence supports. This page has no live controls. The October 10 test used scripted tag inputs, not an operator click or an attack.</p>

<section className={styles.section} aria-labelledby="step-one">
<div className={styles.sectionHead}><span className={styles.stepNumber}>01</span><div><p className={styles.eyebrow}>Meet the setup</p><h2 id="step-one">What is connected?</h2></div></div>
<p className={styles.sectionLead}>A ControlLogix runs the P1 control logic. A second ControlLogix hosts the simulator I/O image. The tank process is modeled in software.</p>
<div className={styles.sectionHead}><span className={styles.stepNumber}>01</span><div><p className={styles.eyebrow}>Understand the scenario</p><h2 id="step-one">A raw-water tank and a valve decision</h2></div></div>
<p className={styles.sectionLead}>P1 is the raw-water intake stage of the RoviSys water-treatment use case. In this test, a scripted tank-level reading and Start input led the controller to command its inlet valve. The tank model stayed stopped: you will see the controller decision and simulator input, rather than water moving through a tank.</p>
<p className={styles.sectionLead}>Two physical ControlLogix programmable logic controllers (PLCs) make this possible. One runs the control logic; the other hosts simulator input/output (I/O) tags. The prepared human–machine interface (HMI) is used in separate guided beta sessions; it did not trigger this recording.</p>
<div className={styles.setupVisuals}>
<div className={styles.setup} aria-label="Controller PLC output and simulator PLC input are compared in the recorded I/O images">
<div className={styles.setupNode}><span className={styles.plcGlyph} aria-hidden="true"><i /><i /><i /><i /></span><small>PHYSICAL PLC 1</small><strong>Controller</strong><span>Reads reported P1 level<br />Commands the P1 valve</span></div>
<div className={styles.setupLink}><span>Controller output bit</span><b aria-hidden="true">→</b><span>Simulator input bit</span></div>
<div className={styles.setupNode}><span className={styles.plcGlyph} aria-hidden="true"><i /><i /><i /><i /></span><small>PHYSICAL PLC 2</small><strong>Simulator</strong><span>Receives the valve bit<br />Tank model stopped in this test</span></div>
</div>
<figure className={styles.hmiPhoto}><Image src="/images/demos/p1/factorytalk-hmi.png" alt="Illustrative FactoryTalk HMI screen showing a water-treatment tank and controls" fill sizes="(max-width: 760px) 100vw, 35vw" /><figcaption>Prepared HMI for guided beta sessions. It did not trigger this recorded test.</figcaption></figure>
<figure className={styles.hmiPhoto}><Image src="/images/demos/p1/factorytalk-hmi.png" alt="Illustrative FactoryTalk operator screen showing a water-treatment tank and controls" fill sizes="(max-width: 760px) 100vw, 35vw" /><figcaption>Illustrative operator HMI for guided beta sessions. It did not trigger this recorded test.</figcaption></figure>
</div>
<p className={styles.finePrint}>The recorded test observed PLC I/O-image values. It did not measure current at the terminals or run a complete tank cycle.</p>
</section>

<section className={styles.section} aria-labelledby="step-two">
<div className={styles.sectionHead}><span className={styles.stepNumber}>02</span><div><p className={styles.eyebrow}>Explore the recorded run</p><h2 id="step-two">Press Play, then scrub the trace</h2></div></div>
<p className={styles.sectionLead}>Playback is slowed to one-third speed for viewing. Every position is an actual recorded sample; the time labels show the original elapsed time.</p>
<div className={styles.sectionHead}><span className={styles.stepNumber}>02</span><div><p className={styles.eyebrow}>Observe the response</p><h2 id="step-two">Follow the reading, command, and response</h2></div></div>
<p className={styles.sectionLead}>Press Play, or move the slider to any of the 42 recorded samples. Notice when the reported level changes, when the scripted Start input is applied, and when the valve command appears in the simulator PLC input image. Playback is slowed to one-third speed; time labels show the original elapsed time.</p>
<div className={styles.player}>
<div className={styles.playerTop}>
<div><span className={styles.phaseLabel}>{phase.label}</span><p className={styles.phaseExplanation}>{phase.explanation}</p></div>
Expand Down Expand Up @@ -228,7 +230,7 @@ export function P1Replay({ bundle }: { bundle: Bundle }) {
</section>

<section className={styles.section} aria-labelledby="step-three">
<div className={styles.sectionHead}><span className={styles.stepNumber}>03</span><div><p className={styles.eyebrow}>Check your observation</p><h2 id="step-three">What did the PLCs show?</h2></div></div>
<div className={styles.sectionHead}><span className={styles.stepNumber}>03</span><div><p className={styles.eyebrow}>Interpret what you saw</p><h2 id="step-three">What did this test show?</h2></div></div>
<div className={styles.questionGrid}>
<CheckQuestion question="During Start, where was the controller valve output also observed?" answers={['In the simulator PLC input image', 'Only on the HMI screen', 'At a measured field terminal']} correct={0} explanation="The captured controller output bit 0 and simulator input bit 0 were both 1 in every Start sample." />
<CheckQuestion question="What returned to its baseline in the final samples?" answers={['Only the displayed chart', 'Reported level, controller state, and both digital bits', 'A physical water tank']} correct={1} explanation="The reported level returned near 200 mm, the controller was IDLE, and both digital bits were 0." />
Expand Down
Loading