Page 1 of 1

DO module default values

Posted: 25 Nov 2020, 10:31
by Abel
Hello, I have a setup with a revPi Connect+, two AIO, one DIO and one DO modules.
In the outputs of the module DIO I have some ports configured as OutputPushPull and with default value as 1.
In the DO also some ports are OutputPushPull and with default value 1.
But after a reboot or a reset with piTest -x only the DIO outputs take the default values and put these ports at 1. In the DO module they don't change to 1 after a reset.
Is there some other thing I could do to set the default values of the ports in this module?

Re: DO module default values

Posted: 26 Nov 2020, 13:51
by c.baumann
Hi Abel,
i was able to reproduce your problem.
Let me guess. Your AIOs are left of the digital modules? In this case there seems to be a bug where the initial output values are not applied correctly. We will look into this.

As a workaround you can try changing the order so that the analog modules are to the right of the dio/do-modules. For example DIO-DO-AIO-AIO-Connect+.

Re: DO module default values

Posted: 26 Nov 2020, 14:19
by Abel
ok, such a strange bug. Yes its DIO-AIO-AIO-DO, I will try to move the DO module to the right of the DIO and we'll see.

Re: DO module default values

Posted: 07 Jan 2021, 19:51
by dirk
Hi Abel, do you have an update?

Re: DO module default values

Posted: 01 Sep 2021, 16:16
by jonathanhoss
Hello, I stumbled over the same problem. My Setup is EtherCAT Gateway / Core 3 / MIO. The configured default values are not set after reboot.

Example:
In PiCtory AnalogOutput_8 is configured to Value 10000
after reboot, there is no Voltage on AnalogOutput_8 but piTest gives me the following:

Code: Select all

piTest -r AnalogOutput_8 
>> 2 Byte-Value of AnalogOutput_8: 10000 dez (=2710 hex)
afterwards trying to set the Pin with manually ("piTest -w AnalogOuptut_8,10000") doesn't work,
everything is working as usual if I set the Pin to Zero and then again back up to 10V.
Like this:

Code: Select all

piTest -w AnalogOuptut_8,0
piTest -w AnalogOutput_8,10000
Is there any good solution for this problem or do I miss something? Thank You in advance.

Re: DO module default values

Posted: 08 Sep 2021, 11:05
by jonathanhoss
Is there any solution to this Problem? I switched the order of the modules but it did not help.

Re: DO module default values

Posted: 08 Sep 2021, 18:10
by RR4711
Are the modules on the latest Firmware?

Re: DO module default values

Posted: 20 Sep 2021, 14:38
by jonathanhoss
Yes, all Modules have the latest Firmware.