adccommunitymod (AutomationDirect) asked a question.

CLICK common memlocatins???

Created Date: February 06,2010

Created By: pomplun

**** 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.****

Is every item in the CLICK address picker an independent entity? i.e., there are no shared item, like c1-c16 actually correspond to DS1, etc.? The only exception being the XD's and YD's ? Also, I am putting together an alarm system using CLICK components. I want use a DD location bit by bit to convey the status of an alarm, and also its timestamp. How do I set/reset and compare bits or groups of bits in a DD to accomplish this? TIA Don (CA)


  • adccommunitymod (AutomationDirect)

    Created Date: February 06,2010

    Created by: bcarlton

    It looks like you'll have to use a group of bits then use the Pack/Unpack versions of the copy command to transfer between a word variable.

  • adccommunitymod (AutomationDirect)

    Created Date: February 06,2010

    Created by: milldrone

    like c1-c16 actually correspond to DS1 , etc.?

    It looks like you'll have to use a group of bits then use the Pack/Unpack versions of the copy command to transfer between a word variable.

    I believe you will also have to use the hex memory type "DH ". I know the data flexibility of the Direct series PLCs has spoiled me.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 06,2010

    Created by: bcarlton

    But flexibility of usage as used in the other AD lines means that the programmer actually has to think and plan out their usage. I see many complaints about the other AD lines when the problem is that the programmer did not do the appropriate research on number types and their storage requirements. They also want automatic type conversion in all mathematical operations. Now when a stronger typed processor is offered there are complaints about the lack of flexibility.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 07,2010

    Created by: DetroitSound

    That is one thing I 've noticed in many items, not just PLCs - by making it more "simple " and "foolproof " you also decrease its flexibility. For me this is a major advantage of the Click line; from what I 've seen of the DirectSoft programming, you have to make serious decisions with usage and data types, etc.

    With my latest project it started out as a confusing dogpile of C control relays...eventually I came to realize that since the the program was redundant to a large extent, I assigned numbers (on the C relays mostly) 1-99 common to all; C100-C199 as related to the functions from the F1 key; C200-C299 as related to the F2 key, and so forth to the C500-C599.

    Each output of each drum timer, panel switches, etc, use the same Cx__ numbers, for example Cx12 is on/off, Cx03 is motor high speed, Cx06 is spin, etc. Then I can easily change the specifics of each step by altering the timing of each drum.

    I don't know if that helps you, but it was helpful to me.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 06,2010

    Created by: pomplun

    Is every item in the CLICK address picker an independent entity? i.e., there are no shared item, like c1-c16 actually correspond to DS1, etc.?

    The only exception being the XD's and YD's ?

    Also, I am putting together an alarm system using CLICK components. I want use a DD location bit by bit to convey the status of an alarm, and also its timestamp. How do I set/reset and compare bits or groups of bits in a DD to accomplish this?

    TIA

    Don (CA)

    Expand Post