
adccommunitymod (AutomationDirect) asked a question.
Created Date: July 12,2013
Created By: sokkerdude
**** 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.****
On the Cmore touch screen the meter/graphic functions, the PLC address that I have to use are from register DH,DS,SD,XD,YD and on the Click the analog the data register is DF1. How do I get the Cmore to see the data in the DF1 register. Along the same can I use the Click TD register for entry values on the Cmore. I hope this make sense, I'm just a old electrician that spent 3 days trying to figure this out. So any help would greatly appreciated. Thank you all.
Created Date: July 13,2013
Created by: Tinker
Do you have a tag inthe C-More tag database for the CLICK DF1? As far as i can tell, the C-More meter objects can use a float tag, (or at least the programing software will let one slelect a float tag and it works in the simulator, I don't have a panel handy to se if it works in hardware, but i imagine it does)
If for some external reason you are limited to integer tags (say progect specs or something) you could copy DF1 to a DS(n) or DD(n) register in the CLICk and point the C-More at the resulting integer, the CLICK will happily do the type conversion, I don't know it it rounds or truncates the fractional portion. One can either single copy or use the math function. Personaly I'd use the math function since I think it might be clearer that i was deliberatly doing a type conversion (but also comment the rung)
About the TD registers, you can certainly read them, I'm not 100% certain about what would happen if you write to one, but I imagne you probably can. Note that TD values are not the timer setpoints, they are the current values. If you want to adjust the setpoint, use a DS(n) register for the timer setpoint and write to that DS register with the C-More
EDIT: one other thought, if you are using a C-More micro, even if you have specifed the CLICK as the target,, when adding a tag to the C-More tag database, the "Tag Data Type " defaults to BCD int 16 (which is stupid since the CLICK doens't support BCD) to enter a float register you will have to change that to Floating pt 32. Note that as DS register are integers the C-More software will let you pick one for "BCD int 16 " but since it is not BCD in the CLICK numbers greater than 9 will display wrong, and it can be a pain to change a tag type if you dicover that mistake after you have used the tag.
Created Date: July 12,2013
Created by: sokkerdude
On the Cmore touch screen the meter/graphic functions, the PLC address that I have to use are from register DH,DS,SD,XD,YD and on the Click the analog the data register is DF1. How do I get the Cmore to see the data in the DF1 register. Along the same can I use the Click TD register for entry values on the Cmore. I hope this make sense, I'm just a old electrician that spent 3 days trying to figure this out. So any help would greatly appreciated. Thank you all.