44 #ifndef Block_ConnectorH
45 #define Block_ConnectorH
61 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
63 #include <System.Classes.hpp>
64 #include <Vcl.Controls.hpp>
68 #include <Vcl.ExtCtrls.hpp>
85 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
87 #include "Block_Connector_Signal.h"
88 #include "Block_Signal_Position.h"
89 #include "Block_Connector_Address.h"
155 #
if ( PARAMETER_DATATYPE_U128_SUPPORT == (
true) )
164 #if ( PARAMETER_DATATYPE_I128_SUPPORT == (true) )
173 #
if ( PARAMETER_DATATYPE_U256_SUPPORT == (
true) )
182 #if ( PARAMETER_DATATYPE_I256_SUPPORT == (true) )
195 #
if ( PARAMETER_DATATYPE_F16_SUPPORT == (
true) )
210 #if ( PARAMETER_DATATYPE_F80_SUPPORT == (true) )
219 #
if ( PARAMETER_DATATYPE_F128_SUPPORT == (
true) )
228 #if ( PARAMETER_DATATYPE_F256_SUPPORT == (true) )
241 #
if ( PARAMETER_DATATYPE_IQ_SUPPORT == (
true) )
385 #if CONOPSYS_TARGET == CONOPSYS_TARGET_DEVICE
426 #if CONOPSYS_TARGET == CONOPSYS_TARGET_DEVICE
642 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
668 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
770 #if CONOPSYS_TARGET == CONOPSYS_TARGET_VDC
TBlock_Connector_Type
Function block connector type class
Definition: Block_Connector.h:107
@ enum_IQ12
32 bit IQ12 fixed point data type
@ enum_U64
64 bit unsigned integer data type
@ enum_F80
80 bit floating point data type
@ enum_IQ27
32 bit IQ27 fixed point data type
@ enum_IQ6
32 bit IQ6 fixed point data type
@ enum_IQ9
32 bit IQ9 fixed point data type
@ enum_F128
128 bit floating point data type
@ enum_IQ28
32 bit IQ28 fixed point data type
@ enum_IQ2
32 bit IQ2 fixed point data type
@ enum_IQ8
32 bit IQ8 fixed point data type
@ enum_IQ24
32 bit IQ24 fixed point data type
@ enum_Unassigned
Connector unassigned.
@ enum_IQ16
32 bit IQ16 fixed point data type
@ enum_IQ10
32 bit IQ10 fixed point data type
@ enum_IQ23
32 bit IQ23 fixed point data type
@ enum_IQ7
32 bit IQ7 fixed point data type
@ enum_F64
64 bit floating point data type
@ enum_Unknown
Unknown data type.
@ enum_IQ25
32 bit IQ25 fixed point data type
@ enum_BOOL
Boolean data type.
@ enum_IQ3
32 bit IQ3 fixed point data type
@ enum_F256
256 bit floating point data type
@ enum_IQ5
32 bit IQ5 fixed point data type
@ enum_IQ31
32 bit IQ31 fixed point data type
@ enum_U32
32 bit unsigned integer data type
@ enum_U128
128 bit unsigned integer data type
@ enum_IQ29
32 bit IQ29 fixed point data type
@ enum_U256
256 bit unsigned integer data type
@ enum_I128
128 bit signed integer data type
@ enum_U8
8 bit unsigned integer data type
@ enum_IQ22
32 bit IQ22 fixed point data type
@ enum_IQ30
32 bit IQ30 fixed point data type
@ enum_IQ1
32 bit IQ1 fixed point data type
@ enum_I64
64 bit signed integer data type
@ enum_IQ26
32 bit IQ26 fixed point data type
@ enum_IQ15
32 bit IQ15 fixed point data type
@ enum_IQ32
32 bit IQ32 fixed point data type
@ enum_I16
16 bit signed integer data type
@ enum_F32
32 bit floating point data type
@ enum_F16
16 bit floating point data type
@ enum_IQ13
32 bit IQ13 fixed point data type
@ enum_AVMP
Virtual machine program data type.
@ enum_I256
256 bit signed integer data type
@ enum_U16
16 bit unsigned integer data type
@ enum_IQ4
32 bit IQ4 fixed point data type
@ enum_IQ20
32 bit IQ20 fixed point data type
@ enum_I8
8 bit signed integer data type
@ enum_IQ17
32 bit IQ17 fixed point data type
@ enum_IQ18
32 bit IQ18 fixed point data type
@ enum_IQ19
32 bit IQ19 fixed point data type
@ enum_IQ21
32 bit IQ21 fixed point data type
@ enum_IQ14
32 bit IQ14 fixed point data type
@ enum_I32
32 bit signed integer data type
@ enum_IQ11
32 bit IQ11 fixed point data type
ConOpSys deploy target definitions file.
#define CONOPSYS_TARGET_VDC
Visual device configurator tool.
Definition: ConOpSys_Target.h:50
#define CONOPSYS_TARGET
Deploy target selection.
Definition: ConOpSys_Target.h:63
ConOpSys variant class header file.
TConOpSys_Variant_Data_Type
Definition: ConOpSys_Variant_Data_Type.h:57
@ enum_U64
Variant contains value of U64 data.
@ enum_F80
Variant contains value of F80 data.
@ enum_F128
Variant contains value of F128 data.
@ enum_Unassigned
Unassigned data type marker.
@ enum_F64
Variant contains value of F64 data.
@ enum_Unknown
Unknown data type marker.
@ enum_BOOL
Variant contains value of boolean data type.
@ enum_F256
Variant contains value of F256 data.
@ enum_U32
Variant contains value of U32 data type.
@ enum_U128
Variant contains value of U128 data.
@ enum_U256
Variant contains value of U256 data.
@ enum_I128
Variant contains value of I128 data.
@ enum_U8
Variant contains value of U8 data type.
@ enum_I64
Variant contains value of I64 data type.
@ enum_I16
Variant contains value of I16 data type.
@ enum_F32
Variant contains value of F32 data.
@ enum_F16
Variant contains value of F16 data.
@ enum_AVMP
Virtual machine array of commands data type.
@ enum_I256
Variant contains value of I256 data.
@ enum_U16
Variant contains value of U16 data type.
@ enum_I8
Variant contains value of I8 data type.
@ enum_I32
Variant contains value of I32 data type.
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
long I32
2s Compliment 32-Bit signed integer datatype defenition
Definition: Defines.h:206
unsigned char U8
Binary 8-Bit unsigned integer datatype defenition.
Definition: Defines.h:183
signed char I8
2s Compliment 8-Bit signed integer datatype defenition
Definition: Defines.h:186
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
short I16
2s Compliment 16-Bit signed integer datatype defenition
Definition: Defines.h:196
long long I64
2s Compliment 64-Bit signed integer datatype defenition
Definition: Defines.h:217
double F64
IEEE-754 64-Bit double presession floating point numbers datatype defenition.
Definition: Defines.h:327
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block connector base class.
Definition: Block_Connector.h:390
VOID Set_Type_F64(F64 f64_Value)
Set data type of the input connector to F64 and initialise by specifiet value.
Definition: Block_Connector.cpp:360
BOOL __fastcall Is_Unconnected()
Definition: Block_Connector.cpp:2635
TResolveConnectorAddressEvent FOnResolveConnectorAddress
Resolve connector address event method storage.
Definition: Block_Connector.h:793
VOID Set_Type(TBlock_Connector_Type enum_Connector_Type)
Set specified data type of the input connector.
Definition: Block_Connector.cpp:195
VOID Set_Type_F32(F32 f32_Value)
Set data type of the input connector to F32 and initialise by specifiet value.
Definition: Block_Connector.cpp:345
TBlock_Connector()
Class constructor method.
Definition: Block_Connector.cpp:71
__property BOOL Selected
Definition: Block_Connector.h:702
TList * StorageOfSignals
Definition: Block_Connector.h:674
VOID __fastcall Create_Signal(TComponent *Owner, TBlock_Connector *OutputConnector)
Definition: Block_Connector.cpp:2513
__property BOOL Flipped
Definition: Block_Connector.h:705
void __fastcall SetSelectedFlag(BOOL Value)
Definition: Block_Connector.cpp:2453
TList * StorageOfConnectors
Definition: Block_Connector.h:671
BOOL __fastcall Signal_Exists(TBlock_Connector_Signal *Signal)
Definition: Block_Connector.cpp:2619
TConOpSys_Variant_Data_Type Resolve_Variant_Type(TBlock_Connector_Type enum_Connector_Type)
Resolve correcponding variant data type.
Definition: Block_Connector.cpp:399
VOID Set_Type_U16(U16 u16_Value)
Set data type of the input connector to U16 and initialise by specifiet value.
Definition: Block_Connector.cpp:255
__property TResolveConnectorAddressEvent OnResolveConnectorAddress
Definition: Block_Connector.h:708
TBlock_Connector_Type enum_Type
Connector data type.
Definition: Block_Connector.h:764
VOID __fastcall Destroy_Signal(TBlock_Connector *OutputConnector)
Definition: Block_Connector.cpp:2529
TConOpSys_Variant object_Storage
Connector local data storage.
Definition: Block_Connector.h:630
TBlock_Connector_Type Get_Type()
Get connector data type.
Definition: Block_Connector.cpp:375
TBlock_Connector_Address OutputConnectorAddress
Definition: Block_Connector.h:695
U32 u32_Connector_ID
Connector ID.
Definition: Block_Connector.h:761
VOID Set_Type_U8(U8 u8_Value)
Set data type of the input connector to U8 and initialise by specifiet value.
Definition: Block_Connector.cpp:225
BOOL FFlipped
Connector flipped flag.
Definition: Block_Connector.h:790
VOID __fastcall Resolve_Address(TBlock_Connector_Address *ConnectorAddress)
Definition: Block_Connector.cpp:2481
BOOL FSelected
Connector selected flag.
Definition: Block_Connector.h:787
VOID Set_Type_I32(I32 i32_Value)
Set data type of the input connector to I32 and initialise by specifiet value.
Definition: Block_Connector.cpp:300
TBlock_Signal_Position Signal_Position
Definition: Block_Connector.h:686
TBlock_Connector_Signal * Temporary_Signal
Temporary signal pointer storage.
Definition: Block_Connector.h:796
TConOpSys_Variant_Data_Type Resolve_Pointer_Type(TBlock_Connector_Type enum_Connector_Type)
Resolve correcpondung variant pointer data type.
Definition: Block_Connector.cpp:1416
VOID Set_Type_I8(I8 i8_Value)
Set data type of the input connector to I8 and initialise by specifiet value.
Definition: Block_Connector.cpp:240
int Locked_X
Definition: Block_Connector.h:680
bool MultiSignal
Definition: Block_Connector.h:692
bool Locked_Mode
Definition: Block_Connector.h:677
VOID __fastcall Assign_Signal(TBlock_Connector_Signal *Signal)
Definition: Block_Connector.cpp:2568
VOID Set_Type_U32(U32 u32_Value)
Set data type of the input connector to U32 and initialise by specifiet value.
Definition: Block_Connector.cpp:285
VOID __fastcall Unassign_Signal(TBlock_Connector_Signal *Signal)
Definition: Block_Connector.cpp:2592
VOID Set_Type_I16(I16 i16_Value)
Set data type of the input connector to I16 and initialise by specifiet value.
Definition: Block_Connector.cpp:270
VOID Set_Type_BOOL(BOOL bool_Value)
Set data type of the input connector to BOOL and initialise by specifiet value.
Definition: Block_Connector.cpp:210
VOID Set_Type_U64(U64 u64_Value)
Set data type of the input connector to U64 and initialise by specifiet value.
Definition: Block_Connector.cpp:315
void __fastcall SetFlippedFlag(BOOL Value)
Definition: Block_Connector.cpp:2434
TConOpSys_Variant_Data_Type Get_Variant_Type()
Get connector underlaying variant data type.
Definition: Block_Connector.cpp:387
TLabel * Label
Definition: Block_Connector.h:689
~TBlock_Connector()
Class desrtuctor method.
Definition: Block_Connector.cpp:157
int Locked_Y
Definition: Block_Connector.h:683
VOID Set_Type_I64(I64 i64_Value)
Set data type of the input connector to I64 and initialise by specifiet value.
Definition: Block_Connector.cpp:330
ConOpSys variant class.
Definition: ConOpSys_Variant.h:851