Will you be expanding this to other hardware like the PCA9685?
I'll check out your nodes. I've focused on the NCD nodes for any mcp23008 use cases myself... I'll see how your node works...
Hi,
I must order a pca9685 module and 5-10 servos for test next time. Today I work on nodes for using the chip nodes using without redPlc ladder logic environment. Also I work on Adc and Dac nodes.
I've just downloaded the redPLC ladder logic environment. I have a perfect environment to test it out... Multiple Tank Levels in Multiple Vessels, Water Top-offs, Water Fill, Water Draining, etc... I'm actually using mcp32008 nodes from NDC, but I will try your's for the Level Input....
I'll work over the weekend and provide updates in the Project Thread:
Oh looks fine.
I work before on a hardware plc project.
There are lot of problems on running the plc task.
Plc's runs in an endless loop (very simple):
- Read data from input hardware and updates plc memory.
- Executes the control program (laddder logic) where only plc memory is touched. The ladder logic starts on first rung left element and ends on last rung right rung element.
- Writes the plc memory to output hardware if changed.
redPlc works on same method.
The problem is, when the plc memory is changed from outside
(e.g pressing button in Dashboard) during step 2, the logic isn't
consistency. This is a asynchron data change and produce malfunctions in logic. This can be solve with save the async
data in a buffer and updates the plc memory in step 1.
Therefore I must write nodes, that accept data from async source and syncronize with the redPlc task.
Its a hard job to write this, but it is necessary.
So, should I wait for you to finish those nodes, so that I do not get frustrated using the ladder logic nodes?
You can start it. Later you can add the part, where data exchange with external nodes (e.g Dashboard) are made.
If you need analog value handling, please wait. I hope, that I add the analog handling this week.