You need these settings in your config file [CmpRetain] Retain.SRAM.Size=0x100000 Retain.SRAM.Address=0x30000000 [CmpApp] RetainType.Applications=InSRAM the address and size should match your actual NVRAM.
sounds like problem 2 here: https://faq.codesys.com/pages/viewpage.action?pageId=105152517
Setup a test system with Ignition Primary Host
Setup a test system with Ignition Primary Host
work out name of COM port in OS, e.g with the command: dmesg | grep "tty" add it to the .cfg file https://faq.codesys.com/display/CDSFAQ/SysCom use a serial com example like this one or that one
added personal branch
created union for Payload en/de-coding
started payload
add folder
delete
delete
Created directory ...
branch lib from trunk to i-campbell
Fixed folder structure
skeleton FB_Payload. Still need to change in_outs to pointers
added payload.txt
Started Decoding FB Payload #11
Continue to Decode FB Payload #11
continuing with FB_Payload. [#11]
Started merging branches/i-campbell back into trunk
continue to integrate branches/i-campbell into trunk
continue to integrate branches/i-campbell into trunk
integrated branches/i-campbell into trunk
deleting branches/i-campbell
deleting the actual folder /branches/i-campbell
branching trunk to /branches/i-campbell
Continue to Decode FB Payload #11
integrated branches/i-campbell into trunk
Starting to have the FB_Payload take shape [#11]
Cleared some warnings [#11]
Started Encoding FB Payload #11
FB_Payload. Started to fill out a skeleton for how to set the individual members of a payload [#11]
Add all internal variables and structure initializations to FB_Payload and its children [#11]
Added all encode / decode inputs to the FB calls of FB_Payload and children [#11]
Added all pool claimers, to be used by the children of a payload.
Merged trunk into my branch. Lots of errors, as the Payload Struct and PayloadMetric Struct were deprecated [#11]
FB_Payload. Started to fill out a skeleton for how to read the individual members of a payload [#11]
Worked On MetricGetting for FB_Payload [#11]
Continuing FB_payload Set and Get Methods [#11]
Fixed some typos [#11]
Added Complete List of setters and getters for FB_Payload and its Children [#11]
Merged /branches/i-campbell [#11]
branched mqttsparkplugb-example.project and used CODESYS SVN
branched mqttsparkplugb-example.project and used CODESYS SVN
Downgraded SysSocket to SP14 to avoid bug wiht MQTT package
Added FB_Payload Example.
Deleted empty folder, so I can copy from my branch
put example in trunk
Payload [#11]
Updated example project to point to latest sparkplugb library 0.0.0.6 [#11]
delete local branch example branches/i-campbell
deleting old branch branches/i-campbell
branching trunk to /branches/i-campbell
branching example project to /branches/i-campbell
Completed Payload.EncodeNextString [#11]
removed todo about array sizes, made a decode UTF8 string [#11]
Added Encode Functions for BinaryData, Double, Float and started encoding metrics. [#11]
InitializeStructure() is now internal to the FBPayload. only FB_Payload.InitializeStructuredPayload() need be called [#28]
Payload [#11]
commited mqttsparkplugb.library file to trunk
Fixed bug with calculating array bounds [#11]
merged branches/i-campbell to trunk [#11]
Fixed bug with adding Keys or Columns [#11]
Added Decode Section to example usage of Payload [#11]
merged branches/i-campbell example to trunk [#11]
merged trunck changes from r190 to my branches/i-campbell
Fixed bug with FB_PayloadDataset.AddColumn(), which previously returned and outputted an ERROR [#11]
MetricPool is now a COL.LinkedList, Added PayloadSimple and FB_SparkplugString, fixed UTF8 encoding [#11]
Now uses V0.0.0.8 of Sparkplug B with FB_PayloadSimple [#11]
merging branches/i-campbell .library to trunk at version V0.0.0.8 [#11]
merged branches/i-campbell example.project to trunk [#11]
updated example with simpledecode [#34]
Split PayloadSimple into PayloadSimpleEncoder and PayloadSimpleDecoder, upped to V0.0.0.9 [#34]
copied changes from /branches/i-campell example.project [#34]
merged branches/i-campbell library into trunk [#34]
update binary example.project and binary .library in trunk [#34]
[#11]
Return notImplemented for Payload members which are not yet supported [#34]
Replaced Ellement COLlections Library with an open linked list, to make it easier to steal Objects [#11]
Added ability to steal children to AppendElem [#35]
Updated to allow for lists being of Sparkplug.List and not COL.LinkedList [#35]
Working Payload Encode Decode Simple Example [#11]
Library that works with Simple Encode Decode Example [#11]
merged example project from branches/i-campbell to trunk
merged library from branches/i-campbell to trunk. now version 0.0.0.10
commit binary of library and example
adjusted FB_PayloadSimple.AddMetricString to FB_PayloadSimple.AddMetric
Converted AddMetricString to AddMetric [#34]
merged branches/i-campbell, uprev to 0.0.0.11 [#34]
updated example in trunk to use 0.0.0.1 [#34]
minor bug fix to 0.0.0.11 [#34]
update binary example.project and binary .library in trunk [#34]
Merged trunk .library into branches/i-campbell
Remaned MetricPool to AllMetricWhichWillEverReport and added hasSeq to FB_PayloadSimpleEncoder.Initialize... [#34]
Cleaned up some info messages. Refactored EncodeNextString for speed. [#11]
merged /branches/i-campbell into /trunk [#11]