Phase 2 - Resolve Compilation Warnings
Today's Tasks
Directly below are links to project issues. Use the sidebar for in-blog navigation --->
- Compilation Warnings
Compilation Warnings
_STD_UnitAllocation
The Fix
Moved Batch , Local and UI from the block interface Output area to the InOut area.
SBL PhaseCommand
The Fix

SBL Selection 2xPB
The Fix

XFerInlet2
Investigation
This block is not called.
The Fix
Copied this FB and it's instDB to the project library MasterCopies > deleted folder and deleted them from the program blocks
_STD_CM_Valve
Investigation

The Fix
Created a new UDT, which provided symbols for the memory areas requiring symbolic access, where elementary data type
were not appropriate.
Updated the block Temp interface as follows;

_STD_CondEvaluation
The Fix

_STD_RecipeDownload
Investigation

The Fix
Created new UDT _stdRecipeDataAccess and employed AT function

Updated code block
_USR_Count01
Investigation

The Fix

Also, created new UDT, _usrCountStatAccess and updated reference to %LD10.
_STD_CM_AI
Investigation
Absolute address access employed for three UDT's, _STD_AI_Ctrl, _STD_AI_Par and _STD_AI_Stat.
Word0 of _STD_AI_Ctrl requires symbolic access, UDT has mix types, therefore requires new UDT for access
Word0 of _STD_AI_Par requires symbolic access, UDT has mix types, therefore requires new UDT for access
DWord0 of _STD_AI_Stat requires symbolic access, UDT has mix types, therefore requires new UDT for access
The Fix
Created new UDT's
- _stdAiCtrlAccess
- _stdAiParAccess
- _stdAiStatAccess
Replace usage of absolute address with the appropriate symbolic addresses.
_STD_CM_DI
Investigation
Absolute address access employed for three UDT's, _STD_DI_Ctrl, _STD_DI_Par and _STD_DI_Stat.
Word0 of _STD_DI_Ctrl requires symbolic access, UDT word 0 is all bool, can there added variable of type word
Word0 of _STD_DI_Par requires symbolic access, UDT has mix types, therefore requires new UDT for access
DWord0 of _STD_DI_Stat requires symbolic access, UDT DWord 0 is all bool, can there added variable of type DWord
The Fix
Created new UDT's
- _stdDiParAccess
Replace usage of absolute address with the appropriate symbolic address.
_STD_SystemFLT
Investigation
Absolute addressing employ in construction of an ANY pointer.
The Fix
Following the example given here , how can you contruct an any pointer... and use the AT function
Created a new UDT called anyPointer and employed the anyPointer with the AT function to provide symbolic addressing
in the construction of the ANY pointer.
_STD_CM_AO
Investigation
Absolute address access employed for three UDT's, _STD_AO_Ctrl, _STD_AO_Par and _STD_AO_Stat.
Word0 of _STD_AO_Ctrl requires symbolic access, UDT has mix types, therefore requires new UDT for access
Word0 of _STD_AO_Par requires symbolic access, UDT has mix types, therefore requires new UDT for access
DWord0 of _STD_AO_Stat requires symbolic access, UDT has mix types, therefore requires new UDT for access
The Fix
Created new UDT's
- _stdAoCtrlAccess
- _stdAoParAccess
- _stdAoStatAccess
Replace usage of absolute address with the appropriate symbolic addresses.
_STD_CM_DO
Investigation
Absolute address access employed for three UDT's, _STD_DO_Ctrl, _STD_DO_Par and _STD_DO_Stat.
Word0 of _STD_DO_Ctrl requires symbolic access, UDT word 0 is all bool, can there added variable of type word
Word0 of _STD_DO_Par requires symbolic access, UDT has mix types, therefore requires new UDT for access
DWord0 of _STD_DO_Stat requires symbolic access, UDT DWord 0 is all bool, can there added variable of type DWord
The Fix
Created new UDT's
- _stdDoParAccess
Replace usage of absolute address with the appropriate symbolic address.