Files
BasicComponents/BasicComponents/Components/Analog/DUTs/ST_ANALOG_IO_CONFIG.TcDUT
m.heisig cf9501ea01 Changed all components to use HAL structs as in and outs
- All components now use HAL structs as inputs and outputs
- Restructured library folders
- FB_Axis_PTP now implements the execute pattern with E_CmdResult
- Bumped version number to 2.0.0
2026-03-19 12:17:10 +01:00

33 lines
748 B
XML

<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1">
<DUT Name="ST_ANALOG_IO_CONFIG" Id="{ee57b40d-d65d-438f-80f9-912bc67bff84}">
<Declaration><![CDATA[TYPE ST_ANALOG_IO_CONFIG :
STRUCT
// Maximum analog value
{attribute 'OPC.UA.DA' := '1'}
iAIMax : INT;
// Minimum analog value
{attribute 'OPC.UA.DA' := '1'}
iAIMin : INT;
// Maximum process value
{attribute 'OPC.UA.DA' := '1'}
rPVMax : REAL;
// Minimum process value
{attribute 'OPC.UA.DA' := '1'}
rPVMin : REAL;
// Process unit (V, A, P, U/min, %, rpm etc)
{attribute 'OPC.UA.DA' := '1'}
sUnit : STRING;
// Analog IO is used
{attribute 'OPC.UA.DA' := '1'}
xUsed : BOOL := TRUE;
END_STRUCT
END_TYPE
]]></Declaration>
</DUT>
</TcPlcObject>