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 గేట్వే డెవలప్మెంట్ ఫ్రేమ్వర్క్ సాఫ్ట్వేర్, గేట్వే డెవలప్మెంట్ ఫ్రేమ్వర్క్ సాఫ్ట్వేర్, డెవలప్మెంట్ ఫ్రేమ్వర్క్ సాఫ్ట్వేర్, ఫ్రేమ్వర్క్ సాఫ్ట్వేర్ |