585,760 active members*
3,833 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Hello
    Could anyone tell me what exactly the following commands mean:

    While?

    Endwhile?

    Case?

    Switch?


    When and where can I use those commands and what do they mean?

    Thanks in advance

  2. #2
    Join Date
    Apr 2002
    Posts
    5003
    While = during
    Endwhile = end of the loop
    Case = case differentiation

    I don’t know switch. It may be connected with logical value.

  3. #3
    Join Date
    Sep 2002
    Posts
    1954
    Hello
    Could anyone tell me what exactly the following commands mean:

    While?

    Endwhile?

    Case?

    Switch?


    When and where can I use those commands and what do they mean?

    Thanks in advance
    Before someone tries to explain it, it would be much easier to take a look at Siemens’ documentation.

    It’s here:
    http://www.automation.siemens.com/doconweb...008_D&scope=all

    Chapters 1.12 to 1.14.

    By the way, there’s no “switch”. That what is made with “switch” in other programming languages, is called “case” here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •