Table of Contents Introduction ............................4 Getting Started ............................. 5 Connecting the Power ..........................5 Connecting CAN Devices ......................... 5 Connecting to a Network ........................5 Installing DSU Software .......................... 5 Log In to the Web Console ........................6 microSD ............................... 6 Web Console Configuration and Troubleshooting .................
Modbus TCP host or SNMP client. All models are protected by a rugged and compact metal housing and are DIN-rail mountable. The rugged design is suitable for industrial applications such as factory automation and other process automation industries. MGate 5121 Series User Manual...
A progress bar will appear. The procedure should take only a few seconds to complete. A message will show the DSU has been successfully installed. You may choose to run it immediately by selecting Launch DSU. MGate 5121 Series User Manual...
First time use of a microSD card containing a configuration file with the MGate gateway Power off the MGate and insert the microSD card. Power on the MGate. The configuration file stored in the microSD card will automatically copy to the MGate. MGate 5121 Series User Manual...
Page 7
MGate gateway. Note that the replacement microSD card should not contain any configuration files on it; otherwise, the out-of-date configuration will be copied to the MGate device. MGate 5121 Series User Manual...
This chapter provides a quick overview of how to configure the MGate 5121 by web console. System Dashboard This page gives a system dashboard of the MGate 5121 gateway. You can change your password or log out using the options on the top-right corner of the page. MGate 5121 Series User Manual...
First-time users should select the time zone first. The console will display the actual time in your time zone relative to the GMT. If you would like to change the real-time clock, select Local time. MGate’s firmware will change the GMT time according to the Time Zone setting. MGate 5121 Series User Manual...
Page 10
This optional field specifies the IP address or domain name of the time server on your network. The module supports Auto SNTP (RFC-1769) for automatic time calibration. The MGate will request the time information from the specified time server per the set configured time. MGate 5121 Series User Manual...
Select Static IP if you are using a fixed IP address. Select the IP Configuration DHCP, Static IP DHCP option if you want the IP address to be dynamically assigned. 192.168.127.254 IP Address The IP Address identifies the server on the TCP/IP network. (or other 32-bit number) MGate 5121 Series User Manual...
A text password mechanism that is used to weakly authenticate queries to Read Only Community agents of managed network devices. A text password mechanism that is used to weakly authenticate changes to Read/Write Community agents of managed network devices. MGate 5121 Series User Manual...
Page 13
The level of access allowed Read/Write Disable SHA1 Use this field to select MD5 or SHA as the method of password Authentication Type SHA-224 encryption for the specified level of access, or to disable SHA-256 authentication. SHA-384 SHA-512 MGate 5121 Series User Manual...
Page 14
When the number of authentication failures exceeds Account Disabled Time the value set in Max Authentication Failure Times, 1 to 60 (default 10) Interval (min) the MGate will disable the SNMPv3 for Account Disabled Time Interval. System Settings—SNMP Settings—SNMP Trap MGate 5121 Series User Manual...
SNMP server IP address or domain name; the maximum number of trap servers is Server IP Port SNMP server IP Port. Disable SNMPv1 Trap Version SNMPv2 SNMPv3 Protocol Settings Protocol Settings—Protocol Conversion You can select CANopen or J1939 on this page. MGate 5121 Series User Manual...
Click Edit at the “Edge Device” right-hand side and select your device protocol roles. Click SAVE then APPLY on the warning pop-up window. Protocol Settings—CANopen Master Settings You can manage CANopen devices on this page. MGate 5121 Series User Manual...
Page 17
Disable Enable reset the error count and restart the bus. Disable will stay in the Bus Off mode and only can recover by re- power the MGate. CANbus Termination Disable Disable Resistor 120 ohms Enable MGate 5121 Series User Manual...
Page 18
PDO COB ID. For example, if you want to mapping slave ID 2’s RPDO4 to MGate TPDO1, please type in COB ID 0x0502 in the CANopen master TPDO1. If you want to mapping slave ID2’s TPDO1 to CANopen master RPDO2, please type in COB ID 0x0182 in RPDO2. MGate 5121 Series User Manual...
Page 19
Bit offset in the PDO data frame generated 1 to 7 Bit Data Type 1 Bit Tag data type 1 to 8 Byte Alphanumeric Create Tag names. User can select tags in the northbound Tag Name string protocol setting. MGate 5121 Series User Manual...
Page 20
You can ADD slave device manually or SCAN the devices on the CANbus. Please import slave EDS files before adding or scanning the slave devices. Click the ADD button and select the slave device from the EDS repository. MGate 5121 Series User Manual...
Page 21
EDS Repository will be added to the table. Click the pen icon to edit the slave Node ID and Device Name, and enable Heartbeat with the heartbeat time Consuming Timeout (ms). Heartbeat tag view status MGate 5121 Series User Manual...
J1939 bus The parameters A set of J1939 parameter combinations Device name FFFFFFFFFFFFFFFF regarding to J1939. represented in hex value Start output To determine the way the transmission Data update, startup Data update transmission by starts MGate 5121 Series User Manual...
Page 23
The baudrate used in J1939 1Mbps In the I/O Table tab, you can change the input/output commands of J1939. Click ADD to add the J1939 commands into the MGate, according to the J1939 device it is attached to. MGate 5121 Series User Manual...
Page 24
Clear All Data Bit to 0: The gateway will write Defined Value zero values to the slave device. Set To User Defined Value: A user-defined value will be written to the slave device. MGate 5121 Series User Manual...
1 to 255 The Modbus server ID that this slave module will accept. Server Port 1 to 65535 The TCP port number. TCP Alive Check 0 to 99 The time to check TCP alive. Time (min) MGate 5121 Series User Manual...
Page 26
The selection sequence will also decide the sequence in the Modbus TCP register/coil address. The selected tags will display in the data mapping column by default with register/coil address. You may adjust it manually. MGate 5121 Series User Manual...
Protocol Settings—SNMP Mapping Settings You can manage CAN to SNMP mapping data on this page; for detailed SNMP protocol settings, please go to the SNMP Trap Server page. Click ADD TAGS to add tags in the CAN settings. MGate 5121 Series User Manual...
1.3.6.1.4.1.8691.21.5121.3.1.2 array of names {tags}.2 Tag name 1.3.6.1.4.1.8691.21.5121.3.1.1.x value of array[x] {array of values}.x Index of tag value 1.3.6.1.4.1.8691.21.5121.3.1.2.x name of array[x] {array of names}.x Index of tag name Diagnostics Diagnostics—Protocol Diagnostics Diagnostics—Protocol Diagnostics—CANopen Diagnostics MGate 5121 Series User Manual...
Page 29
In the Slave Status tab, you can check the detailed information regarding slave status and change CANopen state machine at the right-hand side. Furthermore, you can open the Object Parameter tab to check and change the slave device's CANopen object value. MGate 5121 Series User Manual...
Page 30
Diagnostics—Protocol Diagnostics—J1939 Diagnostics The Live List function allows you to check how many live devices are on the same network. Diagnostics—Protocol Diagnostics—Modbus TCP Diagnostics MGate 5121 Series User Manual...
Click START to start traffic log. You can also read/write CAN data manually by clicking the TEST button and type in the CAN data frame. Diagnostics—Protocol Traffic—J1939 Traffic Click START to start J1939 traffic log. MGate 5121 Series User Manual...
You can filter events for easy reading or expand by clicking the category, such as System. Tick or untick the events if you want to log it and select which channels you want to use by clicking the channel name. After changing the settings, please remember to SAVE it. MGate 5121 Series User Manual...
Page 33
Local Log Settings Local Log Settings Description Overwrites the oldest event log Event Log Overwrite Policy Stops recording event log Log Capacity Warning When the log amount exceeds the warning SNMP Trap Warning By Email MGate 5121 Series User Manual...
Page 34
Remote Log Settings Description Syslog Server IP IP address of a server that will record the log data Syslog Server port Enable TLS authentication. Notice TLS files must be uploaded for a successful TLS Authentication connection. MGate 5121 Series User Manual...
Page 35
Username This field is for your mail server’s username, if required. Password This field is for your mail server’s password, if required. From (Email Email address from which automatic email warnings will be sent. address) MGate 5121 Series User Manual...
MGate receives the correct data from field devices. The gateway timestamp shows the time data was updated to the tag. You can write a value to the CAN device via Write value directly to test the communication with CAN device. MGate 5121 Series User Manual...
This network testing function is available only in the web console. The MGate gateway will send an ICMP packet through the network to a specified host, and the result can be viewed on the web console immediately. MGate 5121 Series User Manual...
Diagnostics—LLDP You can see LLDP related information, including Port, Neighbor ID, Neighbor Port, Neigh Port Description, and Neighbor System. Also, you can adjust the transmit interval for LLDP by clicking the EDIT button. MGate 5121 Series User Manual...
Administrator account can access all settings. Operator accounts can Group Operator, access most settings, except security categories. Guest account can only Guest view the overview page. You can create your own group for account management. MGate 5121 Series User Manual...
Page 40
Security—Account Management—Groups Three MGate build-in types of groups are shown; you can also create your own group by clicking CREATE. MGate 5121 Series User Manual...
Page 41
Description Password Minimum Length 8 to 128 The minimum password length Password Complexity Strength Select how the MGate checks the password’s strength Check Password lifetime Setting 90 to 180 days Set the password’s lifetime period. MGate 5121 Series User Manual...
In the disabled mode, the MGate will still enable the after 60 sec disable after 60 sec. Reset button for 60 seconds after bootup, just in case you really need to reset the device. MGate 5121 Series User Manual...
These settings are used to restrict access to the MGate by the IP address. Only IP addresses on the list will be allowed to access the device. Notice the restriction includes configuration and protocol conversion. MGate 5121 Series User Manual...
Users can select from several options to enable DoS Defense to fend off cybersecurity attacks. A denial-of- service (DoS) attack is an attempt to make a machine or a network resource unavailable. Users can select from the following options to counter DoS attacks. MGate 5121 Series User Manual...
You can specify the reset period time when enabling the Reset Period (min) "reset the login failure counter" function When the number of login failures exceeds the threshold, Lockout Time(min) 1 to 60 (default 10) the MGate will lock out for a period. MGate 5121 Series User Manual...
Sets the auto logout time period. (min) Security—Certificate Management Use this function to load the Ethernet SSL certificate. You can import or delete SSL certificate/key files. This function is only available for the web console. MGate 5121 Series User Manual...
For cybersecurity reason, you can export configuration file with an authentication key, length from 8 to 16 characters. If the key to the imported configuration file differs from the key to the exported file, the import process will fail. MGate 5121 Series User Manual...
Load Default will completely reset the configuration of the unit, and all the parameters you have saved will be discarded. Do not use this function unless you are sure you want to completely reset your unit. MGate 5121 Series User Manual...
The MGate will create a status tag when a CAN device is created. This shows if the CAN device connection is valid or invalid. The highest significant bit shows the status. 1 is invalid, 0 is valid. MGate 5121 Series User Manual...
System name and login password modification Network settings MXconfig Configuration import/export Firmware upgrade Configuration import/export MXview LLDP for topology analysis Security View** **Security View can check the security level of devices under the IEC62443-4-2 standard. MGate 5121 Series User Manual...
Need help?
Do you have a question about the MGate 5121 Series and is the answer not in the manual?
Questions and answers