Use these templates to keep answers consistent and implementable.
Ask only the missing items that matter:
| Type | Address | Name | Device | Normal State | Notes |
|---|---|---|---|---|---|
| Input | X0 | Start PB | Button | OFF | Rising-edge or maintained? |
| Input | X1 | Stop PB | Button | ON/OFF | Confirm wiring logic |
| Output | Y0 | Motor Run | Contactor/Drive | OFF | Include overload permissive |
| Address | Name | Purpose | Retentive | HMI Visible | Notes |
|---|---|---|---|---|---|
| M0 | Auto mode | Mode latch | No | Yes | Set from HMI/manual switch |
| M10 | Run command | Internal command | No | Yes | Gated by permissives |
| D100 | Set speed | Parameter | Yes | Yes | Unit and range required |
Use this format when writing ladder logic in text:
Network 1 - Mode and reset
Network 2 - Permissives and interlocks
Network 3 - Output control
Network 4 - Alarms and HMI status
| HMI Object | PLC Address | Data Type | Access | Display/Input Range | Notes |
|---|---|---|---|---|---|
| Run status lamp | M10 | Bit | Read | ON/OFF | Green when running |
| Speed setting | D100 | Word | Read/Write | 0-3000 rpm | Add bounds check |
| Alarm code | D200 | Word | Read | 0-999 | Map to alarm text |
| Alarm No. | Trigger | Message | Reset Condition | Stop Level | HMI Address |
|---|---|---|---|---|---|
| 1 | X10 OFF | Emergency stop active | E-stop reset and reset PB | Immediate stop | M200 |
| 2 | M301 ON | Servo fault | Servo reset complete | Controlled stop | M201 |
| Step | Check Item | Expected | Actual | Result | Notes |
|---|---|---|---|---|---|
| 1 | PLC connection | Online | USB/serial/Ethernet | ||
| 2 | Inputs monitor | Matches field devices | Test one by one | ||
| 3 | Outputs manual test | Safe action | One output at a time | ||
| 4 | Auto sequence dry-run | Correct order | No product/load |