Tuya PLC Gateway Development Framework Software
ਨਿਰਧਾਰਨ
- ਉਤਪਾਦ: ਪੀਐਲਸੀ ਸਬ-ਡਿਵਾਈਸ ਕਨੈਕਟੀਵਿਟੀ
- ਸੰਸਕਰਣ: 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
ਅਤੇ ਪੀਐਲਸੀ ਸਟਾਰਟਅੱਪ 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] ਯੂਜ਼ਰ ਗਾਈਡ ਪੀਐਲਸੀ ਗੇਟਵੇ ਡਿਵੈਲਪਮੈਂਟ ਫਰੇਮਵਰਕ ਸਾਫਟਵੇਅਰ, ਗੇਟਵੇ ਡਿਵੈਲਪਮੈਂਟ ਫਰੇਮਵਰਕ ਸਾਫਟਵੇਅਰ, ਡਿਵੈਲਪਮੈਂਟ ਫਰੇਮਵਰਕ ਸਾਫਟਵੇਅਰ, ਫਰੇਮਵਰਕ ਸਾਫਟਵੇਅਰ |