Metering & Power Quality
Schneider Electric support forum about Power Meters (ION, PowerTag, PowerLogic) and Power Quality from design, implementation to troubleshooting and more.
Link copied. Please paste this link to share this article on your social media post.
Hi at all,
I have a PM5341 and I want to energize and de-energize the relais outputs via a modbus command.
At the register excel file I found out that I have to use commands for this, but I do not understand how.
In which register I have to write the command?
What should I do with the command number (in my case 6002 and 6003)?
What is the command semaphore?
What is the digital output ID?
How can I build my command as a value which I can write in a modbus register?
Thanks a lot in advanced and best regards
Sven
Link copied. Please paste this link to share this article on your social media post.
Hello Sven Kermer,
Please refer my comments in bold.
In which register I have to write the command? -
You can write from the register 5000 onwards. Please refer the attached procedure for send command using Modbus tester for resetting the energy. you can follow same procedure for DO energize or de-energize using 6003 and 6002 command structure in step 3 in the procedure.
Make sure the control mode of Relay should be External.
What should I do with the command number (in my case 6002 and 6003)?
You can energize the DO1,DO2, Relay1 and Relay2 by sending 6003 command.
Set register 5000 to the Command value (6002)
Set register 5001 to the Semaphore value (received semaphore in the register 5680)
Set register 5002 - DO ID (1 for DO1, 2 for DO2, 3 for Realy1, 4 for Relay2)
Same command structure for de-energize (6003)
What is the command semaphore?
Semaphore is like a short time password to execute the protected commands, this will be valid only for 4 minutes from the time of received in the register 5680 and can be reused next 4 minutes from the time of command executed successfully.
What is the digital output ID?
For Relay 1 the ID will be 3 and for Relay 2 the ID will be 4.
How can I build my command as a value which I can write in a modbus register?
Refer the attached procedure.
Regards,
Ramasamy N
Link copied. Please paste this link to share this article on your social media post.
Hello Sven Kermer,
Please refer my comments in bold.
In which register I have to write the command? -
You can write from the register 5000 onwards. Please refer the attached procedure for send command using Modbus tester for resetting the energy. you can follow same procedure for DO energize or de-energize using 6003 and 6002 command structure in step 3 in the procedure.
Make sure the control mode of Relay should be External.
What should I do with the command number (in my case 6002 and 6003)?
You can energize the DO1,DO2, Relay1 and Relay2 by sending 6003 command.
Set register 5000 to the Command value (6002)
Set register 5001 to the Semaphore value (received semaphore in the register 5680)
Set register 5002 - DO ID (1 for DO1, 2 for DO2, 3 for Realy1, 4 for Relay2)
Same command structure for de-energize (6003)
What is the command semaphore?
Semaphore is like a short time password to execute the protected commands, this will be valid only for 4 minutes from the time of received in the register 5680 and can be reused next 4 minutes from the time of command executed successfully.
What is the digital output ID?
For Relay 1 the ID will be 3 and for Relay 2 the ID will be 4.
How can I build my command as a value which I can write in a modbus register?
Refer the attached procedure.
Regards,
Ramasamy N
Link copied. Please paste this link to share this article on your social media post.
How can i control with PowerScada ?
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.
Thanks Ramasamy,
i get an compile error,
FUNCTION PM5KCommandON()
IF PM5560\XCBR1\DOCMD=1 THEN
PM5560\XCBR1\DOCMD="S:5250,6002,0,1";
ELSE
PM5560\XCBR1\DOCMD="S:5250,6003,0,1";
END
END
you have another technically document,
if you have document, video etc, please share to me,
Huseyin,
Link copied. Please paste this link to share this article on your social media post.
Hello Hüseyin Bayram,
Please log a ticket with tech support in schneider-electric.com, country> Support> Customer Care
Backup and attach the project and a screenshot of the compiler error.
Regards,
Ramasamy N
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.