WKGYWG User Interface Documentation
website·Indexed 31 days ago
https://doc.wkgywg.comTechnical documentation for the WKGYWG Web User Interface (versions 3.7.2 and 3.7.3), featuring a JavaScript API for developing graphical interfaces. Includes details on UI control properties, page management, and functions for point value manipulation, user authentication, and system interaction, as well as server-side protocol specifications for Aliyun MQTT.
What's inside WKGYWG
- DeliverModbus V4 is a Modbus forwarding driver that supports three communication modes: RTU, TCP, and ASCII. It includes a feedback transmission delay parameter (in milliseconds) to accommodate delays in microcontroller-based Modbus masters when switching between sending and receiving. A value of 0 indicates no delay.
Overview of DeliverModbus Forwarding Driver
The DeliverModbus driver is used for Modbus protocol forwarding. It supports the following communication modes: Serial, TCP Server, TCP Client, and UDP.
Important Constraints:
- When using
TCPServer, only one client connection is supported at a time. For multi-client simultaneous access, use theDeliverModbus_TCP_Serverdriver instead. - A forwarding device must be established for the channel to function.
- The driver will not provide a response when attempting to access a device address that does not exist.
- When using
Overview of WK Cloud (Aliyun MQTT) Server Protocol
The WK Cloud (Aliyun MQTT) server-side protocol (v2.0.0) is a proprietary protocol by 微控工业网关技术有限公司. It is designed to work in tandem with the WK Cloud (Aliyun MQTT) client protocol and supports multiple concurrent client connections. The protocol relies on the Aliyun 'Micro Message Queue MQTT Edition' service.Overview of Modbus_BatchRemoteControl Driver
The Modbus_BatchRemoteControl driver is based on the Modbus collection driver and includes an enhanced feature for forwarding batch remote settings. It supports standard Modbus operations for reading and writing coils and registers.Overview of Modbus Collection Driver
The Modbus collection driver supports single-point delivery for function code 16, meaning each control point is synthesized into a single frame. For batch control functionality using function code 16, use theModbus_BatchRemoteControldriver instead.Overview of User Group management
User groups allow administrators to group users and assign different accessible devices to each group. User group management is located under 'Maintenance' -> 'User Groups'.
Key constraints:
- Only the Root user has permissions to view, add, modify, or delete user groups.
- The default 'RootGroup' is exclusive to the Root user and cannot be modified or deleted.
Overview of Weikong Industrial Gateway Features
The Weikong Industrial Gateway is a multi-functional IoT device designed for diverse data requirements. Key technical capabilities include:
- Architecture: Uses a B/S (Browser/Server) architecture, allowing configuration via a web page without installing client software.
- Connectivity & Security: Supports HTTPS, CDN acceleration, and OpenVPN for creating encrypted virtual local area networks (VPN).
- Remote Access: Compatible with internal network penetration tools such as PeanutHull (花生壳) and frp for remote maintenance and upgrades.
- Data Management: Supports multiple interfaces, transmission methods, and protocols. Includes features for project backup and restoration for deployment across multiple devices.
- Visualization & Access Control: Provides powerful data display options, including camera feed integration and group-based permission allocation for enhanced security and privacy.
Overview of WK Cloud Slave Protocol
The WK Cloud Slave protocol is a proprietary protocol by 微控工业网关技术有限公司 designed to work in tandem with the WK Cloud Master protocol. Its primary functions are to upload data to the master station and receive commands from the master station to return requested data information.Overview of Ezviz Cloud Service Integration
The Ezviz service allows users to display Hikvision camera video information on user pages. For additional functionality, developers can use the user functions provided in the graphical configuration tool. The service requires the device to have external internet access to communicate withopen.ys7.com. The configuration page is located under Maintenance → Ezviz Service (维护 – 萤石服务).Overview of the User Interface structure
The UI editor is used to display data using text, tables, charts, and graphics. It operates similarly to a drawing tool where elements are built via clicking and dragging. The interface is divided into four main sections: the top Page Management Bar, the left Toolbar, the center Canvas, and the right Property Bar. Access the UI settings via: Configuration $\rightarrow$ User Interface $\rightarrow$ Settings.Overview of Transparent Transmission Driver
The Transparent Transmission driver allows data to be transmitted across a link regardless of the bit combination. It ensures that the length and content of the data sent by the sender are identical to those received by the receiver, acting as an invisible transmission line. The gateway device facilitates the mutual transfer of data between two different channels without processing the business logic of the payload.Overview of System Maintenance functions
The System Maintenance module allows users to view the current versions of the device's Operating System, Internal Program, and Web Program. It also provides the functionality to upgrade the Internal and Web programs. The maintenance page is located at: Maintenance $\rightarrow$ System Maintenance.