I Use a RevPi Connect 5 with a Mio module (and a few AIO). Now i want to use the Digital Outputs to control external 24V relays. I mappt the bool to a variable from my Programm (image). But it is not working, it shows the current value like i wish, but the outputs stay on 0V. But some times i hear the Relays for a brief moment. The test variables are only for test purposes, so they dont get written any where else (and also forcing makes no differences) If i map the Word instead to a testWord variable it is working properly. And for sensor Inputs i dont have any problems with the same pattern. I dont use explicite Adresses anywhere. I also want to prevent, to build the word on my own from the bits in the programm.
What did i do wrong/overlook?
MIO Variable Mapping for Output not Working
Re: MIO Variable Mapping for Output not Working
Hi,
I suppose you are using the Revolution Pi Library for CODESYS V2.4.0.0.
MIO bit access for outputs works when the module is connected to the Connect 5 on either side over piBridge.
Perhaps you have a specific module combination where this issue is occurring. An SOS report would be helpful.
Also ensure that the Digital IO Mode is configured to DigitalOut for the MIO outputs in the Revolution Pi MIO Module Parameters.
Try placing the MIO module immediately next to the Connect 5 on either side of the piBridge to see if the same issue persists.
Regards, Amar
I suppose you are using the Revolution Pi Library for CODESYS V2.4.0.0.
MIO bit access for outputs works when the module is connected to the Connect 5 on either side over piBridge.
Perhaps you have a specific module combination where this issue is occurring. An SOS report would be helpful.
Also ensure that the Digital IO Mode is configured to DigitalOut for the MIO outputs in the Revolution Pi MIO Module Parameters.
Try placing the MIO module immediately next to the Connect 5 on either side of the piBridge to see if the same issue persists.
Regards, Amar
KUNBUS