Specifications
Sicon-8 Technical Manual CircuitWerkes, Inc.
74
Function: LED_GetStatus
Parameters: param1
Returns: Boolean
param1 = channel number (1 – 32)
Example: MyLED = LED_GetStatus(1)
Set MyLED variable to the value of the status LED on channel 1. 1 mean LED is ON, 0 means LED is off.
*************************************************************************************************
Function: LED_GetAlarmValue
Parameters: param1
Returns: Boolean
param1 = channel number (1 – 32)
Example: MyAlarmExists = LED_GetAlarmValue(1)
Set MyAlarmExists variable to 1 if LED alarm is set to trigger when it's ON, 0 if set to trigger when OFF.
*************************************************************************************************
Function: LED_SetAlarmValue
Parameters: param1
Returns: Nothing
param1 = channel number (1 – 32)
Example: LED_SetAlarmValue(1) = 1
Set status alarm of channel 1 to trigger on ON state.
*************************************************************************************************
Function: LED_SetLabel
Parameters: param1
Returns: Nothing
param1 = channel number (1 – 32)
Example: LED_SetLabel(1) = “My Label”
Changes the caption of the status on channel 1 to “My Label”
*************************************************************************************************