DO module default values
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?
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
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+.
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+.
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
Hi Abel, do you have an update?
-
- Posts: 4
- Joined: 30 Aug 2021, 22:12
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:
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:
Is there any good solution for this problem or do I miss something? Thank You in advance.
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)
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
-
- Posts: 4
- Joined: 30 Aug 2021, 22:12
Is there any solution to this Problem? I switched the order of the modules but it did not help.
Are the modules on the latest Firmware?
-
- Posts: 4
- Joined: 30 Aug 2021, 22:12
Yes, all Modules have the latest Firmware.