Rev. 8: 29-04-2021
39
Warning
:
There are some pins that can work as digital or analogue. In this case, if we have used these
pins before in either digital or analogic and we want to switch its mode, we must call the set
function providing
stop
to the value option; otherwise there will be a system error. If a reboot
is done, it is not necessary to do it.
The pins which can operate with both Analog/Digital configurations are:
•
0.5
•
1.5
•
2.5
•
0.6
•
1.6
•
2.6
•
0.7
•
1.7
•
2.7
As for the relay option, we can call the function as the following example:
Respect the PWM, all the digital output pins can work as PWM, so we must also consider the
stop function in case that they are running as digital or analog (in the case of these ones that
can work as analog or digital).
Or:
./set-digital-output Q0.5 1
./set-digital-output Q0.5 stop
./set-analog-output Q0.5 4095
./set-analog-output A.05 50
./set-digital-output Q0.5 1
./set-digital-output Q0.5 stop
./set-analog-output A0.5 2048
./set-analog-output A.05 50
./set-analog-output A0.5 2048
./set-digital-output A0.5 stop
./set-analog-output Q0.5 4095
./set-analog-output A.05 50
./set-relay R0.5 1
Содержание Raspberry PLC 19R+
Страница 1: ...RASPBERRY PLC FAMILY RASPBERRY PLC FAMILY...
Страница 2: ...Rev 8 29 04 2021 1...
Страница 3: ...Rev 8 29 04 2021 2 RASPBERRY PLC FAMILY Quick User Guide Revised February 2021...
Страница 9: ...Rev 8 29 04 2021 8 General Description RASPBERRY PLC FAMILY Product Reference Table...
Страница 10: ...Rev 8 29 04 2021 9 Zones Table Measures Table...
Страница 27: ...Rev 8 29 04 2021 26 Raspberry PLC Family Pinout I Os Table...
Страница 29: ...Rev 8 29 04 2021 28 Upper Side POWER INDICATOR RTC BATTERY CAN BUS ETHERNET2 CONNECTOR...
Страница 35: ...Rev 8 29 04 2021 34 Equivalence Table Pin Out 11 1 1 Analog Digital Devices Analog I Os...
Страница 36: ...Rev 8 29 04 2021 35 11 1 2 Digital I Os 11 1 3 Relay Devices Analog I Os...
Страница 37: ...Rev 8 29 04 2021 36 11 1 4 Digital I Os 11 1 5 Relay...
Страница 53: ...Rev 8 29 04 2021 52 Mail industrialshields industrialshields com...