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 Gateway Development Framework Software [pdf] Օգտագործողի ուղեցույց PLC դարպասի մշակման շրջանակային ծրագրակազմ, դարպասի մշակման շրջանակային ծրագրակազմ, մշակման շրջանակային ծրագրակազմ, շրջանակային ծրագրակազմ |