Back to remote jobs

PLC programs in Structured Text, commissioned on a plant simulator

Hashlist

AI Expert - Industrial / Manufacturing Engineering Freelancer
Remote (Global) $300 per successful submission November 30, 2026

Job description

Pay: $300 / successful submission

Tasks where the model writes the PLC program of a machine cell in IEC 61131-3 Structured Text and commissions it on a plant simulator before site, as a controls engineer does. The simulator moves the machines and the parts; it does not judge. The model checks its program against the rules your prompt states. A grader you write runs the program scan by scan on the same plant with those rules checked, on hidden scenarios, and scores each scenario on the job done and on safety.

  • Agent box: Debian with STruC++ 0.8.1 (ST to C++), g++ and Python with numpy, internet off. The model has 150 steps. plcsim compiles the program and runs it against a plant model, one 10 ms scan per step: plcsim build, plcsim run --scenario <file> [--watch A,B], plcsim runall. Your handouts are under /app/data/task:

    • IO.st: a CONFIGURATION whose VAR_GLOBAL declares every input and output as a located variable (AT %IX0.0 and so on), and one cyclic task that runs PROGRAM Main;
    • sim/cell.py: your plant model, a plcsim.cell.CellBase subclass with JUDGED = False: the devices, the parts, the faults from the scenario file and the operator, plant events, and the plant's state for the trace (state()). No rule checks, no verdict, no collision detection: plcsim run prints only how the run ended, and writes a trace of the I/O, the plant state and the events;
    • scenarios/: two to four public scenarios;
    • any device sheets, as text.
  • What the model hands in: /app/plc/*.st with PROGRAM Main, using the I/O through VAR_EXTERNAL. No located variables, CONFIGURATION, RESOURCE or TASK of its own. For a repair task, hand over the faulty program in /app/data/task and ask for the repaired one in /app/plc.

  • Grader (you write it, in verifier/): start from the templates in environment/plcsim/templates (report.py, verifier.Dockerfile, README).

    • sim/monitors.py holds the rules: a subclass of your plant that compares its state before and after each scan and records each broken rule (crash, dropped part, unexpected start, a bad part shipped), and the task result at the end. It is never in the agent's box.
    • report.py compiles the hand-in against your own copy of IO.st, checks the interface rules, and runs every hidden scenario on your own copies of the plant and its monitors. A scenario passes only if the task is met and no safety rule is broken: one violation fails it.
    • One check per group of scenarios (normal running, each kind of fault, e-stop, power loss, mixed); a group counts only if all its scenarios pass. The task's criteria give the groups their points.
    • It writes the reward and, for each failed group, which scenario failed and why (the rule, the time, what happened).
    • Hidden scenarios are draws inside the fault envelope your prompt states: other timings, fault moments and part mixes, never a new kind of fault.
  • Any valid program must pass.

    • Score what the cell must do and what must never happen, never the way you wrote your program: another sequence, another tracking method, other state machines must pass if the cell runs safely and gets the job done.
    • Every rule your monitors check must be stated in words in the prompt the model reads: the I/O map and what each signal means, travel times and their ranges, what counts as a crash or an unexpected start, the operator's behaviour, how fast the cell must be, and the fault envelope with the range of each draw. Say that the simulator does not judge, and what its trace holds, so the model can check the rules from it.
    • A throughput limit must be stated as a rule the model can check, for example a scenario's time against your reference program's time.
  • What you hand in:

    1. agent/PROMPT.md: the request as a colleague would hand it over, with the cell, the I/O map, the device behaviour, the safety rules, the performance requirement and the fault envelope.
    2. The handouts, under environment/data/task.
    3. verifier/report.py, your copies of IO.st and the plant model, verifier/sim/monitors.py, and the hidden scenarios.
    4. references/gold.py, a Python script that writes your program into /app/plc (Golden set takes Python scripts, not shell scripts). It scores 1.00. One alternative correct program written another way, which also scores 1.00.
    5. At least two wrong programs, as Common mistakes (naive_a.py, naive_b.py, …, each a Python script that writes its program into /app/plc): what a competent engineer gets wrong first. Examples: a level command where an edge was needed; no time limit on an actuator's feedback, so a slow cylinder hangs the cycle; interlocks not checked again after an e-stop reset or a power return; a timer where the distance travelled was needed; a shared gripper that picks up a part it cannot put down. Each scores below 1.00 and fails only the groups your note names.
    6. A note in references/steps.md (the model never sees it): the idea in one sentence; the requirements table (requirement, group that checks it, the wrong program that breaks only it, its score); how the scenarios were drawn.
  • What makes a good task: the cell turns on a judgement a controls engineer makes on site and the prompt does not spell out. For example: tracking a part by position through stops; what is safe to do first after a cold start with parts in the machine; a shared resource that can deadlock; when to stop the cell and call the operator.

    The model has your simulator and plant model, and strong models write their own scenarios across your whole envelope and run hundreds of them before handing in. On our seed cells Kimi K3.1 Pro fully passed 15 runs out of 15 when the simulator printed a verdict for every broken rule, and 5 out of 5 when it did not: it turned the prompt's rules into its own checks and tested with them. So the simulator does not judge, and the judgement must be in the design: what to do that testing on the simulator alone does not tell you.

    We reject:

    • single function blocks from a spec (a timer, a counter, a PID): models already do these;
    • tasks a model can pass without running the program on the plant;
    • planted tricks: an effect the real machine would not have, or a rule the prompt does not state;
    • tasks that are hard only because they are long, or that the model fails only by running out of steps.
  • Known STruC++ 0.8.1 behaviours: tell your model only what a site manual would.

    • Configuration globals are reached through VAR_EXTERNAL in each POU.
    • VAR_IN_OUT is copy-in, copy-out. A method may not be named like an operator (ADD, SUB, …).
    • An array index out of range or an integer division by zero stops the CPU for the rest of the scenario.
    • Only the IEC standard libraries are loaded (no OSCAT).
    • After a power return the PLC cold-starts: TIME() counts from 0, nothing is retained.
  • How a task is accepted:

    1. Pressing Run hands the task in. It runs Kimi K3.1 Pro at its top effort and Claude Opus 5.5, each 5 times.
    2. The task is accepted if Kimi fully passes (every group) at most 2 times out of 5, at least one run of either model fully passes, Verify says SOUND, and it meets the checklist below.
    3. If review finds the model failed for a reason other than the engineering (a missing fact, a hidden limit, a faulty check), the task comes back to you once, with the line that shows it. Hand the fix in within 14 days.
  • Payment: paid within 14 days of acceptance.

Checklist

  • The prompt states the cell, the I/O map, every device's behaviour and timing range, the safety rules, the operator, the throughput rule and the fault envelope, says the simulator does not judge, and describes its trace.
  • The plant in the agent's box has no rule checks; every rule is in verifier/sim/monitors.py and in words in the prompt.
  • The grader compiles against its own IO.st and runs its own copy of the plant model; nothing the model can edit is graded.
  • Hidden scenarios are inside the stated envelope; each group has at least three.
  • gold.py scores 1.00, an alternative correct program scores 1.00, and each wrong program fails only the groups your note names.
  • One full grade takes under 30 minutes on 4 CPUs.
  • You made the task, the plant model and the reference yourself, without AI generating them, and you have the right to submit them for reuse, including AI training.

A SOUND result in Verify shows only that your reference scored 1.00 and the wrong programs you supplied scored less. We check the rest from what you hand in.

No AI-generated tasks (real work only)

Brief details: 5 trials · 2 models · 8-14h · Pre-created environment · Several submissions allowed

Who can apply

Open to
Anywhere in the world
Posted
November 30, 2026 by Hashlist
Last checked
November 30, 2026: still open on dop.hashlist.com, where you apply
Apply now

Opens dop.hashlist.com in a new tab. If they ask how you found the role, mention RemoWork.

Apply now

Stay in the loop.

Occasional emails with our new remote-work guides. No spam, unsubscribe anytime.