End Devices
End devices can be connected to IEF through edge nodes by using the custom, Modbus, or OPC UA protocol. After end devices are connected to IEF, you can manage them on IEF in a unified manner.
Registering a Device
- Log in to the IEF console.
- In the navigation pane, choose Managed Resources > End Devices. Then, click Register End Device in the upper right corner.
- Set device parameters.
- Name: name of an end device.
- ID: You can customize an ID or enable IEF to automatically generate an ID. If you want to customize a device ID, select Custom device ID and enter an ID.
- Access Protocol: Custom, Modbus, and OPC-UA are available.
- Device Configuration: Select an existing device template to add properties for the device automatically. The template defines device properties, twin properties, and device tags. You can also manually add device properties and tags without using a template. The meanings of the properties and tags manually added are the same as those defined in the template. For details, see Device Templates.
- Access Configuration: This configuration is required when Access Protocol is set to Modbus or OPC-UA. For details, see Modbus-based Access Configuration and OPC UA-based Access Configuration.
- Click Register.
Modbus-based Access Configuration
Modbus supports two transmission modes: RTU and TCP.
- The access configuration parameters in RTU mode are as follows: Figure 1 Access configuration parameters in RTU mode
- SlaveId: identifier for accessing register values.
- Serial Port: serial port used to connect to an end device. The value varies according to the operating system of an edge node.
- Baud Rate: number of symbols transmitted per second, which is used to measure the data transmission rate.
- Data Bit: measures the actual data bit in communications.
- Parity Bit: a simple error correction method for determining whether noise is interfering with communications or whether transmitted data is not synchronizing properly with received data.
- Stop Bit: the last bit of a data packet.
- The access configuration parameters in TCP mode are as follows: Figure 2 Access configuration parameters in TCP mode
- IP Address: IP address of an end device.
- Port: port number of an end device.
OPC UA-based Access Configuration
- Security Policy: supports Disable, None, Signature, and Signature encryption.
- Security Mode: authentication mode for communication between end devices and edge nodes.
- Authentication Type: supports Password, Certificate, and Password + Certificate.
- Certificate and Private Key: The values are encoded in Base64. For details, see Base64 Encoding.
Base64 Encoding
To perform Base64 encoding on a character string, run echo -n {Content to be encoded} | base64. For example:
root@ubuntu:~# echo -n "3306" | base64 MzMwNg==
Follow-up Procedure
You can bind end devices to edge nodes. For details, see Binding an End Device to an Edge Node.
Last Article: Device Templates
Next Article: Binding an End Device to an Edge Node
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.