Tuya PLC Gateway Development Framework Software
fepetra arahana
- Vokatra: PLC Sub-Device Connectivity
- Dikan-teny: 20250317
- Online Version
Product Information
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.
Fampahalalana fototra
Ny famolavolana vavahadin'ny PLC dia manana sakana avo amin'ny fidirana sy tsingerin'ny fampandrosoana maharitra. Ny vahaolana ampifandraisin'ny fitaovana sy rindrambaiko an'i Tuya dia manamora ny fivoaran'ny vavahady sarotra. Na dia tsy manana fahalalana PLC aza ianao dia afaka manangana vavahady PLC amin'ny vidiny mora. Ampifandraiso amin'ny maody PLC an'i Tuya amin'ny alàlan'ny seranan-tsambo ny fitaovanao ary avelao ny endri-javatra PLC ao amin'ny rindrambaiko. Avy eo, lasa mahavita PLC ny vokatrao ary afaka mifandray amin'ny fitaovana kely misy Tuya.
Torolàlana momba ny fampandrosoana
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
ary ny fanombohana PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Famaritana ny Configuration
saha ao amin'ny angona JSON:
SaHa | dev name | Cts | tahan'ny baud | Description |
---|---|---|---|---|
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
F: Inona no tanjon'ny 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.
Documents / Loharano
![]() |
tuya PLC Gateway Development Framework Software [pdf] Torolàlana ho an'ny mpampiasa PLC Gateway Development Framework Software, Gateway Development Framework Software, Development Framework Software, Framework Software |