For external Outputs, I bought https://www.poscope.com/product/poextbusoc16
This 16 port extension, which supports up to 40V 400mA Outputs, is perfect for my industrial environment.
I use M64 H1 P1 Q1 L2 to set the Output P1 to P16 which works with a strang behviour.
Every time I change the outputs, all outputs are first set to OFF and then back to the desired value. The time between OFF and the desired output state reflects the time, set in “timer” of the external Out-settings.
I tried Timer values from 4000 to 10... They all work, but he OFF state each time using M64 persists.
For example:
-> Output 1 - 4 - 8 -12 is on.
-> M64 H1 P2 Q1 L2
-> Output 1 to 16 is turned OFF
-> Delay of time in ms set as timer in settings
-> Output 1 - 2 - 4 - 8 - 12 is on.
Same if switching an output OFF.
Do you know why that may happen?
The Board is connected behind a ExtIn v1.0 module which is connected to MK3 controller. I use M64 H1 P1 Q1 L2 to set the Output (P1 to P16). I also tried sending up to 10 bytes, but that does not change anything.
I also tried inverting SSEL1 but that results in "funny" things and the ExtIn stops working in that case. Sending only 1 Byte does the same except that channel 9 to 16 are doing strange things.
I have no idea if it is related to the old ExtIn v1.0 in between or just an incompatiblity of the poextbusoc16 module.