deckle studio
Open the editor
Behavioural mixed-signal modelmodbus_hmi

HMI operator panel 24 V (Modbus RTU master, RS-485)

Touch panel on 24 V DC as Modbus RTU master on RS-485 (as FLEXEM, Weintek or Delta panels are set up for a controller). It polls holding registers of one slave (function 03) and shows them with your labels; its START and STOP keys (click them while the simulation runs) write the command register (function 06). Wire A and B to the transceiver's A and B (not crossed) and terminate the bus with 120 Ω.

+24V0VA (D+)B (D−)
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Reference prefix
HMI
Pins
4
Interactive
Click it while the simulation runs

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
modbus_hmi
Supply pins
24V / 0V

Pins 4

PinNameUse
24V+24VSupply pinSupply input: decouple with 100 nF close to the pin
0V0VGround pinGround
AA (D+)I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)
BB (D−)I/O pinGeneral-purpose I/O: LEDs (with series resistor), buttons (with pull-up)

Parameters 14

Slave addressaddr
Default1
Baud ratebaud
Default9600
240048009600192003840057600115200
First registerstart
Default0

Holding register address (0-based, as in the frame)

Registers showncount
Default4
Register labelslabels
DefaultPressure mbar,State,Decay mbar/s,Command

Comma-separated, one per register

State registerstateReg
Default1

Index in the block shown as a name from the list below (-1: none)

State namesstates
DefaultIDLE,FILL,SETTLE,TEST,PASS,LEAK,FAULT,VENT
Command registercmdReg
Default3
START writesstartVal
Default1
STOP writesstopVal
Default2
Poll intervalinterval
Default250 ms
Reply timeouttimeout
Default200 ms
Powerpower
Default5 W

Drawn from 24 V (assumption for a 7" panel)

Key heldkeylive
Default0

1 = START, 2 = STOP (click the keys on the panel)

PCB

No land pattern: the part is not placed on the board.