RevPi Connect 4 - firing script with digital input
Posted: 02 Oct 2024, 08:43
Hi everybody,
this is going to be a real noob question, but maybe somebody can point me in the right direction.
Here's my story:
I've got a Connect 4 and would like to fire a script as soon as a push-button "closes" the digital input.
The push-button is connected to the +24V side of the power supply, and the X2-3 "IN+" connector terminal.
I powered the thing up, went to PiCtory and dropped a Connect 4 to the "DIN rail", saved it as start configuration and restarted.
My expectation now was, that there should be a variable for the digital input somewhere in PiCtory, but I cannot find it.
After three days of try and error I learned how to operate the LEDs, the integrated "OUT relay", but the digital in is still a riddle to me.
Can somebody give me a hint?
Can the digital in be used at all for this purpose?
Many thanks!
this is going to be a real noob question, but maybe somebody can point me in the right direction.
Here's my story:
I've got a Connect 4 and would like to fire a script as soon as a push-button "closes" the digital input.
The push-button is connected to the +24V side of the power supply, and the X2-3 "IN+" connector terminal.
I powered the thing up, went to PiCtory and dropped a Connect 4 to the "DIN rail", saved it as start configuration and restarted.
My expectation now was, that there should be a variable for the digital input somewhere in PiCtory, but I cannot find it.
After three days of try and error I learned how to operate the LEDs, the integrated "OUT relay", but the digital in is still a riddle to me.
Can somebody give me a hint?
Can the digital in be used at all for this purpose?
Many thanks!