Tuya PLC Gateway Development Framework Software
Műszaki adatok
- Termék: PLC aleszköz-csatlakoztathatóság
- Verzió: 20250317
- Online verzió
Termékinformáció
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.
Háttérinformációk
Egy PLC átjáró fejlesztése magas belépési korláttal és hosszú fejlesztési ciklussal jár. A Tuya hardver- és szoftverintegrált megoldása egyszerűvé teszi a bonyolult átjárók fejlesztését. Még ha nincs is PLC ismerete, költséghatékonyan építhet PLC átjárót. Csatlakoztassa hardverét a Tuya PLC moduljához a soros porton keresztül, és engedélyezze a PLC funkciókat a szoftverben. Ezután a terméke PLC-képessé válik, és csatlakozhat a Tuya-kompatibilis aleszközökhöz.
Fejlesztési útmutató
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
és PLC indítás tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Konfiguráció leírása
A JSON adatok mezői:
Mező | dev name | Cts | átviteli sebesség | Leírás |
---|---|---|---|---|
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
GYIK
K: Mi a PLC aleszköz-kapcsolat célja?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Dokumentumok / Források
![]() |
tuya PLC átjáró fejlesztői keretrendszer szoftver [pdf] Felhasználói útmutató PLC Gateway Fejlesztői Keretrendszer Szoftver, Gateway Fejlesztői Keretrendszer Szoftver, Fejlesztői Keretrendszer Szoftver, Keretrendszer Szoftver |