RevPi CONNECT+, CODESYS, RevPiLED doesn't work as expected
Posted: 24 Aug 2021, 12:10
Despite the RevPi connect seems configured in the rigth way, the variable RevPiLED doesn't work as expected
Even though in CODESYS code the variable is assigned in one place only, Only the led A2 follows its bits image meaning.
A1 and A3 don't show any colour, they are always off.
AS you can see in my pictures attached, the variable is assigned to value 21, which is:
BIT0 = 1
BIT1 = 0
BIT2 = 1
BIT3 = 0
BIT4 = 1
BIT5 = 0
This command from linux shell works perfectly
(Codesys runtime was stop, before executing it)
piTest -w RevPiLED,21
Libraries used
CODESYS V3.5 SP17 Patch 1 (64 bit)
CODESYS Control for Raspberry PI 4.1.0.0
Revolution PI Library for CODESYS 1.1.0.0
Thank you for your help
Rossano
Even though in CODESYS code the variable is assigned in one place only, Only the led A2 follows its bits image meaning.
A1 and A3 don't show any colour, they are always off.
AS you can see in my pictures attached, the variable is assigned to value 21, which is:
BIT0 = 1
BIT1 = 0
BIT2 = 1
BIT3 = 0
BIT4 = 1
BIT5 = 0
This command from linux shell works perfectly
(Codesys runtime was stop, before executing it)
piTest -w RevPiLED,21
Libraries used
CODESYS V3.5 SP17 Patch 1 (64 bit)
CODESYS Control for Raspberry PI 4.1.0.0
Revolution PI Library for CODESYS 1.1.0.0
Thank you for your help
Rossano