RSL5 Program

download RSL5 Program

of 15

Transcript of RSL5 Program

  • 7/27/2019 RSL5 Program

    1/15

    RSL5.RSP

    LAD 2 - MAIN --- Total Rungs in File = 2

    1 Thursday, October 23, 2008 - 15:4

    This program is totally useless...

    as far as controlling any process. Now on the other hand if youwould like to see how different instructions are converted read on.

    This program was converted using the DHRIO option. Bits in the rack rangewill be remapped to I/O. Bits outside of this range will pointto the INT array (I000 or O000).

    I/O bit addresses use the format: _RRS:I.Data[M].B

    where: RR = rack in octalS = Starting module groupI = Input (or O for output)M = Module group offsetB = Terminal number in decimal

    JSRJump To SubroutineProg File Number U:3

    JSR

    Subroutinethree

    bits

    END

  • 7/27/2019 RSL5 Program

    2/15

    RSL5.RSP

    LAD 3 - BITS --- Total Rungs in File = 6

    1 Thursday, October 23, 2008 - 15:4

    This is a page titleThis is a rung comment. This section of rungs show how BITS are converted.

    I:000

    0

    This isthe firstinputINPUT_0

    O:000

    0

    This isthe firstoutputOUTPUT_

    I:000

    1

    AddresscommentforI:000/01INPUT_1

    I:000

    2

    AddresscommentforI:000/02INPUT_2

    I:000

    3

    AddresscommentforI:000/03INPUT_3

    I:000

    4

    AddresscommentforI:000/04INPUT_4

    LO:000

    1

    AddresscommentforO:000/01OUTPUT_

    I:000

    5

    InputcommentforI:000/05INPUT_5

    I:000

    6

    InputcommentforI:000/06INPUT_6

    I:000

    7

    InputcommentforI:000/07INPUT_7

    UO:000

    1

    AddresscommentforO:000/01OUTPUT_

    I:000

    10

    Comment

    forI:000/10INPUT_10

    I:000

    11

    Comment

    forI:000/11INPUT_11

    I:000

    12

    Comment

    forI:000/12INPUT_12

    I:000

    13

    Comment

    forI:000/13INPUT_13

    I:000

    14

    CommentforI:000/14INPUT_14

    I:000

    15

    CommentforI:000/15INPUT_15

    I:000

    16

    CommentforI:000/16INPUT_16

    I:000

    17

    CommentforI:000/17INPUT_17

    O:000

    17

    Outputcomment

    forO:000/17OUTPUT_1

    ONSB3:0

    0

    One shot

    B3:0

    1

    OutputforOne Sh

    END

  • 7/27/2019 RSL5 Program

    3/15

    RSL5.RSP

    LAD 4 - TIMERS --- Total Rungs in File = 4

    1 Thursday, October 23, 2008 - 15:4

    Timers

    T4:0

    EN

    TONTimer with0.01 time

    baseenable bit

    T4:0

    TT

    TONTimer with0.01 time

    basetiming bit

    T4:0

    DN

    TONTimer with0.01 time

    basedone bit

    EN

    DN

    TONTimer On DelayTimer T4:0Time Base 0.01

    Preset 999