321
Mach4 General Discussion / Re: Mach 4 MODBUS TCP to Panasonic PLC communications
« on: March 27, 2020, 04:41:19 PM »
You can use any port you wish, as long as the PLC and Mach's MODBUS agree on the port number. But I doubt that is your problem. I don't think that is the MODBUS port setting. I think that is the general communications port setting used for communicating with other PLCs and the for connecting to the PLC with the configuration software.
For Ethernet, your communications cassette needs to be an AFPX-COM5. Looking at the manual on page 7-16, it doens't look like MODBUS is supported on the Ethenet interface. Only on the serial interface. That is just how I'm reading it, but I could be wrong. Also, look at page 7-78 and it shows a MODBUS config dialog. This is what I was talking about where you may have to configure the PLC to turn MODBUS on. Their example shows linking MODBUS to one of the serial com ports, but that would be where you could link it to the Ethernet interface and set the port number.
This is the manual I was referring to: https://www.panasonic-electric-works.com/cps/rde/xbcr/pew_eu_en/mn_63489_0013_en_fpx.pdf
Steve
For Ethernet, your communications cassette needs to be an AFPX-COM5. Looking at the manual on page 7-16, it doens't look like MODBUS is supported on the Ethenet interface. Only on the serial interface. That is just how I'm reading it, but I could be wrong. Also, look at page 7-78 and it shows a MODBUS config dialog. This is what I was talking about where you may have to configure the PLC to turn MODBUS on. Their example shows linking MODBUS to one of the serial com ports, but that would be where you could link it to the Ethernet interface and set the port number.
This is the manual I was referring to: https://www.panasonic-electric-works.com/cps/rde/xbcr/pew_eu_en/mn_63489_0013_en_fpx.pdf
Steve