Tuya PLC Gateway Development Framework Software
Zofotokozera
- Zogulitsa: PLC Sub-Device Connectivity
- Mtundu: 20250317
- Baibulo Lomasulira
Zambiri Zamalonda
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.
Zambiri Zam'mbuyo
Kupanga chipata cha PLC kuli ndi chotchinga chachikulu cholowera komanso kuzungulira kwachitukuko chachitali. Yankho la Tuya la Hardware ndi mapulogalamu-lophatikizana limapangitsa kuti chitukuko chikhale chosavuta. Ngakhale mulibe chidziwitso cha PLC, mutha kupanga chipata cha PLC motsika mtengo. Lumikizani zida zanu ku gawo la Tuya's PLC kudzera pa doko la serial ndikuthandizira mawonekedwe a PLC mu pulogalamuyo. Kenako, malonda anu amakhala okhoza PLC ndipo amatha kulumikizana ndi zida zazing'ono zothandizidwa ndi Tuya.
Chitukuko Guide
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
ndi kuyamba kwa PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Kufotokozera Zosintha
Minda mu data ya JSON:
Munda | dev name | Cts | mlingo baud | Kufotokozera |
---|---|---|---|---|
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: Kodi cholinga cha PLC Sub-Device Connectivity ndi chiyani?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Zolemba / Zothandizira
![]() |
tuya PLC Gateway Development Framework Software [pdf] Buku Logwiritsa Ntchito PLC Gateway Development Framework Software, Gateway Development Framework Software, Development Framework Software, Framework Software |