Applies To: |
|
Summary: |
Take for example, the following project
configuration: Variable Tag: Name: VAR1 Type: DIGITAL I/O Device: IODev Address: D1 Alarm Tag: DIG1 Alarm Name: DIG1 Alarm Description: {UserInfo(1)} Var Tag A: VAR1 With an "ENGINEER" logged in, you trigger VAR1. The following will appear in the Alarm page: DIG1 DIG1 EN You can clearly see that the Alarm Description has been truncated to two characters. |
Solution: |
There is a simple workaround to this
problem: Create a Memory Tag: Name: CurrentLoginName Data Type: STRING I/O Device: MEMORY Address: S1 Then create a cicode while loop which is run on startup forever: WHILE 1 DO CurrentLoginName=UserInfo(1); Sleep(1); END Then use the String tag in the Alarm Description instead of the cicode function: Alarm Tag: DIG1 Alarm Name: DIG1 Alarm Description: {CurrentLoginName} Citect has confirmed this to be a problem in CitectHMI/SCADA versions 5.XX. This problem has been fixed in version 6.00. |
Keywords: |
Alarm, description, truncated, cicode |
Related Links
Attachments