туя-лагатып

Tuya PLC Gateway Development Framework Software

tuya-PLC-Gateway-Development-Framework-Software-Product

Тэхнічныя характарыстыкі

  • Product: PLC Sub-Device Connectivity
  • Версія: 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.

Даведачная інфармацыя

Developing a PLC gateway has a high barrier to entry and a long development cycle. Tuya’s hardware and software-integrated solution makes complicated gateway development simple. Even if you do not have any PLC knowledge, you can build a PLC gateway cost-effectively. Connect your hardware to Tuya’s PLC module through the serial port and enable PLC features in the software. Then, your product becomes PLC-capable and can connect to Tuya-enabled sub-devices.

Кіраўніцтва па распрацоўцы

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 and PLC startup tuya_plc_svc_start. They have the same parameters in JSON used for configurations.

Апісанне канфігурацыі

Fields in the JSON data:

Палявы 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

tuya-PLC-Gateway-Development-Framework-Software-fig-1 (1) tuya-PLC-Gateway-Development-Framework-Software-fig-1 (2)

FAQ

Q: What is the purpose of the PLC Sub-Device Connectivity?
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 Gateway Development Framework Software, Gateway Development Framework Software, Development Framework Software, Framework Software

Спасылкі

Пакінуць каментар

Ваш электронны адрас не будзе апублікаваны. Абавязковыя для запаўнення палі пазначаны *