Tuya PLC Gateway Development Framework Software
පිරිවිතර
- නිෂ්පාදනය: PLC උප-උපාංග සම්බන්ධතාවය
- අනුවාදය: 20250317
- මාර්ගගත සංස්කරණය
නිෂ්පාදන තොරතුරු
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.
පසුබිම් තොරතුරු
PLC ද්වාරයක් සංවර්ධනය කිරීම ප්රවේශයට ඉහළ බාධකයක් සහ දිගු සංවර්ධන චක්රයක් ඇත. Tuya හි දෘඩාංග සහ මෘදුකාංග-ඒකාබද්ධ විසඳුම සංකීර්ණ ද්වාර සංවර්ධනය සරල කරයි. ඔබට කිසිදු PLC දැනුමක් නොමැති වුවද, ඔබට PLC ද්වාරයක් පිරිවැය-ඵලදායී ලෙස ගොඩනගා ගත හැකිය. අනුක්රමික වරාය හරහා Tuya හි PLC මොඩියුලයට ඔබේ දෘඩාංග සම්බන්ධ කර මෘදුකාංගයේ PLC විශේෂාංග සක්රීය කරන්න. එවිට, ඔබේ නිෂ්පාදනය PLC-හැකියාවක් ලබා ගන්නා අතර Tuya-සක්රීය උප උපාංග වෙත සම්බන්ධ විය හැකිය.
සංවර්ධන මාර්ගෝපදේශය
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
සහ PLC ආරම්භය tuya_plc_svc_start
. They have the same parameters in JSON used for configurations.
වින්යාස විස්තරය
JSON දත්තවල ක්ෂේත්ර:
ක්ෂේත්රය | dev name | Cts | බෝඩ් අනුපාතය | විස්තරය |
---|---|---|---|---|
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
නිතර අසන පැන
ප්රශ්නය: PLC උප-උපාංග සම්බන්ධතාවයේ අරමුණ කුමක්ද?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
ලේඛන / සම්පත්
![]() |
tuya PLC ගේට්වේ සංවර්ධන රාමු මෘදුකාංගය [pdf] පරිශීලක මාර්ගෝපදේශය PLC ගේට්වේ සංවර්ධන රාමු මෘදුකාංග, ගේට්වේ සංවර්ධන රාමු මෘදුකාංග, සංවර්ධන රාමු මෘදුකාංග, රාමු මෘදුකාංග |