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 גייטוויי האט אַ הויכע באַריער צו אַרייַנטרעטן און אַ לאַנג אַנטוויקלונג ציקל. טויאַ ס האַרדווער און ווייכווארג-ינטעגרירטע לייזונג מאכט קאָמפּליצירט גייטוויי אַנטוויקלונג פּשוט. אפילו אויב איר האָט נישט קיין PLC וויסן, קענט איר בויען אַ PLC גייטוויי קאָסטן-עפעקטיוולי. פאַרבינדן דיין האַרדווער צו טויאַ ס PLC מאָדול דורך די סעריאַל פּאָרט און אַקטיווירן PLC פֿעיִקייטן אין די ווייכווארג. דערנאָך, דיין פּראָדוקט ווערט PLC-קאַמפּאַטאַבאַל און קען פאַרבינדן צו טויאַ-ענייבאַלד סאַב-דעווייסעס.
אַנטוויקלונג גייד
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
FAQ
פ: וואָס איז דער צוועק פון די PLC סוב-דעווייס קאָנעקטיוויטי?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.
דאָקומענטן / רעסאָורסעס
![]() |
טויאַ פּלק גייטוויי אנטוויקלונג פריימווערק ווייכווארג [pdfבאַניצער גייד פּלק גייטוויי אנטוויקלונג פריימווערק ווייכווארג, גייטוויי אנטוויקלונג פריימווערק ווייכווארג, אנטוויקלונג פריימווערק ווייכווארג, פריימווערק ווייכווארג |