Tuya PLC Gateway Development Framework Software
Specifikacije
- Izdelek: Povezljivost podnaprav PLC
- Različica: 20250317
- Spletna različica
Informacije o izdelku
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.
Informacije o ozadju
Razvoj PLC prehoda ima visoko vstopno oviro in dolg razvojni cikel. Tuyina rešitev, integrirana s strojno in programsko opremo, poenostavlja razvoj zapletenih prehodov. Tudi če nimate nobenega znanja o PLC-jih, lahko stroškovno učinkovito zgradite PLC prehod. Povežite svojo strojno opremo s Tuyinim PLC modulom prek serijskega vhoda in omogočite funkcije PLC-ja v programski opremi. Nato bo vaš izdelek postal združljiv s PLC-jem in se bo lahko povezal s podnapravami, ki jih podpira Tuya.
Vodnik za razvoj
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
in zagon PLC-ja tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Opis konfiguracije
Polja v podatkih JSON:
Polje | dev name | Cts | hitrost prenosa | Opis |
---|---|---|---|---|
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
pogosta vprašanja
V: Kakšen je namen povezljivosti podnaprav PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Dokumenti / Viri
![]() |
Programska oprema za razvoj ogrodja za PLC prehode Tuya [pdf] Uporabniški priročnik Programska oprema za razvoj ogrodja PLC prehoda, programska oprema za razvoj ogrodja prehoda, programska oprema za razvoj ogrodja, programska oprema ogrodja |