Can we define another TCP port for Modbus TCP request?
Modicon PAC Forum
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.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-3105: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.