CI867 Connection to Modbus Slaves through Moxa N Port 5650-8-DT-J
Dear Stefan,
I have attached snapshot of my network architecture. I have to connect serial modbus slave devices with CI867 through 8 port Moxa. This issue I am facing is that I don't know where to enter the port no. to enter the port number of moxa to which my modbus slave is connected??
Need help please. Thanks!
Answers
Fieldbus communication and AC 800M is not my area of expertise.
Have you looked at the Control Builder M on-line help for "CI867" and "gateway"?
Hello Waqas_Khan,
I'm not sure why do You want to enter any port numbers and where would You like to put them. As far as I remember using Gateway for RTU slaves requires You to:
1. Configure the gateway as a TCP slave
2. Configure Modbus RTU slaves as You would normally configure RTU slaves
The RTU slaves should be distinguished by the master by their ID.
You can also see AC 800M Modbus TCP app (if You haven't already). Maybe it will help.
Please answer if this helps, as I'm not sure I understand Your question.
Mike
Hello,
In my case,I proceeded like mentioned below:
A) I configured my CI867 as Master, and assigned it IP.
And then configured the MOXA.
B) Assign it IP( preferably keep the IP and Subnet in matching range of your Controller/CI867 IP). It is done by :
C) Every MOXA is first provided by Default IP( example 192.168.0.0) that you can see in display of your moxa,when you simply power it On.
D) Now, to keep new IP, go in one of your Browser. Type 192.168.0.0(acc to your moxa default ip). There opens homepage of your moxa, go in Ethernet settings and keep the new IP. " Save". It will moxa to a boot restart(for few seconds).
E) Now, first basic step is to PING your MOXA in your PC Server( of your controller). Connect LAN cable between your Controller Network switch and MOXA.
Ping, If its ok,then proceed.
F) Now,configure the required ports as RS422/RS485/RS232 ports,according to your requirement.( in browser)
I am assuming that you are having RJ45(as RS232) port or Direct RS232(9-pin) connecters ,available on your Moxa.
Now, make Right connection termination of field wire on Connecters,following "standard" conversion wiring terminations.
G) Once you have terminated your field cables rightly, Now you can use MBTCPCONNECT/READ/WRITE standar blocks giving the particular IP, and then Port No, or Hardware Module Channel. ( Connection has been made)
Hi,
The Slaves connected to one Moxa Switch should have Unique Slave ID say 1 - 6 (since you have mentioned 6 slave devices conected to one moxa switch). By using this unique slave ID, the different slaves were identified from the program to which it is going to fetch/poll the data. Enter the Moxa Switch IP address in Gateway IP Address column. Enter the Modbus Serial Slave under the gateway with its position should match with the field Slave devices ID.
Thanks.
Hi,
Moxa N Port is a Device server (Virtual Serial Port option on TCP/IP Network). We can simply say this as "Interface converter" which coverts RTU to TCP (Serial to Ethernet) or vice versa. We can access the serial devices from anywhere on TCP/IP network. To access each serial device from remote, you may need to give IP address of Moxa N Port device with TCP/IP Socket Port number. (eg- 192.168.10.1:30) or you may need access thru virtual serial port created using Moxa Software.
But here in your architecture you have Modbus RTU Slave Devices and CI867 Modbus TCP Master Device. Actually here you required is "Protocol Converter" (to convert from Modbus RTU to Modbus TCP/IP or vice versa) and not just the "Interface Converter". MGate of MOXA - could be the best option.
Add new comment