tuya-Logo

Tuya PLC Gateway Development Framework Software

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

Iinkcukacha

  • Imveliso: PLC Sub-Device Connectivity
  • Inguqulelo: 20250317
  • Version Online

Ulwazi lweMveliso

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.

Iinkcukacha zemvelaphi

Ukuphuhliswa kwesango le-PLC kunomqobo ophezulu wokungena kunye nomjikelezo wophuhliso olude. I-hardware yeTuya kunye nesisombululo esidityanisiweyo sesoftware yenza uphuhliso lwesango oluntsonkothileyo lube lula. Nokuba awunalo naluphi na ulwazi lwe-PLC, unokwakha isango le-PLC ngeendleko ezifanelekileyo. Qhagamshela ihardware yakho kwimodyuli yeTuya ye-PLC ngokusebenzisa i-serial port kwaye uvule iimpawu zePLC kwisoftware. Ke, imveliso yakho iba yi-PLC-ekwaziyo kwaye inokuqhagamshela kwii-sub-devices ezinikwe amandla kaTuya.

Isikhokelo soPhuhliso

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

iNkcazelo yoLungiselelo

Imimandla kwidatha ye-JSON:

Intsimi dev name Cts izinga baud Inkcazo
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)

Ii-FAQs

Q: Yintoni injongo yoQhagamshelwano lwesiXhobo esiNcinane se-PLC?
A: The purpose is to help users easily develop PLC gateways and connect to PLC sub-devices in the Tuya ecosystem.

Amaxwebhu / Izibonelelo

tuya PLC Gateway Development Framework Software [pdf] Isikhokelo somsebenzisi
PLC Gateway Development Framework Software, Gateway Development Framework Software, Development Framework Software, Framework Software

Iimbekiselo

Shiya uluvo

Idilesi yakho ye-imeyile ayizupapashwa. Iindawo ezifunekayo ziphawulwe *