Ask our Experts
Didn't find what you are looking for? Ask our experts!
Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-18 06:47 AM
Hello,
I would like to send request to a Modbus TCP/IP slave but on port 503 instead of the standard Modbus TCP 502 port.
I saw the stucture of the ADDMX string is like that ‘r0.s0.ch0{ip.ip.ip.ip}TCP.MBS\\r1.s1.ch1.d.MBS.
Is there any way to used someting different than TCP.MBS when using a Read_Var bloc?
Maybe it is possible with other type of bloc...
Thank you
PS: I have an M580 CPU and a NOC0301 board.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-31 05:34 AM
Yes, you definitely can, although I don’t think natively out of an addmx block. If you look at the resultant data out of an addmx block set for the read_var or write_var on normal modbus TCP you will see the port 502 in one of the array entries (off the top of my head it might be entry 6 or 7). From that you could just make a block to write into the ADDR type with the info directly, removing the need for the ADDMX block in this scenario.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.