Please enable JavaScript.
Coggle requires JavaScript to display documents.
Virtual PLC (PLC classes # (Pump :check: (Pump speed, Flow rate, Pump head…
Virtual PLC
PLC classes
#
Valve :check:
Gate valve (Open/Closed)
Globe valve (%)
Relief valve
Pump :check:
Pump speed
Flow rate
Pump head
Output pressure
Power
Compressor
Tank
Level indicator
Circuit Breaker
Motor
Speed control
Generator
Voltage Regulator
Frequency Regulator
Thermometer
Hygrometer
Smoke detector
Anemometer
Camera
Rain gauge
#
Heater
#
Cooler
#
Thermostat
Fan
Smart Vent
Irrigation
#
Lights
Heat Exchanger
Temp In
Temp Out
PLC Groups
#
Pump
Valve
Pump
Valve
Compressor
Valve
Compressor
Valve
Tank
Tank
Valve
Power Bus
Circuit Breaker
Motor
Motor
Circuit Breaker
Generator
Generator
Circuit Breaker
Fuel Tank
#
HVAC
Thermostat
Heater
Cooler
Fan
Smart vent
Class instance
Variables
I/O
Mapped to coils/registers
Packet parsing
#
Which address?
Read/write?
Data
Ack comms to HMI
#
mySCADA
HMI
Components mapped to class instances
Handles comms with Python files
Virtual machine
IP address for PLC
Contains a single "block" of components
#
Each component is a class instance
Tests
Unit tests
Pump
Pump class
Speed control
Pump laws
Read speed
Read pressure
Read flow rate
Read pump power
Centrifugal pump class
Get speed
Get flowrate
Get pressure
Get power
Change speed
Positive displacement class
Get speed
Get flow rate
Get pressure
Get power
Change speed
Valve
Relief class
Low pressure close
High pressure open
Set blowdown pressure
Set relief pressure
Read valve position
Globe class
Close valve
Open valve
Turn valve handle
Read valve position
Gate class
Turn valve handle
Read valve position
Valve class
Close valve
Open valve
Change valve position
Valve position
System flow rate
Valve pressure drop
Calculate valve flow coefficient
Functional tests