Search the Community
Showing results for tags 'bool'.
Found 3 results
Good morning all! I'm just getting into this world of controls and automation and need a way to simplify my life when it comes to discrete alarms. I do not care to separate them by tag so long as I can create a personalized for each bit/alarm triggered. What is the best way to list hundreds of alarms in a single tag? Can we make use of a struct data type? If so, what would this look like? I understand I can use something like a tag of data type word, such as "Faults" MW100 and then reference M101.0, M101.1... M100.0, M100.1 (notice the order), but this only allows me 16 total discretes per tag. Sometimes I'll have more alarms than 16 and sometimes way less. I'd rather not seperate them in this manner if I can avoid it. Your assistance is much appreciated!  Siemens TIA and WinCC v15
jake4eng posted a topic in Allen BradleyHello All! I am having difficulties mapping register values. In the TURCK register there are 24 unique register bytes corresponding to different value registers (8bit x 24). These 24(8bit) bytes were mapped into RSLOGIX 5000 as 12(16bit) INT words ....INT .. This means there are 2 bytes (2 unique register values) inside each INT word. WHAT I NEED TO ACHIEVE: 1. (BLUE outline in drawing) Write/Map a value of "32" into byte 7 of the TURCK register so effectively starting at INT.8 in RSLOGIX Drawing1-Model.pdf This will enable the value of CNT1 (encoder count) to be registered in bytes 8-11... 2. (PINK outline in drawing) READ/MAP the values registered in bytes8,9,10 and 11(4x8bits) into a SINGLE 32bit INT value which will tell me the CNT1 value of my encoder. I am having problems when ever I try to COP a value of 32 (no matter what kind of array it's sourced from) into INT.8 & I haven't tried to map/read the values of bytes 8-11 CAN SOMEONE PLEASE HELP EXPLAIN HOW TO ACHIEVE THIS?! Thanks for your input EVERYONE! :D Drawing1-Model.pdf