Phase 1 - Investigation - Migrating PLC
Today's Tasks
- Investigate significance of migration removing OB85 & 87 ✅
- Add IO Modules to 1500 Hardware Config ✅
- Begin creation of SCL functions which didn't migrate.
Investigate significance of migration removing OB85 & 87
What are OB85 and OB87?
Findings
- OB85 "Communication Fault"
- OB87 "RackFlt"
These blocks were empty, so only used to prevent CPU Stop, if they were called.
What next?
If time allows to investigate system diagnostics.
Add IO Modules to 1500 HW Config
Method
Re-migrated from classic project this time selecting the "Include hardware configuration"1 checkbox and followed instruction from page 47 to 54.
Still have errors with FC248, FC250 and FC346 as these were SCL blocks without the source code. Will need to implement new function for these FC's.
Implementation of SCL Functions
Implemented the "REAL TO TIME" and "REAL TO INT" functions in SCL mainly employing the CONVERT function.
Method - How to use CONVERT
In the editor start typing CONV and a context menu pops up for the selection of source and then destination data type.
Found this in the TIA (F1) Helper docs.
Implementing FC346 "SBL Reset Tmp Logg Data" is going to take more investigation into it's use and that of the Logger mechanism in general.
What's next?
Following this up, for starters, with Is _STD_DB_BUFFER actually employed?