<< Prev        Next >>

ID : 3376

IAI*.ReadAlarmInfo

Function

To obtain the latest alarm information.

Syntax

IAI*.ReadAlarmInfo

Return Value

The latest alarm information is returned with an array of integer type data.

Element number Description
0 Alarm detail code
1 Alarm address
2 Alarm code
3 Alarm occurrence time (If RTC is not available, this shows the elapsed time from the controller power-ON.[ms])

Description

To obtain the latest alarm information. This function is available in version 2.7.* or higher.

For an asterisk written after IAI, enter an ID of the control target PCON.

Attention

-

Example

'!TITLE "IAI Sample ReadAlarmInfo"

Sub Main
	
  Dim vArray As Variant
  vArray = IAI1.ReadAlarmInfo
	
End Sub

ID : 3376

<< Prev        Next >>