THE WORKSHOP / HOUSE POWER & SIMPLE PLC CONTROL

The Power Shed

Follow the supply through the distribution line, service transformer, meter base, and panel. Select fan speed and light wattage, then edit how the PLC maps each switch position.

00:00
LOCAL PROCESS VIEWHOUSE POWER ON
Power supply from substation through distribution and meter to a house PLC controlling a fan and light SUBSTATION → DISTRIBUTION → METER → HOUSE HOME SubstationSUPPLY ON Distribution lineMedium voltage Servicetransformer120/240 V service 75 WkWh Meter +meter base0.0000 kWh Main panelCLOSED K1 + drive Fan · 15 WRUNNING K2 + dimmer Light · 25 WON HOUSE-01 PLCRUN · 24 VDCSwitch inputs → outputs Electrical supplyLow-voltage PLC control Functional model: relays enable each load; a fan drive and light driver follow the PLC output commands.
House demand
Meter energy
Fan / light

Gold paths show supply and load activity. The fan spins and the light glows when their relay outputs are on. Local visualization remains visible during communication or supply loss.

CENTRAL COMMAND

Supervise. Command. Verify.

ONLINE
REPORTED MODE
PROCESS STATUS
ACTIVE PROGRAMv1

OPERATOR COMMANDS

Wall switches feed the PLC. Central command can hold both loads off or resume the program.

ALARMS & ADVISORIES
Operator command history

ENGINEERING WORKSTATION

Modify the PLC control rules.

Active v1

Edit FanLow, FanMedium, FanMediumHigh, and FanHigh (0–100%); LightLow, LightMedium, and LightHigh (0–150 W). Values must be in ascending order. FanRun and LightOn accept Boolean rules using FanSwitch, LightSwitch, RoomTemp, Dark, FanPosition (1–4), and LightPosition (1–3). Validate, then Download to apply; step or resume when paused. Reloading restores defaults.

LIVE I/O & RULES
CONTROL NOTES

Fan: Low, Medium, Medium-high, and High default to 25%, 50%, 75%, and 100% speed. Edit their values in the PLC program.

Light: switch positions 1, 2, and 3 default to 25 W, 60 W, and 100 W. Edit LightLow, LightMedium, and LightHigh to change them.

Example: change FanMedium := 50; to FanMedium := 60; and LightMedium := 60; to LightMedium := 75;. Download, then select those switch positions.

Outputs: digital outputs enable the relays. AO0 represents a fan-drive speed command; AO1 represents a compatible light-driver command. Both use an illustrative 0–10 V scale.

Meter: counts the selected light watts, an illustrative fan demand of 60 W × speed percentage, and 5 W for the PLC supply. This is a learning model, not a motor or lamp performance curve. A fixed-wattage bulb does not become a different rated bulb when switched.

Enable rules: FanRun and LightOn decide whether the selected settings are applied. The sensor example adds temperature and darkness conditions. Loss of power or a central hold forces both outputs off.

CONTROL NETWORK

One process. A complete control path.

Engineering workstationLogic validation & downloads
Ethernet
Managed switchControl VLAN · approved paths
Ethernet
HOUSE-01 controllerLocal control RUN
POWERPWR24 VDC
SLOT 0CPURUN
SLOT 1NETLINK UP
SLOT 2DIField status
SLOT 3DOCommands
SLOT 4AITemperature
SLOT 5AOSpeed / light
RECENT EVENTS
    RECENT LOCAL TREND

    Cyan: house demand (W) · Gold: room temperature (°C). Vertical scale 0–250; latest 120 simulation seconds.

    Educational process model. Equipment, operating limits, and protection behavior are illustrative; this page does not communicate with physical equipment or calculate a production design.