Tuya PLC Gateway Development Framework Software
Sonraíochtaí
- Táirge: Nascacht Fo-Ghléas PLC
- Leagan: 20250317
- Leagan ar líne
Eolas Táirge
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.
Eolas Cúlra
Tá bacainn ard iontrála agus timthriall forbartha fada ag baint le forbairt geata PLC. Déanann réiteach comhtháite crua-earraí agus bogearraí Tuya forbairt gheata casta simplí. Fiú mura bhfuil aon eolas PLC agat, is féidir leat geata PLC a thógáil go costéifeachtach. Ceangail do chrua-earraí le modúl PLC Tuya tríd an gcalafort sraitheach agus cumasaigh gnéithe PLC sna bogearraí. Ansin, bíonn do tháirge in ann PLC a úsáid agus is féidir leis ceangal le fo-ghléasanna atá cumasaithe ag Tuya.
Treoir Forbartha
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
agus tosaithe PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Cur síos ar Chumraíocht
Réimsí sna sonraí JSON:
Réimse | dev name | Cts | ráta baud | Cur síos |
---|---|---|---|---|
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
CCanna
C: Cad é cuspóir Nascacht Fho-Ghléas PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Doiciméid / Acmhainní
![]() |
Bogearraí Creat Forbartha Geata PLC tuya [pdfTreoir Úsáideora Bogearraí Creat Forbartha Geata PLC, Bogearraí Creat Forbartha Geata, Bogearraí Creat Forbartha, Bogearraí Creat |