Índice
AlternarInício rápido do seu Edge Gateway
1. Ligar a Gateway
Visão geral
Este capítulo apresenta principalmente a ligação do dispositivo através de várias formas de aceder à interface de programação.
Método 1: Ligar a porta de rede do computador ao Porta LAN of the gateway. The default IP of the LAN port of the gateway is 192.168.88.1. If the IP of the computer is on the same network segment, the computer cannot communicate with the gateway. As shown in the figure below:

Método 2: O computador liga-se ao hotspot do gateway através de WiFi, using the WiFi name. (gateway model – SN tail number last 4 digits), password: EG12345678. After the connection is successful, the gateway will assign an IP address to the computer in the 192.168.88. Xnetwork segment, as shown in the figure:

Nota: Apenas algumas gateways podem ser acedidas localmente através de ligação WiFi (modelos suportados: EG8200Mini/EG8200/EG8200Pro)
2. Compreender a página de programação
Visão geral
This section describes the components of the programming interface and the functions of each panel. (Se já tem alguns conhecimentos sobre este assunto, pode saltar esta secção).

Barra de menus: a barra de menu superior, incluindo os botões de implantação e o menu principal (importação e exportação de processos na barra de menu).
Biblioteca de nós: provides a variety of encapsulated nodes for users to call.
Espaço de trabalho: nodes will be dragged into the workspace, connecting the line on behalf of the data interaction, and you can realize the freedom of programming.
Área de depuração: dividido em cinco páginas, respetivamente: janela de informação/ficheiro de ajuda/janela de registo/nó de configuração/variáveis globais
De seguida, explicaremos as principais funções destas áreas.
Barra de menus
1. Implantação
After a process is developed, it exists only in the workspace and is not deployed to the gateway, and therefore is not executed. To execute the process, you must click the Deploy button to save the process in the gateway after the process is completed.
2. Menu
The common function of the menu bar is Import Export. The actual storage carrier of the process is a JSON file, and after the process is completed, you can back up the process by using the export function. Similarly, if you need to deploy a completed process on a new gateway, you can use the import function.

Biblioteca de nós
A biblioteca de nós contém todos os nós instalados que podem ser utilizados diretamente.
The nodes are categorized according to their function: Common nodes, Hardware nodes, Function nodes, Network nodes, Sequence nodes, Storage nodes, Advanced nodes, and PLC nodes. Subsequent chapters will introduce the specific functions and usage of each node in turn.
The nodes are connected to form the process, so the nodes are the basic elements of the process, which is also the core element. Whether to master the function of each node determines the efficiency of the development process. The same demand, different people use different nodes, can be realized; there is no fixed program. Our mission is to continue to develop new nodes and constantly improve your work efficiency!
Espaço de trabalho
1. Process
The process is to achieve your needs for the program, because the process of nodes connected to the line is the process of data transfer, the process is like a water process. A process is a combination of nodes and lines. There is no specific point in the process; you can realize a small function point of the program called the process, or you can also call the entire project work a process. In order to facilitate management, the workspace can create multiple tabs (process pages), and you can rename individual tabs to facilitate memory management.
1)Como adicionar um separador de processo?


2) Como posso ativar/desativar/eliminar um processo?
Double-click the Processes tab, and in the lower left corner of the dialog box, there is an Effective button that controls enabling or disabling the process. If you select Disable, the process will not be valid at deployment time. In the upper left corner of the dialog box, there is a Delete button that allows you to delete the process.

2. Nodes
Nodes are connected by connecting wires. A node can have multiple input ports and multiple output ports (except for individual nodes, the number of input and output ports is pre-defined and cannot be modified). When hovering over a port, the port displays a label. You can also define your own label for the port to make it easier to remember, as shown in the figure:

Some nodes display a status bar at the bottom to indicate their operational status. For example, the status bar of an MQTT node indicates the connection status of MQTT:

If the node has any undeployed modifications, a blue dot will be displayed at its top right. If there is an error in the configuration, a red triangle will be displayed:

Um nó de configuração é um tipo especial de nó que pode ser partilhado por outros nós normais para utilizar a sua configuração. Por exemplo, tanto os nós de publicação MQTT como os nós de subscrição MQTT podem utilizar o mesmo nó de configuração MQTT para indicar que está a ser utilizada a mesma ligação MQTT.
Os actuais nós de configuração conhecidos da gateway são: Nó de configuração serial, Nó de configuração MQTT e Nó de configuração PLC. Os nós de configuração não são visíveis no espaço de trabalho, mas podem ser visualizados na área de depuração para ver o processo atual.

3. Connections
Se um nó com portas de entrada e saída for arrastado através do centro de uma ligação, a ligação existente tornar-se-á uma linha pontilhada e, quando o nó for libertado, o nó alterado será automaticamente inserido no processo original. Selecione a linha e prima Eliminar para eliminar a linha.

4. Criar grupos
Permite-lhe formar grupos de nós ligados e depois movê-los ou copiá-los como objectos individuais no espaço de trabalho.


5. Subfluxo
Uma coleção de alguns nós pode ser colapsada num único nó para utilização no espaço de trabalho; este nó colapsado é designado por subfluxo.
Os subfluxos podem ser utilizados para reduzir a complexidade visual de um processo ou para formar fluxos reutilizáveis a partir de nós de utilização comum.

6. Importação e exportação
All processes support import and export in JSON format, which is convenient for sharing good processes with others.
Importar: suporta os seguintes métodos para importar processos
1)Copiar diretamente os dados JSON
2)Carregar um ficheiro JSON
3)Procure os processos que foram pré-instalados no gateway
Exportação: Suporta os seguintes métodos para exportar processos
1) Gerar um fluxo de dados em formato JSON
2)Guarde-o como um ficheiro JSON
3)Guarde-o no portal (não recomendado)

Área de depuração
1. Janela de informações
The Information Window displays information about the process or node, including an outline view of all processes and nodes, as well as details about the currently selected content.

2. Documentação de ajuda
A janela Documentação de ajuda fornece instruções para utilizar o nó atualmente selecionado, pelo que deve ser lida com atenção!

3. Janela de registo
A janela de registo apresenta todas as informações recebidas pelo nó de depuração, o que é conveniente para a depuração e localização de problemas.

4. Nós de configuração
The Configuration Nodes window shows all the configuration nodes that exist for the current process; unused configuration nodes are shown as dotted lines and can be deleted by pressing Delete after being selected.

5. Variáveis globais
A janela Variáveis globais permite-lhe ver as variáveis globais atualmente utilizadas e clicar manualmente nas mesmas para atualizar os valores mais recentes.
