User Manual V3.1
Element14 | element14.com/minode 30
j) Relay Module
The relay is an electrically operated switch. It is a digital switch that can be used to control
high-voltage electrical devices, such as some home appliances. (up to a maximum of
250V).
*IMPORTANT: It can be dangerous to attach the relay module to an AC (110V/220V)
device. Our purpose for this module is to illustrate how home appliances can be
controlled. It is NOT necessary to connect a real appliance. A ‘clicking’ sound can be
heard when the relay switches ON/OFF.
Image 3.4j – Relay Module
Electrical Characteristics
NO:5A 250VAC/28VDC
NC:3A 250VAC/28VDC
Block API
Set Relay Status
Use this code block to set the relay module's status to open or close.
Function
RelayControl(connName:ConnName , status:FanStatus): void
Parameters
‘ConnName’ is the connector's name.
‘status’ is the status of the relay open or close.