Search the Community

Showing results for tags 'bool'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 5 results

  1. Hi Everyone, Learning the ropes of SoMachine V4.2 (coming from Arduino and Ucontrollers), I am using a Sequiental step style program and I am receiving 4 error messages. I'm trying to understand why it won't compile.   POU for implicit check is missing. It is recommend to add the POU. C0032: Cannot convert type "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen))'to type BOOL "Same error for a different ladder (the output of ladder rung hits the transition step, the transition is a bool which kicks off the beginning of another ladder rung). C0032: Cannot convert type BOOL to "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen)) Are these two different "data" types?   Thanks in advance!
  2. Hi Everyone,   Learning the ropes of SoMachine V4.2 (coming from Arduino and Ucontrollers), I am using a Sequiental step style program and I am receiving 4 error messages. I'm trying to understand why it won't compile.   POU for implicit check is missing. It is recommend to add the POU. C0032: Cannot convert type "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen))'to type BOOL "Same error for a different ladder (the output of ladder rung hits the transition step, the transition is a bool which kicks off the beginning of another ladder rung). C0032: Cannot convert type BOOL to "IeSFc.SFCStepType(iesfc,3.4.2.0 (systen)) Are these two different "data" types?   Thanks in advance!
  3. 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!   [edit] Siemens TIA and WinCC v15
  4. TIA Portal V13- Alarm for Bool Data type

    IN TIA Portal V13 HMI Alarm Setup, Discrete Alarm Not allowing Bool Tags in "Tag Trigger". Please help how to set Bool Alarms?
  5. Hello 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[12] .. 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[5].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[5].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