In modern factory automation systems, stable and efficient communication between human-machine interface (HMI) and controller is the core link to achieve intelligent manufacturing. The OMRON NA series programmable terminals have become the preferred choice for many system integrators due to their powerful graphical capabilities and flexible communication interfaces. However, facing different platforms such as NJ/NX/NY series motion controllers, CS/CJ/CP series traditional PLCs, NX series safety controllers, and programmable multi axis controllers, engineers often need to switch between multiple communication protocols (EtherNet/IP, FINS, Modbus/TCP, Host Link) and correctly configure IP addresses, variable mappings, and serial port parameters. This article will elaborate on the connection methods, key setup steps, and solutions to common problems between NA series HMI and various OMRON controllers from a practical engineering perspective, helping on-site engineers quickly complete equipment integration and troubleshooting.
System Connection Overview: Choosing the Right Method, Achieving More with Less Effort
The NA series HMI supports two physical connection media: Ethernet and serial interface. Ethernet is suitable for high-speed and large data applications, supporting various industrial protocols such as EtherNet/IP, FINS over UDP, Modbus/TCP, etc; The serial interface (RS-232C/RS-422A) is suitable for older PLCs or cost sensitive applications, using the Host Link protocol.
When planning the system architecture, engineers need to choose the connection method based on the controller model and network load:
Direct connection: Use a crossover cable to directly connect the HMI to the controller, suitable for single machine debugging or small devices.
Switch connection: Connect multiple HMIs and controllers through Ethernet switches, suitable for distributed control systems, enabling data sharing and redundant monitoring.
Regardless of the method, shielded twisted pair cables that comply with the IEEE802.3 standard must be used, and attention should be paid to the grounding method of the shielding layer - it is usually recommended to use single ended grounding to avoid ground loop interference. For serial port connection, the RS-422A method requires the use of an additional CJ1W-CIF11 conversion unit, and the transmission distance should not exceed 50 meters.
Connecting NJ/NX/NY series controllers: perfect integration of native EtherNet/IP
The NJ/NX/NY series controllers have built-in EtherNet/IP ports, making them the ideal partner for NA series HMI. Both are configured through Sysmac Studio software without the need for any third-party tools.
2.1 Controller end settings
In the multi view browser of Sysmac Studio, open "Controller Settings" ->"Built in EtherNet/IP Port Settings". The following parameters must be configured:
IP address: Fixed IP, such as 192.168.1.10, subnet mask 255.255.255.0.
Default gateway: Set if there is a need for cross network communication, otherwise leave blank.
Link settings: It is recommended to use "auto negotiation".
If secure communication is required, the HMI runtime version must be 1.16 or higher. You can check whether secure communication is currently enabled in the "External Device Settings" section of the system menu. Attention: Runtime 1.15 and below versions cannot establish a connection with controllers that enable secure communication.
2.2 HMI terminal settings
In the HMI project of Sysmac Studio, double-click on "HMI Settings" ->"TCP/IP Settings" to assign an IP address (such as 192.168.1.20) on the same network segment as the controller to Ethernet port 1 of the HMI. Then, add external connected devices in the "Device Reference":
Equipment supplier: Omron
Equipment series: Choose NJ/NX/NY according to the actual situation
Communication driver: Ethernet
For controllers already registered in the current project, the system will automatically recognize them and there is no need to manually add them. For unregistered external controllers, manual input of IP address and timeout time (usually set to 2-5 seconds) is required.
2.3 Variable Import and Mapping
The NA series HMI supports direct reading of global variables from NJ/NX/NY controllers. There are three ways to import variables:
Import from controller: Click the "Import" button to automatically read all global variables in the controller. This is the most recommended way to ensure the integrity of data types and structures.
Copy and paste: Copy the required variables from the controller's global variable table and paste them into the HMI's device variable table. However, please note that structural variables cannot be imported in this way and must be imported using the import function.
Excel file import: Prepare an Excel file in the specified clipboard format (UTF-16 LE encoding, tab separated), and then import it.
The supported data types include BOOL, INT, DINT, LINT, UINT, WORD, REAL, LREAL, STRING, TIME, DATE, etc. Array elements, structure members, and enumeration variables are all accessible, with array indices starting from 0.