Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
CONFIGURATION HardwareIDs
VAR_GLOBAL CONSTANT
PROFINET_IO_System_HwID : UINT := UINT#256;
ST3_indradrive_HwID : UINT := UINT#260;
ST3_indradrive_F_Modul_not_used_ID_FMod_NotUsed_HwID : UINT := UINT#266;
ST3_indradrive_Input_9_Words_ID_InMod_9Words_HwID : UINT := UINT#264;
ST3_indradrive_Output_13_Words_ID_OutMod_13Words_HwID : UINT := UINT#263;
ST3_indradrive_ParamCh_IDN_ID_PaCh_5Words_HwID : UINT := UINT#265;
ST3_indradrive_Rack_HwID : UINT := UINT#261;
ST3_indradrive_ST3_indradrive_HwID : UINT := UINT#262;
ST3_indradrive_ST3_indradrive_DAP_1_HwID : UINT := UINT#267;
ST3_indradrive_ST3_indradrive_profinet_HwID : UINT := UINT#257;
ST3_indradrive_ST3_indradrive_profinet_Port_1___RJ45_HwID : UINT := UINT#258;
ST3_indradrive_ST3_indradrive_profinet_Port_2___RJ45_HwID : UINT := UINT#259;
plc_line_HwID : UINT := UINT#32;
plc_line_Rail_0_HwID : UINT := UINT#268;
plc_line_plc_line_HwID : UINT := UINT#48;
plc_line_plc_line__plc_line_HwID : UINT := UINT#49;
plc_line_plc_line_CPU_display_1_HwID : UINT := UINT#54;
plc_line_plc_line_CPU_exec_unit_1_HwID : UINT := UINT#52;
plc_line_plc_line_Card_reader_writer_1_HwID : UINT := UINT#51;
plc_line_plc_line_DP_interface_1_HwID : UINT := UINT#60;
plc_line_plc_line_LicenseManager_1_HwID : UINT := UINT#42;
plc_line_plc_line_OPC_UA_1_HwID : UINT := UINT#117;
plc_line_plc_line_PROFINET_interface_2_HwID : UINT := UINT#72;
plc_line_plc_line_PROFINET_interface_2_Port_1_HwID : UINT := UINT#73;
plc_line_plc_line_Virtual_communication_interface_HwID : UINT := UINT#135;
plc_line_plc_line_plc_line_HwID : UINT := UINT#50;
plc_line_plc_line_profinet_x1_HwID : UINT := UINT#64;
plc_line_plc_line_profinet_x1_Port1_HwID : UINT := UINT#65;
plc_line_plc_line_profinet_x1_Port2_HwID : UINT := UINT#66;

END_VAR
END_CONFIGURATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
CONFIGURATION IoAddresses
VAR_GLOBAL
ST3_indradrive_Input_9_Words_InputAddress_0 AT %IW0: WORD;
ST3_indradrive_Input_9_Words_InputAddress_1 AT %IW2: WORD;
ST3_indradrive_Input_9_Words_InputAddress_2 AT %IW4: WORD;
ST3_indradrive_Input_9_Words_InputAddress_3 AT %IW6: WORD;
ST3_indradrive_Input_9_Words_InputAddress_4 AT %IW8: WORD;
ST3_indradrive_Input_9_Words_InputAddress_5 AT %IW10: WORD;
ST3_indradrive_Input_9_Words_InputAddress_6 AT %IW12: WORD;
ST3_indradrive_Input_9_Words_InputAddress_7 AT %IW14: WORD;
ST3_indradrive_Input_9_Words_InputAddress_8 AT %IW16: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_0 AT %QW0: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_1 AT %QW2: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_2 AT %QW4: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_3 AT %QW6: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_4 AT %QW8: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_5 AT %QW10: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_6 AT %QW12: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_7 AT %QW14: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_8 AT %QW16: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_9 AT %QW18: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_10 AT %QW20: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_11 AT %QW22: WORD;
ST3_indradrive_Output_13_Words_OutputAddress_12 AT %QW24: WORD;
ST3_indradrive_ParamCh_IDN_InputAddress_0 AT %IW18: WORD;
ST3_indradrive_ParamCh_IDN_InputAddress_1 AT %IW20: WORD;
ST3_indradrive_ParamCh_IDN_InputAddress_2 AT %IW22: WORD;
ST3_indradrive_ParamCh_IDN_InputAddress_3 AT %IW24: WORD;
ST3_indradrive_ParamCh_IDN_InputAddress_4 AT %IW26: WORD;
ST3_indradrive_ParamCh_IDN_OutputAddress_0 AT %QW26: WORD;
ST3_indradrive_ParamCh_IDN_OutputAddress_1 AT %QW28: WORD;
ST3_indradrive_ParamCh_IDN_OutputAddress_2 AT %QW30: WORD;
ST3_indradrive_ParamCh_IDN_OutputAddress_3 AT %QW32: WORD;
ST3_indradrive_ParamCh_IDN_OutputAddress_4 AT %QW34: WORD;

END_VAR
END_CONFIGURATION
20 changes: 7 additions & 13 deletions src/components.rexroth.drives/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,22 @@ devDependencies:
dependencies:
"@ix-ax/axopen.simatic1500": '0.0.0-dev.0'
"@ix-ax/axopen.components.rexroth.drives": '0.0.0-dev.0'
"@ax/system-timer": ^6.0.94
"@ax/system-timer": ^6.0.94
scripts:
# Obsolete scripts, could be removed at some point ====>
delta:
- START=$(date +%s)
- apax build --ignore-scripts
- apax sld load --accept-security-disclaimer -t $AXTARGET -i
$AXTARGETPLATFORMINPUT --mode delta
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in
:" $(expr $(date +%s) - $START) "s"
- apax sld load --accept-security-disclaimer -t $AXTARGET -i $AXTARGETPLATFORMINPUT --mode delta
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in :" $(expr $(date +%s) - $START) "s"
download:
- START=$(date +%s)
- apax build --ignore-scripts
- dotnet ixc
- apax download_only
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in
:" $(expr $(date +%s) - $START) "s"
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in :" $(expr $(date +%s) - $START) "s"
download_only:
- apax sld load --accept-security-disclaimer -t $AXTARGET -i
$AXTARGETPLATFORMINPUT -r
- apax sld load --accept-security-disclaimer -t $AXTARGET -i $AXTARGETPLATFORMINPUT -r
check+download: |
if [ $AXTARGET ]; then
if [ $AXTARGETPLATFORMINPUT ]; then
Expand All @@ -50,8 +46,7 @@ scripts:
echo "Environment variable AXTARGET not defined!!!"
fi
watch:
- dotnet watch --project
..\\app\\ix-blazor\\AXOpen.Components.Rexroth.Drives.blazorapp.csproj
- dotnet watch --project ..\\app\\ix-blazor\\AXOpen.Components.Rexroth.Drives.blazorapp.csproj
fr:
- ..\\..\\integrations\\scripts\\StartPlcSimAdvCli.exe
- apax rr
Expand All @@ -63,8 +58,7 @@ scripts:
- apax clean
- apax install
- apax download
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in
:" $(expr $(date +%s) - $START) "s"
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in :" $(expr $(date +%s) - $START) "s"
rrw:
- apax rr
- apax watch
Expand Down
Loading