<< Click to Display Table of Contents >>
OnCommErrorEx |
OnCommErrorEx(ErrorInfo)
Occurs right after the execution of an OnCommError event.
ErrorInfo parameter information
Name |
Description |
---|---|
ErrorInfo.EvtType |
Indicates the type of operation that caused this error. Possible values are 0: I/O Tag reading, 1: I/O Tag writing, 2: I/O Block reading, or 3: I/O Block writing |
ErrorInfo.Size |
Size of the I/O Block that caused this error. If it is an I/O Tag, Size is equal to 1 (one) |
ErrorInfo.Element |
Index of the I/O Block Element that caused this error |
ErrorInfo.Nx |
Nx or Bx parameters, where x can be 1 (one), 2 (two), 3 (three, or 4 (four), of the operation that caused this error |
ErrorInfo.ParamDevice |
ParamDevice parameter (String) of the operation that caused this error |
ErrorInfo.ParamItem |
ParamItem parameter (String) of the operation that caused this error |