first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Embed the shared object in the IEC library
|
||||
|
||||
1. Copy the built libCmpAtomModbus.so to the development PC.
|
||||
2. Open the CmpAtomModbus library containing atMbCall_cext.
|
||||
3. In POUs add a C Implemented Library object (C Code Integration functionality).
|
||||
4. Add an Object file for devices: choose the .so and the exact Raspberry Pi
|
||||
64 SL device/version. If a component name is requested, use CmpAtomModbus.
|
||||
5. Save/install the library and update the application's library reference.
|
||||
6. Perform a full download and verify loading and function resolution.
|
||||
|
||||
Add separate object files for other device/architecture targets. CODESYS chooses
|
||||
the matching device entry; do not assign ARM64 binaries to 32-bit devices.
|
||||
For automatic deployment testing, remove only the old manually added
|
||||
CmpAtomModbus ComponentManager entry and restart the runtime before download.
|
||||
Do this while the PLC application is stopped for maintenance.
|
||||
|
||||
Official instructions:
|
||||
https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_extension_extension_sdk.html
|
||||
https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_obj_c_implemented_library.html
|
||||
Reference in New Issue
Block a user