Tuya PLC Gateway Development Framework Software
Specifikace
- Produkt: Připojení subzařízení PLC
- Verze: 20250317
- Online verze
Informace o produktu
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.
Základní informace
Vývoj PLC brány má vysokou vstupní bariéru a dlouhý vývojový cyklus. Řešení Tuya integrované s hardwarem a softwarem zjednodušuje složitý vývoj brány. I když nemáte žádné znalosti PLC, můžete si PLC bránu vytvořit cenově efektivně. Připojte hardware k PLC modulu Tuya přes sériový port a povolte funkce PLC v softwaru. Poté se váš produkt stane kompatibilním s PLC a může se připojit k dílčím zařízením s podporou Tuya.
Průvodce rozvojem
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
a spuštění PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Popis konfigurace
Pole v datech JSON:
Pole | dev name | Cts | přenosová rychlost | Popis |
---|---|---|---|---|
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
Nejčastější dotazy
Otázka: Jaký je účel připojení dílčích zařízení PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Dokumenty / zdroje
![]() |
Software pro vývoj PLC brán Tuya [pdfUživatelská příručka Vývojový frameworkový software pro PLC brány, Vývojový frameworkový software pro brány, Vývojový frameworkový software, Rámcový software |