
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 12,2013
Created By: tahoetony
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hello all, 1st time poster and newbie programmer here. I have spent the last few weeks trying to teach myself both PLC's (Using the CLICK) and HMI's (Using the C-More Micro) and have a successfully completed a few simple projects. On my latest project, I have for been trying my hand at incorporating a C-more micro touch to perform various inputs and to display various outputs. Here is where I could use some help. I am trying to incorporate an indicator button on the C-more that will display a cycle upcount. I only have 1 counter in the program (CT1) with static value of CTD1 and a set-point of 9999. I must admit, I am not sure what the function of the set-point actually does. I assume it "rolls over " the counter to zero? The counter works good within the CLICK program and properly displays the current count and resets properly as well. Here is my question to you seasoned vets and I am sure you have heard it before; How do I create a tagname in the C-more that will point to the right address for this counter? I have tried every combination that I can think of but the create tagname on the C-more fails due to invalid addresses. Any help you can give would be greatly appreciated. Forgive me in advance if this question has already been answered some where else in the forums. Cheers, Tony
Created Date: March 12,2013
Created by: bcarlton
In our Click program I had to CPY the accumulator of the counter to a DD register. I then displayed that.
Created Date: March 12,2013
Created by: Do-more PE
Select Signed Int 32 as the data type, then pick CTDx, where x is the counter number.
Created Date: March 12,2013
Created by: bcarlton
Ok, now I know that too. I hadn't looked far enough into the data types. I guessed I assumed 'unsigned ' from the DL.
Created Date: March 13,2013
Created by: tahoetony
Thanks to all
Select Signed Int 32 as the data type, then pick CTDx, where x is the counter number.
My counter is now up and running on the C-More Micro. Thanks to all ! :)
Tony
Created Date: March 12,2013
Created by: tahoetony
Hello all,
1st time poster and newbie programmer here. I have spent the last few weeks trying to teach myself both PLC's (Using the CLICK) and HMI's (Using the C-More Micro) and have a successfully completed a few simple projects.
On my latest project, I have for been trying my hand at incorporating a C-more micro touch to perform various inputs and to display various outputs.
Here is where I could use some help. I am trying to incorporate an indicator button on the C-more that will display a cycle upcount. I only have 1 counter in the program (CT1) with static value of CTD1 and a set-point of 9999.
I must admit, I am not sure what the function of the set-point actually does. I assume it "rolls over " the counter to zero?
The counter works good within the CLICK program and properly displays the current count and resets properly as well.
Here is my question to you seasoned vets and I am sure you have heard it before;
How do I create a tagname in the C-more that will point to the right address for this counter? I have tried every combination that I can think of but the create tagname on the C-more fails due to invalid addresses.
Any help you can give would be greatly appreciated. Forgive me in advance if this question has already been answered some where else in the forums.
Cheers,
Tony