Enter Logic

Enter Logic

Use these steps to enter logic.
  1. Open a routine in the ladder editor.
  2. Use the
    Instruction Toolbox
    to add a ladder diagram element.
    TIP: The
    Language Element
    toolbar is hidden by default. To display it, select
    View > Toolbars > Language element
    .
  3. Modify the instruction as necessary.
    Use the
    Tag Browser
    to select the tag to which to refer. To use the
    Tag Browser
    , select the right side of the text entry box of the instruction; the browser displays a list of available tags.
    If the tag type is SINT, DINT, or INT, select the down arrow next to the tag name to choose a specific bit within a word.
    Within the instruction, if you see this:
    It means:
    ?
    enter a value
    ??
    the system is unable to attain the value
  4. Add more rungs, branches, branch levels, or instructions as required by the routine.
  5. Make the necessary modifications to the rung.
  6. Place the cursor over the caret, right-click and select Accept Pending Rung Edit.
    TIP:
    This is only required when online. If offline, this action is only necessary when a pending rung edit was created while online.
  • If online,
    the
    Accept Pending Rung Edit
    command transfers the rung to the controller, but does not execute it if in Run mode.
    • To verify the routine, place the cursor over the routine tab, right-click and select
      Verify Routine
      . Any errors in the rung are sent to the
      Output
      window.
    • Press
      Alt+1
      to close the
      Output
      window.
  • If an RLL instruction cannot be verified
    , the tag values displayed within the RLL editor do not track the tag values displayed and entered in the Data Monitor. When an instruction does not verify because an immediate value is out of range, correct that value from within the RLL editor. Modifying these values from the Data Monitor does not affect instruction verification.
Online editing is more regulated than offline editing. If dragging a rung that can’t be edited while editing online, a copy of the rung is made instead of moving the rung.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal