Just a heads up on what I found on sharing, testing and using pmc files:
File names need to have no spaces, as function names are created on generating the Lua file.
During simulation I noticed NO update on outputs on diagnostics tab
also I had to edit the data for contacts and coils for Device and Object as they came up blank.
In live Simulation mode still have to use the space bar to update the simulation of ladder diagram.
thanks for following though and sharing as we all learn by experiences of others.
photos show comparisons of the original, my edited version and what I referenced.
and thanks to Chaoticone for adding PMC file uploads