Tuya PLC Gateway Development Framework Software
Спецификације
- Производ: Повезивање под-уређаја PLC-а
- Верзија: 20250317
- Интернет верзија
Информације о производу
Power Line Communication (PLC) sub-device connectivity is designed to help you easily develop PLC gateways. Tuya’s hardware and software-integrated solution provides a PLC module and software implementation, allowing you to build a PLC gateway with no code and connect to PLC sub-devices in the Tuya ecosystem. This topic describes how to use the PLC features with the TuyaOS Gateway Development Framework.
Основне информације
Развој PLC гејтвеја има високу баријеру за улазак и дуг развојни циклус. Тујино решење интегрисано у хардвер и софтвер поједностављује компликовани развој гејтвеја. Чак и ако немате никакво знање о PLC-у, можете исплативо направити PLC гејтвеј. Повежите свој хардвер са Тујиним PLC модулом преко серијског порта и омогућите PLC функције у софтверу. Затим, ваш производ постаје PLC компатибилан и може се повезати са Тујиним подуређајима.
Водич за развој
This section describes how to enable PLC features with the TuyaOS Gateway Development Framework by making API calls. Two interfaces are used to enable PLC features: PLC initialisationtuya_plc_svc_init
и покретање ПЛЦ-а tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Опис конфигурације
Поља у JSON подацима:
Поље | dev name | Cts | број бауда | Опис |
---|---|---|---|---|
Specifies the serial port number. | — | — | — | Specifies the serial port number used for communication. |
Specifies whether to enable hardware flow control. | — | 1 : Enable0 : Disable | — | Whether to enable hardware flow control depends on the PLC module you use. |
Baud rate for serial communication | — | — | Set according to PLC requirements | The baud rate for serial communication between the PLC module and the gateway’s microcontroller chip. |
Example
ФАКс
П: Која је сврха повезивања под-уређаја ПЛЦ-а?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Документи / Ресурси
![]() |
Софтвер за развој оквира за ПЛЦ гејтвеј компаније Tuya [пдф] Упутство за кориснике Софтвер за развој PLC Gateway-а, Софтвер за развој Gateway-а, Софтвер за развојни оквир, Софтвер за оквир |