Tuya PLC Gateway Development Framework Software
Ƙayyadaddun bayanai
- Samfura: Haɗin Sub-Na'urar PLC
- Shafin: 20250317
- Online Version
Bayanin samfur
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.
Bayanan Bayani
Haɓaka ƙofar PLC yana da babban shinge ga shigarwa da kuma tsayin ci gaba. Haɗin kayan masarufi na Tuya da software mai haɗin kai yana sa haɓakar ƙofa mai rikitarwa mai sauƙi. Ko da ba ka da wani ilimin PLC, za ka iya gina hanyar PLC mai tsada-daidai. Haɗa kayan aikin ku zuwa tsarin Tuya's PLC ta tashar tashar jiragen ruwa kuma kunna fasalin PLC a cikin software. Bayan haka, samfurin ku ya zama mai iya PLC kuma yana iya haɗawa zuwa ƙananan na'urori masu kunna Tuya.
Jagoran Ci Gaba
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
da PLC farawa tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Bayanin Kanfigareshan
Filaye a cikin bayanan JSON:
Filin | dev name | Cts | kudi bauddin | Bayani |
---|---|---|---|---|
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
Tambaya: Menene manufar Haɗin Sub-Na'urar PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Takardu / Albarkatu
![]() |
Tuya PLC Ƙofar Haɓaka Tsarin Software [pdf] Jagorar mai amfani PLC Tsarin Haɓaka Ƙofar Ƙofar Software, Ƙofar Tsarin Ƙofar Ƙofar, Ƙofar Ƙofar Ƙofar Software, Ƙirar Ƙofar Software |