ErrorOccured

<< Click to Display Table of Contents >>

Manual > Reference > Events >

ErrorOccured


 

This event occurs when an error occurs.

 

 

 


syntax
Private Sub AxEng1_ErrorOccured(sender As Object,

                         e As AxFAENGINELib6._DFAEngineEvents_ErrorOccuredEvent)

                         Handles AxEng1.ErrorOccured

 


Parameters

e.code

 

type:

string

 

Error Codes

e.message

 

type:

string

 

Error Message

 

 


Commentary

This event is called when an error occurs in any communication, such as automatic updates or method calls.

 

If the license cannot be recognized, an event will occur with the error message "No license." in the "e.message" parameter, and FA-Engine will operate in virtual communication mode. In virtual communication mode, communication with PLC is not actually performed, but it behaves as if communication is being performed virtually.

 

 

 

 


reference

 

ErrCode

ErrMessage