Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
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: 2025-02-27 08:52 AM
I am trying to write to a register, 572 and 573 in this case, to an external motor using modbus TCP. I am able to read the register value of 572 and 573 using the read_var fbd but am unable to write anything to it using the write_var. The motor designates 2 addresses for each parameter so I am writing 2 INT Array starting at 572 to write 0,0 but the motor does not write the to the parameter when running the plc. When monitoring the GEST for the Write_VAR, the first word will give an exchange number but then the number won't change like expected (it constantly is updating within the read_var fbd). Is there something I am doing wrong within the ADDM addressing of '0.0.3{192.168.10.10}TCP.MBS'? 192.168.10.10 is the IP of the external unit.
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: 2025-02-28 05:53 AM
Check the status of operation and communication report bytes (GEST byte #2). Also, don't forget to set a timeout in GEST byte#3.
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: 2025-03-02 05:40 PM
Check the triggering of the write operation. I assume you are using the ethernet port of the CPU (0.0.3) to read and write. Does the motor require a UNit ID that is not 255? If in the DTM you can try to manually configure a read or writer operation, to test the operation before coding it.
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.