This case is a configuration case of using the Ethernet/IP to Modbus-TCP gateway of JM-EIP-TCP to connect Omron PLC and air compressor in industrial field. Equipment used: Omron PLC, JM-EIP-TCP gateway,
Electrical connections for ETHERNET/IP
ETHERNET/IP uses the standard T568B connection method and supports direct connection and crossover connection, as shown in the figure above. ETHERNET/IP only needs to connect the four signal lines 1, 2, 3, and 6 of Ethernet to achieve communication. Users need to pay attention to the good connection of the shielding layer of the Ethernet cable.
Open and configure the JM-EIP-TCP gateway software. Open the GW Config software, select "Modbus Configuration", and click OK to enter the settings interface.
1. Double-click "Modbus Slave" in the device list on the right side of the software to add a slave station to the Modbus bus of this master station. After adding, you can see all stations on the Modbus bus in the main window of the software, as shown below:
2. Double-click the "Modbus Master" icon in the main window to set the operating parameters of the Modbus bus and the characteristics of the gateway working as a Modbus master:
3. Slave status monitoring: If the slave status monitoring function is turned on, the gateway will add 4 bytes (32 bits) at the end of all communication data to identify whether the corresponding 32 slaves are online.
4. Double-click a "Modbus Slave" in the main window to set the message of the slave.
5. As shown in the figure below, 1 write coil, 1 read coil, 1 write register, and 1 read register are added to slave station 1. For each message, the user can modify the starting address and data length in the table.
6. After the configuration is completed, the user double-clicks "Modbus Master" again, clicks the "Address Table" button, and the Modbus slave data list pops up. This list shows all the messages configured by the user, which can help the user to map the data address.
7. After the user completes the Modbus message configuration, the configuration can be downloaded to the JM-EIP-TCP gateway. Download configuration
8. If the user needs to modify the IP address of the gateway LAN port, click the menu bar "Settings - Communication Settings - Modify Device IP" to download the network port settings, as shown below. The user clicks "Tools - Download",
9. Copy the EDS file to the corresponding folder of the Omron software
10. First add the global variables of the gateway:
11. Add input and output data according to actual needs. The following example adds 14 bytes of input data and 2 bytes of output data:
12. Set the gateway parameters and click the "Add" button.
13. Add the device on the connection page, as shown below:
14. After adding, the following figure is shown. At this time, all settings are completed. Note: The target variable input uses 101, and the output uses 100. The connection type is set to "Point to Point".
15. Compile and download the Omron PLC program.
16. Users can monitor the data sent by the JM-EIP-TCP gateway through the monitoring table, as shown in the figure below. Communication has been successful
Previous article:Ethernet data acquisition for Mitsubishi Q series and other network port PLCs
Next article:Overall comparison between Siemens PLC S7-1200/S7-1500 optimized DB blocks and standard DB blocks
- Popular Resources
- Popular amplifiers
- Red Hat announces definitive agreement to acquire Neural Magic
- 5G network speed is faster than 4G, but the perception is poor! Wu Hequan: 6G standard formulation should focus on user needs
- SEMI report: Global silicon wafer shipments increased by 6% in the third quarter of 2024
- OpenAI calls for a "North American Artificial Intelligence Alliance" to compete with China
- OpenAI is rumored to be launching a new intelligent body that can automatically perform tasks for users
- Arm: Focusing on efficient computing platforms, we work together to build a sustainable future
- AMD to cut 4% of its workforce to gain a stronger position in artificial intelligence chips
- NEC receives new supercomputer orders: Intel CPU + AMD accelerator + Nvidia switch
- RW61X: Wi-Fi 6 tri-band device in a secure i.MX RT MCU
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- ARM9-compatible soft-core processor design: based on FPGA
- 5G era promotes PCB development in multiple fields
- What is the principle of keyless entry for cars?
- What does OVRD_ALERT in BQ76940 OVRD_ALERT mean?
- Can SDRAM chips be used on 2-layer boards?
- Let Arduino play with your useless STM32 board Part 2
- Even Huawei can’t hold on?
- Recommend a low thermal potential relay
- Modern rectifier technology - active power factor correction technology
- About FlashBurn can not burn