Porting to LogicLab: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 32: | Line 32: | ||
- '''CheckGlobalVarsModified()''' function in LogicLab5\template\script.js<br/> | - '''CheckGlobalVarsModified()''' function in LogicLab5\template\script.js<br/> | ||
- '''CheckGlobalVarsModified()''' and '''ModifyPLCVarAssigment_raw()''' functions common\script\PLCVars.js | - '''CheckGlobalVarsModified()''' and '''ModifyPLCVarAssigment_raw()''' functions common\script\PLCVars.js | ||
==Porting procedure to LogicLab 5.7.0.x [BETA RELEASE] :== | |||
* '''LLMakeCustomVersion.BAT''' must be changed, because internal resource IDs have been revised. Change: | |||
set IDS_AXEL_VERSION=10525 | |||
set IDS_CUSTOM_EXT=10529 | |||
set IDS_CUSTOM_COPYPASTE=10530 | |||
set IDS_CUSTOM_ID=10531 | |||
To: | |||
set IDS_AXEL_VERSION=1890 | |||
set IDS_CUSTOM_EXT=1893 | |||
set IDS_CUSTOM_ID=1895 | |||
* ISS setup script '''MakeCustomLL.ISS''' must be changed, because now LogicLab uses a new shared DLL | |||
Download it from [[http://www.axelsw.it/pwiki/pub/ToolkitPro1801vc120U.dll here]] and put it in your ''Setup\Shared'' folder | |||
Please add under ''[Files]'' section: | |||
Source: Shared\ToolkitPro1730vc120U.dll; DestDir: {sys}; Flags: sharedfile | |||
[[Category:LogicLab]] | [[Category:LogicLab]] |
Revision as of 15:56, 6 October 2017
Porting procedure from LogicLab 4 to LogicLab 5.0.0.x :
WARNING: Those steps are strictly required because LogicLab5 has a different file and folder organization (the folder name inside the redist has changed from LogicLab4 to LogicLab5, and the executable name from LogicLab4.exe to LogicLab.exe)
ISS changes
- modify the application name (da LogicLab4 a LogicLab5) in ISS (#define NameApp)
- modify the folder name (from LogicLab4 to LogicLab5) in the ISS file (#define LLSrcDir)
- modify the executable file name (from LogicLab4.exe to LogicLab.exe) in the ISS file (#define LLNameExe)
- Remove the old version (LogicLab4) in the ISS file with InstallDelete, if desired
[InstallDelete] Name: {app}\LogicLab4; Type: filesandordirs
- Add in the ISS file the copy of the LogicLab\styles folder
Source: ..\{#LLSrcDir}\Styles\*.*; DestDir: {app}\{#LLDestDir}\Styles; Flags: ignoreversion
- Remove the AlUIExt.dll installation, not existing anymore
Source: ..\{#LLSrcDir}\AlUIExt.dll; DestDir: {app}\{#LLDestDir}; Flags: ignoreversion
LLMakeCustomVersion.bat changes
- modify the path (from LogicLab4 to LogicLab5) (set BUILDPATH)
- modify the executable file name (from LogicLab4.exe to LogicLab.exe) in the CustomVersions script (set SRC), in the :Init function
PCT catalog changes
- Modify the PCT file of every target of your catalog if they have any reference <loadExternalTemplate> that points to LogicLab4 in LogicLab5
- Modify the relative path of system libraries in the catalog, e.g. "<library>..\..\LogicLab5\Libraries\Standard.pll</library>"
- Modify the templates\LogicLab.pct file substituting <extension><dll> LogicLab4.exe in %APPEXENAME%
PageLab changes
- If you have Pagelab on your suite, modify the PLMakeCustomVersion.bat file and updating the NAMELLC and LOGICLAB_PATH variables
Porting procedure to LogicLab 5.6.0.x :
Script catalog changes
- If any target in your catalog has HTML pages that create or modify global PLC variables (like 'Parameters', 'Status variables', fieldbus configuration, etc...), make sure you have the latest version of:
- CheckGlobalVarsModified() function in LogicLab5\template\script.js
- CheckGlobalVarsModified() and ModifyPLCVarAssigment_raw() functions common\script\PLCVars.js
Porting procedure to LogicLab 5.7.0.x [BETA RELEASE] :
- LLMakeCustomVersion.BAT must be changed, because internal resource IDs have been revised. Change:
set IDS_AXEL_VERSION=10525 set IDS_CUSTOM_EXT=10529 set IDS_CUSTOM_COPYPASTE=10530 set IDS_CUSTOM_ID=10531
To:
set IDS_AXEL_VERSION=1890 set IDS_CUSTOM_EXT=1893 set IDS_CUSTOM_ID=1895
- ISS setup script MakeCustomLL.ISS must be changed, because now LogicLab uses a new shared DLL
Download it from [here] and put it in your Setup\Shared folder Please add under [Files] section:
Source: Shared\ToolkitPro1730vc120U.dll; DestDir: {sys}; Flags: sharedfile