Tuya PLC Gateway Development Framework Software
Fa'amatalaga
- Oloa: PLC Sub-Masini Feso'ota'i
- Fa'aliliuga: 20250317
- Faʻasinomaga Faʻainitaneti
Fa'amatalaga o oloa
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.
Fa'amatalaga Fa'amatalaga
O le atina'eina o se faitotoa PLC e maualuga le pa e ulufale ai ma se taamilosaga umi o le atina'e. O meafaigaluega a Tuya ma fofo fa'apipi'i fa'akomepiuta e fa'afaigofie ai le atina'eina o faitoto'a lavelave. E tusa lava pe leai sau malamalama PLC, e mafai ona e fausia se faitotoa PLC i le tau-lelei. Fa'afeso'ota'i au meafaigaluega i le Tuya's PLC module e ala i le laina telefoni ma fa'agaoioi le PLC i totonu o le polokalama. Ona avea ai lea o lau oloa ma PLC-mafai ma mafai ona faʻafesoʻotaʻi i Tuya-faʻaogaina sub-masini.
Taiala Atina'e
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
ma le amataina o le PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Fa'amatalaga Fa'atonu
Fields i le JSON data:
fanua | dev name | Cts | fua faatatau baud | Fa'amatalaga |
---|---|---|---|---|
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
FAQs
Q: O le a le faʻamoemoe o le PLC Sub-Device Connectivity?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Pepa / Punaoa
![]() |
tuya PLC Gateway Development Framework Software [pdf] Taiala mo Tagata Fa'aoga PLC Gateway Development Framework Software, Gateway Development Framework Software, Development Framework Software, Framework Software |