Tuya PLC Gateway Development Framework Software
Specifikimet
- Produkti: Lidhja e Nën-Pajisjeve PLC
- Versioni: 20250317
- Versioni Online
Informacioni i produktit
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.
Informacioni i Sfondit
Zhvillimi i një porta hyrëse PLC ka një pengesë të lartë hyrjeje dhe një cikël të gjatë zhvillimi. Zgjidhja e integruar e Tuya-s me harduer dhe softuer e bën të thjeshtë zhvillimin e portave të ndërlikuara. Edhe nëse nuk keni njohuri për PLC, mund të ndërtoni një portë hyrëse PLC me kosto efektive. Lidhni harduerin tuaj me modulin PLC të Tuya-s përmes portit serial dhe aktivizoni veçoritë PLC në softuer. Pastaj, produkti juaj bëhet i aftë me PLC dhe mund të lidhet me nën-pajisje të aktivizuara nga Tuya.
Udhëzues zhvillimi
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
dhe fillimi i PLC-së tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Përshkrimi i konfigurimit
Fushat në të dhënat JSON:
Fusha | dev name | Cts | shkalla e baudit | Përshkrimi |
---|---|---|---|---|
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
Pyetjet e shpeshta
P: Cili është qëllimi i Lidhjes së Nën-Pajisjeve PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Dokumentet / Burimet
![]() |
Korniza e Zhvillimit të Portës Tuya PLC për Softuerin [pdfUdhëzuesi i përdoruesit Softuer Kornizë Zhvillimi Portash PLC, Softuer Kornizë Zhvillimi Portash, Softuer Kornizë Zhvillimi, Softuer Kornizë |