pjw Posted March 29, 2024 Report Posted March 29, 2024 Hi, What is the idea to store counter value into D register or M memory address in mit plc? Quote
IO_Rack Posted March 29, 2024 Report Posted March 29, 2024 I don't have the Mitsubishi software handy to show an example but I'll explain. The counter's value can be a static value that once programmed, it will never change. If you use a D register for the value, then the set time can be adjusted, or changed. For example, from an HMI. Quote
Glenn Covington Posted March 29, 2024 Report Posted March 29, 2024 Do you want to just move the accumulated value? If so, just use a MOV command. Like [MOV C0 D1000]. 1 Quote
TheB1GLebowski Posted April 2, 2024 Report Posted April 2, 2024 On 3/29/2024 at 3:01 PM, Glenn Covington said: Do you want to just move the accumulated value? If so, just use a MOV command. Like [MOV C0 D1000]. Here is a way I found recently that works well so far in our application. My counter looks like this INCP_U(SCARA.VacuumSwitch, D3263); //D3263 is HMI.PartsPicked. For some reason when I use HMI.PartsPicked it gives an error when rebuilding. RST(HMI.ResetPartsPicked, HMI.PartsPicked); On my HMI I made a number display and used D3263 for my device. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.