XC10 output high in software but low directly on module
We experienced a similar issue with output energisation that was corrected in 3.16 but this is slightly different.
System is 1 MD4 with XC10 as expansion, 1 MC3 and 1 MC3 with XC10 expansion. We have logic that switches a single DOUT on XC10 expansion connected to MD4. This logic is handled in MD4 application. With a delay on of 500ms or less the output on XC10 remains low on module (tested using multimeter) but IQAN design when connected says high.
If I increase delay on to 1000ms the output switches on and voltage present on XC10 module using multimeter.
Its almost as if the MD4 is sending a command to energise output before XC10 has booted?
I have rigged up single MD4 and XC10 on the bench but been unable to replicate, perhaps cycle time of the software could be the issue? Running IQAN Design 3.19.
Customer support service by UserEcho
Is this something you are able to replicate?
Do you use the Enable property on the XC10?
Normally all IQAN IO are level triggered, but we have a problem in the XC10 firmware has the behavior that some of its DOUT:s will need a flank after module disable. It is the DOUT:s that are also combined as XC10 PWM:s that have this behaviour. Here is an example of how to make a workaround for it, I only used 100 ms after the XC10 enable for delaying the DOUT.
XC10 DOUT workaround.ids3
Frank,
The issue above should not exist for the XA2, but there is another possible explanation for the problem you experienced.
If there is a fault that affects outputs, the behavior is that these outputs will remain off with the error status until the error has gone away and there is a zero command to the outputs.
The purpose of this is to avoid unexpected restart for outputs that are controlling machine movement, if the error is intermittent.
This functionality is controlled by the master module, and in IQANdesign you would see the error status and that the DOUT has the value false.
If you want a function that automatically restarts the DOUT after an error, you can achieve this by blocking it when there is a fault.
We have a IDC in the MD4 application which has a true to activate the IDC. We then applied a 500ms 'delay on' for the IDC so that it will enable the XC10 module after 500ms. We have also added a 'delay on' on some outputs of 500ms, maybe this is why its not activating because its enabling the XC10 module at the same time as the output? We found that increasing this to 1000ms enabled the output successfully, effectively enabling the output 500ms after the module has booted?
Can the firmware be changed in the XC10 to cure this problem? If the XC10 module is booted can it get a signal from the module holding the application to see which outputs should be energised? This would resolve any need to insert delays in the software.
We are just about to release an XC10 firmware update to support DOUT diagnostics features in combination with IQANdesign 3.15 and later. But this update we are releasing now does not resolve the problem of DOUT:s requiring flank after module enable.
If we energise the module output as soon as the application starts (a true function) and remove the module enable function completely will the outputs still need a flank?
The output delays (IDC) does not get processed by the XC10, the XC10 only sees the DOUT:s as its commands.
Yes, if you do not have any delay in activating the XC10 via the Enable property, then you can activate the DOUT as soon as the IQAN master starts, and the XC10 will activates its outputs without the need for a flank.