Tuya PLC Gateway Development Framework Software
Nkọwapụta
- Ngwaahịa: PLC Sub-Device Njikọta
- Ụdị: 20250317
- Version nke Ntanetị
Ozi ngwaahịa
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.
Ozi ndabere
Ịmepụta ọnụ ụzọ ámá PLC nwere nnukwu ihe mgbochi ịbanye na ogologo oge mmepe. Ngwa ngwa Tuya na ngwanrọ jikọtara ọnụ na-eme ka mmepe ọnụ ụzọ dị mgbagwoju anya dị mfe. Ọbụna ma ọ bụrụ na ị nweghị ihe ọmụma PLC ọ bụla, ị nwere ike wuo ọnụ ụzọ ámá PLC nke ọma. Jikọọ ngwaike gị na modul Tuya's PLC site na ọdụ ụgbọ mmiri ma mee ka atụmatụ PLC dị na ngwanrọ ahụ. Mgbe ahụ, ngwaahịa gị ga-enwe ike PLC ma nwee ike jikọọ na ngwaọrụ ndị nwere ike Tuya.
Ntuziaka mmepe
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
na mmalite PLC tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
Nkọwa nhazi
Ebe dị na data JSON:
Ubi | dev name | Cts | ọnụego baud | Nkọwa |
---|---|---|---|---|
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
Ajụjụ
Ajụjụ: Gịnị bụ nzube nke PLC Sub-Device Njikọta?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
Akwụkwọ / akụrụngwa
![]() |
tuya PLC Gateway Development Framework Software [pdf] Ntuziaka onye ọrụ Ngwanrọ mmepe mmepe nke ọnụ ụzọ ámá PLC, sọftụwia mmepe nke ọnụ ụzọ ámá, sọftụwia mwube mmepe, sọftụwia Framework |