Jan 19, 2018 Dear, I am working on a project in which I seek to collect information from a similar input and then send the data via Modbus TCP / IP. For which I am using an Arduino MEGA together with an Ethernet Shield W5100, I.
Active1 year, 5 months ago
I am trying to exchange data between an PLC(WAGO 750-8101) and an Arduino(UNO) with PLC as master, and the Arduino as Slave, but cant seem to get a connection.
For the Arduino I have a MINI ENC28J60 as the networkmodule, and is connected to the arduino like this:
SCK - Pin 13, SO - Pin 12, SI - Pin 11, CS - Pin 10
VCC: 3.3V
For the arduino I am using these libraries:
Master Setup
and code in main:
Slave setup (arduino):
Output (debug) slave:
I am able to get connection between the PLC and a Modbus Slave simulator (and exchange data), but when I try to connect the arduino I can't seem to get a connection.
This is the error i get in the PLC:
Modbus Tcp/ip Arduino
Free download extreme karaoke thai. Any suggestions? Is it possible that the problem is that I'm using a crossover-cable (even though WAGO is set to switch mode in Ethernet settings?)
bjorvik
bjorvikbjorvik
1 Answer
Solved
The problem was sending and receiving on the Arduino-side. I connected the Arduino and the PLC to a switch. I was then able to exchange data.
Some products can support AES New Instructions with a Processor Configuration update, in particular, i7-2630QM/i7-2635QM, i7-2670QM/i7-2675QM, i5-2430M/i5-2435M, i5-2410M/i5-2415M. Please contact OEM for the BIOS that includes the latest Processor configuration update.
‡ This feature may not be available on all computing systems.
My setup that didn't work:
Ardunio <-------> PLC (WAGO)
My setup that did work:
Arduino <------> switch <-----> PLC.
bjorvikbjorvik
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.