ACSI constants
ACSI-Objectdatabase-Parameter
Constant | Value | Description |
---|---|---|
MAX_ACSI_OBJECTNODE_ALLOC | 30000 | Max. number of the objects that are available |
MAX_ACSI_OBJECTNAME_LENGTH | 31 | Max. Object name-String length (symbols) |
Functional Constraints bit mask
All functional constraints of the basic norm IEC 61850 were implemented in the TwinCAT PLC as a constant of the ACSI Library.
ACSI_FC_ST :DWORD := 16#00000001; (* Status information (use of FC in the definition of DATA) *)
ACSI_FC_MX :DWORD := 16#00000002; (* Measurands (analogue values) (use of FC in the definition of DATA) *)
ACSI_FC_CO :DWORD := 16#00000004; (* Control (use of FC in the definition of DATA) *)
ACSI_FC_SP :DWORD := 16#00000008; (* Setpoint (use of FC in the definition of DATA and control blocks) *)
ACSI_FC_SV :DWORD := 16#00000010; (* Substitution (use of FC in the definition of DATA) *)
ACSI_FC_CF :DWORD := 16#00000020; (* Configuration (use of FC in the definition of DATA) *)
ACSI_FC_DC :DWORD := 16#00000040; (* Description (use of FC in the definition of DATA) *)
ACSI_FC_SG :DWORD := 16#00000080; (* Setting group (use of FC in the definition of DATA) *)
ACSI_FC_SE :DWORD := 16#00000100; (* Setting group editable (use of FC in the definition of DATA) *)
ACSI_FC_EX :DWORD := 16#00000200; (* Extended definition (use of FC in the definition of DATA) *)
ACSI_FC_BR :DWORD := 16#00000400; (* Buffered report (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_RP :DWORD := 16#00000800; (* Unbuffered report (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_LG :DWORD := 16#00001000; (* Logging (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_GO :DWORD := 16#00002000; (* Goose control (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_GS :DWORD := 16#00004000; (* Gsse control (-> Reserved FOR control classes AND use OF the FC in the definition OF control blocks) *)
ACSI_FC_MS :DWORD := 16#00008000; (* Multicast sampled value control (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_US :DWORD := 16#00010000; (* Unicast sampled value control (-> Reserved for control classes and use of the FC in the definition of control blocks) *)
ACSI_FC_XX :DWORD := 16#00020000; (* Shall represent all DataAttributes of a Data of any FC. "XX" shall not used as value in DataAttributes *)
Trigger Options bit mask
(* ACSI_TrgOp_rsv : DWORD := 16#80; reserved *)
ACSI_TrgOp_dchg : DWORD := 16#40;(* data-change *)
ACSI_TrgOp_qchg : DWORD := 16#20;(* quality-change *)
ACSI_TrgOp_dupd : DWORD := 16#10;(* data-update *)
ACSI_TrgOp_intg : DWORD := 16#08;(* integrity *)
ACSI_TrgOp_gi : DWORD := 16#04;(* general-interrogation *)
Requirements
Develoment environment | Target system | PLC libraries to include |
---|---|---|
TwinCAT v2.10.0 Build >= 1340 | PC or CX (x86, ARM) | TcACSI.Lib |