DO module default values

Topics about the Hardware of Revolution Pi
Post Reply
Abel
Posts: 4
Joined: 09 Oct 2020, 12:47

DO module default values

Post 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?
https://www.circontrol.com - Mobility & eMobility Solutions
c.baumann
Posts: 16
Joined: 23 Jul 2020, 10:38

Re: DO module default values

Post 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+.
Abel
Posts: 4
Joined: 09 Oct 2020, 12:47

Re: DO module default values

Post 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.
https://www.circontrol.com - Mobility & eMobility Solutions
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: DO module default values

Post by dirk »

Hi Abel, do you have an update?
jonathanhoss
Posts: 4
Joined: 30 Aug 2021, 22:12

Re: DO module default values

Post 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.
jonathanhoss
Posts: 4
Joined: 30 Aug 2021, 22:12

Re: DO module default values

Post by jonathanhoss »

Is there any solution to this Problem? I switched the order of the modules but it did not help.
User avatar
RR4711
Posts: 229
Joined: 22 Feb 2018, 13:28

Re: DO module default values

Post by RR4711 »

Are the modules on the latest Firmware?
jonathanhoss
Posts: 4
Joined: 30 Aug 2021, 22:12

Re: DO module default values

Post by jonathanhoss »

Yes, all Modules have the latest Firmware.
Post Reply