E_IEC870_5_101ErrorSourceID
Error source.
TYPE E_IEC870_5_101ErrorSourceID :
(
eIEC870_ESRC_NONE, (* Error source is unknown *)
eIEC870_ESRC_COUNTER_INTERROGATION, (* Error during counter interrogation command execution *)
eIEC870_ESRC_SYNC_CLOCK_CTRL, (* Error during execution of clock synchronisation command *)
eIEC870_ESRC_CLOCK_EVENT, (* Error during spontanous transmission of clock time *)
eIEC870_ESRC_GETPCTIME, (* Error during synchronisation of device time to PC time *)
eIEC870_ESRC_SETPCTIME, (* Error during synchronisation of PC time to device time *)
eIEC870_ESRC_STATION_INTERROGATION, (* Error during execution of general interrogation *)
eIEC870_ESRC_READ_DATA_CMD, (* Error during execution of read command *)
eIEC870_ESRC_RESET_PROCESS, (* Error during execution of process reset command *)
eIEC870_ESRC_TEST_CMD, (* Error during execution of test command *)
eIEC870_ESRC_ENDOFINIT, (* Error during transmission of M_EI_NA_1 (end of initialisation) *)
eIEC870_ESRC_BACKGROUND_SCAN, (* Error during execution of background scan *)
eIEC870_ESRC_COMMAND_CTRL, (* Error during initialisation of command (single-command, double-command, setpoint-command and so forth ) *)
eIEC870_ESRC_COMMAND_EXEC, (* Error during command execution *)
eIEC870_ESRC_LOCAL_FREEZE_RESET, (* Error during counter freeze/reset *)
eIEC870_ESRC_PERIODIC_CYCLIC, (* Error during cyclic/periodic data transmission *)
eIEC870_ESRC_USERAPP_OBJECT, (* Error in application object (invalid configuration/value) *)
eIEC870_ESRC_USERAPP_SETQUALITY, (* Error in quality flag execution *)
eIEC870_ESRC_IEC60870_5_104LINK, (* Error in IEC60870-5-104 link layer *)
eIEC870_ESRC_IEC60870_5_101LINK, (* Error in IEC60870-5-101 link layer *)
eIEC870_ESRC_COMLIB, (* Error in the basic serial communication interface *)
eIEC870_ESRC_POLLING_SEVICE (* Error in the acquisition state machine (execution of cyclic poll commands) *)
);
END_TYPE
Requirements
Development Environment | Target System | PLC libraries to include |
---|---|---|
TwinCAT v2.9.0 Build >= 1030 | PC or CX (x86) | TcIEC870_5_101.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib; are included automatically ) |
TwinCAT v2.10.0 Build >= 1301 | CX (ARM) |