Tuya PLC Gateway Development Framework Software
Spesifikaasjes
- Produkt: PLC-subapparaatferbining
- Ferzje: 20250317
- Online Ferzje
Produkt ynformaasje
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.
Eftergrûn ynformaasje
It ûntwikkeljen fan in PLC-gateway hat in hege yngongsdrempel en in lange ûntwikkelingssyklus. Tuya's hardware- en software-yntergreare oplossing makket yngewikkelde gateway-ûntwikkeling ienfâldich. Sels as jo gjin PLC-kennis hawwe, kinne jo kosteneffektyf in PLC-gateway bouwe. Ferbine jo hardware mei Tuya's PLC-module fia de seriële poarte en aktivearje PLC-funksjes yn 'e software. Dan wurdt jo produkt PLC-kompatibel en kin it ferbine mei Tuya-ynskeakele subapparaten.
Untwikkelingsgids
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
en PLC opstarten tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Konfiguraasje Beskriuwing
Fjilden yn 'e JSON-gegevens:
Fjild | dev name | Cts | baudrate | Beskriuwing |
---|---|---|---|---|
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: Wat is it doel fan 'e PLC-subapparaatferbining?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Dokuminten / Resources
![]() |
tuya PLC Gateway Untwikkelingsraamwurksoftware [pdf] Brûkersgids PLC Gateway Untwikkelingsraamwurksoftware, Gateway Untwikkelingsraamwurksoftware, Untwikkelingsraamwurksoftware, Raamwurksoftware |