Pigeon Tool
Pigeon Tool is a program designed to facilitate the convenient reading of inputs and setting of outputs for Pigeon computers.
To download and execute the program, follow these commands:
wget www.pigeoncomputers.com/files/pigeon-tool
chmod u+x pigeon-tool
sudo ./pigeon-tool
If the operations were successful, you should observe the following information:
Usage: pigeon-tool [options]
Options:
--all read all inputs and display device information
--i1 read optoisolated input I1
--i2 read optoisolated input I2
--i3 read optoisolated input I3
--i4 read optoisolated input I4
--i5 read optoisolated input I5
--i6 read optoisolated input I6
--i7 read optoisolated input I7
--i8 read optoisolated input I8
--id1 read dry contact input ID1
--id2 read dry contact input ID2
--id3 read dry contact input ID3
--id4 read dry contact input ID4
--bo1 set binary output O1
--bo2 set binary output O2
--bo3 set binary output O3
--bo4 set binary output O4
--bo5 set binary output O5
--bo6 set binary output O6
--bo7 set binary output O7
--bo8 set binary output O8
--ao1 set analog output AO1
--ao2 set analog output AO2
--ai1 read analog input AI1
--ai2 read analog input AI2
--ai3 read analog input AI3
--ai4 read analog input AI4
where:
BOOL = 0 or 1
FLOAT = 0.00 - 10.00
Examples:
pigeon-tool --bo1 1 set binary output O1 to 1
pigeon-tool --ao1 5.00 set analog output AO1 to 5.00V
pigeon-tool --i1 read binary input I1
pigeon-tool --id1 read dry contact ID1
pigeon-tool --ai1 read analog input AI1
For instance, running the program with the option --all will read all inputs and display information about the device:
+-----------------------------+
| PIGEON TOOL ver. 1.48 |
| Device: RB700 ADVANCE |
| Firmware: 211208.01 |
| S/N: 98-27-82-C0-40-1A |
+-------+---------------------+
| Input | Value |
+-------+---------------------+
| I1 | 1 |
| I2 | 1 |
| I3 | 0 |
| I4 | 0 |
| I5 | 0 |
| I6 | 0 |
| I7 | 0 |
| I8 | 0 |
+-------+---------------------+
| ID1 | 0 |
| ID2 | 0 |
| ID3 | 0 |
| ID4 | 1 |
+-------+---------------------+
| AI0 | 2.50 V |
| AI1 | 10.00 V |
| AI2 | 7.50 V |
| AI3 | 10.00 V |
+-------+---------------------+