Uniplay List Box Function Example - Alarm Listing Example
CODE EXAMPLE:
ALARM (program)
'Alarm message triggered by changing "alarm_number" value.
'Other logic to be done to facilitate this.
DIM clock_alarm1 AS STRING(64)
DIM clock_alarm2 AS STRING(64)
DIM clock_alarm3 AS STRING(64)
DIM clock_alarm4 AS STRING(64)
DIM clock_alarm5 AS STRING(64)
DIM alarm_number AS INTEGER
alarm_number = 0
WHILE TRUE
DIM alarm AS INTEGER
WAIT UNTIL alarm_number <> 0
alarm = alarm_number ' minimize the chance to lose an alarm while processing
alarm_number = 0
IF alarm = -1 THEN
' clear the alarms
clock_alarm1 = ""
clock_alarm2 = ""
clock_alarm3 = ""
clock_alarm4 = ""
clock_alarm5 = ""
ELSEIF alarm = 1 THEN
clock_alarm1 = TIME$ + " 001: Safety Not Ready"
ELSEIF alarm = 2 THEN
clock_alarm2 = TIME$ + " 002: Drive Error"
ELSEIF alarm = 3 THEN
clock_alarm3 = TIME$ + " 003: EtherCat Error"
ELSEIF alarm = 4 THEN
clock_alarm4 = TIME$ + " 004: Product Low"
ELSEIF alarm = 5 THEN
clock_alarm5 = TIME$ + " 005: Feeder Jammed"
ENDIF
WEND
Related Articles
AN-343 Jogging axis with Trio UNIPLAY HMI
This document will show the user some tips to program a jogging operation with a Trio Uniplay HMI.
Error display Exx - what do they mean?
Error Display Codes Unn Unit error on slot nn - see SYSTEM_ERROR Ann Axis error on axis nn - see AXISSTATUS Cnn Configuration error on unit nn ie: too many axes - see SYSTEM_ERROR Exx processor / memory event - see SYSTEM_ERROR and FLASH_LOG E00 - ...
TPS Teach Pendant as Uniplay HMI (P955)
The example program and documentation shows how to use the Teach Pendant as a more conventional Uniplay HMI. It also shows how to assign bindings to the physical buttons on the peripheral of the front membrane.
Uniplay HMI IP Address Change Using Motion Perfect
A video is available on our Trio Website showing how to carry out the IP address of your Uniplay 7 or 10 HMI. Please follow this link. http://www.triomotion.uk/system/downloadPage.php?location=%2Fvideos%2FUniplay_HMI
Masking Keypad Data Entry / Hiding Passwords On Uniplay HMI's
Go to the Advanced in the properties box of your data entry and tick the Password box. Choosing this option puts in a * for every entry selected.