Introduction to PanelPro - Logix - PowerPoint PPT Presentation

1 / 112
About This Presentation
Title:

Introduction to PanelPro - Logix

Description:

Introduction to PanelPro - Logix Dick Bronson - RR-CirKits, Inc. Intro to Logix Indirect layout control (PP-clinic-3) – PowerPoint PPT presentation

Number of Views:134
Avg rating:3.0/5.0
Slides: 113
Provided by: rrcircuit
Category:

less

Transcript and Presenter's Notes

Title: Introduction to PanelPro - Logix


1
Introduction to PanelPro - Logix
Dick Bronson - RR-CirKits, Inc.
  • Intro to Logix
  • Indirect layout control (PP-clinic-3)?

2
Logix
Logix
  • Why LogiX?
  • When Dave Duchamp first started adding a
    graphical logic package to JMRI we wondered about
    what to call it. Logic seemed to be a logical
    name for logic, but Dave had already added
    'Lights' as a function, therefore 'L' was no
    longer available as an item name, so he just used
    'X' instead. The logic function was 'Internal' to
    JMRI, so its system name was 'I'. This means the
    the proper identifier for the logic function
    became 'IX' and we jokingly started calling them
    Logix in our e-mail discussions because of the
    'IX'. The name has stuck.
  • The original Logix were functionally similar to
    industrial ladder logic in that they did not have
    any parenthetical structure. Pete Cressman, a
    California Java programmer, at the urging of
    David Parks, a modeler trying to use Logix for
    his extensive BO CPL signals, figured our how to
    add mixed logic to Logix in a graphical way. This
    new capability is fully available in Release 2.6
    of JMRI, and will change this presentation
    somewhat from last years version.

3
Indirect Layout Control
Layout control
  • Indirect Layout Control
  • In our previous clinic we simply tied our active
    icons directly to the layout commands that we
    needed to send. This is no more sophisticated
    that drilling some holes in a piece of Masonite,
    spray painting some lines, mounting some switches
    and lamps, and then connecting them to our switch
    machines. Granted a computer can usually be found
    for not very much money, but a few switches or
    push buttons, a chopped up string of Christmas
    tree lights, and some paint would be cheaper.
  • On the prototype railroads it is not allowable to
    have remote control of turnouts without some
    fairly reliable method of knowing the current
    position of the points and preventing them from
    ever being changed while a train is crossing
    them. (or about to) Now that we mention it, these
    are pretty good things to do for our models as
    well, even if the life hazard is less. (not
    counting what might happen to the dispatcher when
    he accidentally sends that new brass onto the
    floor through that spot with no scenery yet)?
  • All this to say, maybe just flipping a turnout
    with a remote switch isn't the best idea after
    all, especially if you can't see it from the
    panel.

4
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • First lets load in the basic panel background
    that we made in clinic 1 then rename it and save
    it as clinic 3

5
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • First lets load in the basic panel background
    that we made in clinic 1 then rename it and save
    it as clinic 3
  • You are expected to know how to do all the basic
    operations already covered in previous sessions,
    so I am not going to repeat the detail of each
    operation as we move along.

6
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • First lets load in the basic panel background
    that we made in clinic 1 then rename it and save
    it as clinic 3
  • You are expected to know how to do all the basic
    operations already covered in previous sessions,
    so I am not going to repeat the detail of each
    operation as we move along.
  • Navigate to the 'proto' folder where we have a
    set of images created from photographs of an
    original classic era prototype USS CTC machine.

7
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • These few images are not designed for animation,
    but for constructing a more realistic panel.

8
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • These few images are not designed for animation,
    but for constructing a more realistic panel.
  • Use the 'Add to Panel' button to add two left
    (sw-l) and two right (sw-r) turnout icons to our
    panel.

9
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • These few images are not designed for animation,
    but for constructing a more realistic panel.
  • Use the 'Add to Panel' button to add two left
    (sw-l) and two right (sw-r) turnout icons to our
    panel.
  • These images only face in one direction, so they
    will need to be rotated for our use on this
    panel. Right click (meta for Mac) to bring up the
    tools, then click on 'Rotate' to rotate 90.

10
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • These few images are not designed for animation,
    but for constructing a more realistic panel.
  • Use the 'Add to Panel' button to add two left
    (sw-l) and two right (sw-r) turnout icons to our
    panel.
  • These images only face in one direction, so they
    will need to be rotated for our use on this
    panel. Right click (meta for Mac) to bring up the
    tools, then click on 'Rotate' to rotate 90.
  • 'Rotate' each icon twice, and then position it on
    the panel.

11
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • Now use the 'Add to Panel' button to add seven
    'block' icons to our panel.

12
Indirect Layout Control
Fixed images
  • Indirect Layout Control
  • Now use the 'Add to Panel' button to add seven
    'block' icons to our panel.
  • Place them appropriately.

13
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Now use the 'Add to Panel' button to add seven
    'block' icons to our panel.
  • Place them appropriately.
  • One of the 'rules' we have for remote operation
    is that we do not throw a switch under a train.
    To accomplish that we need to know when a train
    is on the switch or 'OS' (On Switch) section. (OS
    can mean other things such as 'On Sheet', Off
    Sheet, etc.)?

14
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Now use the 'Add to Panel' button to add seven
    'block' icons to our panel.
  • Place them appropriately.
  • One of the 'rules' we have for remote operation
    is that we do not throw a switch under a train.
    To accomplish that we need to know when a train
    is on the switch or 'OS' (On Switch) section. (OS
    can mean other things such as 'On Sheet', Off
    Sheet, etc.)
  • Choose 'Add Sensor' in the Panel Editor window.?

15
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Select the images you want to use for your OS
    detection. The USS default for a panel was red
    jewels for OS, and white jewels for blocks. Many
    railroads had their own standards including all
    white, all red, all blue, etc.

16
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Select the images you want to use for your OS
    detection. The USS default for a panel was red
    jewels for OS, and white jewels for blocks. Many
    railroads had their own standards including all
    white, all red, all blue, etc.
  • To close the selection catalog, and open a list
    of existing sensors simply click on 'Close
    Catalog'.

17
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Select the images you want to use for your OS
    detection. The USS default for a panel was red
    jewels for OS, and white jewels for blocks. Many
    railroads had their own standards including all
    white, all red, all blue, etc.
  • To close the selection catalog, and open a list
    of existing sensors simply click on 'Close
    Catalog'.
  • In clinic 2 we added active icons for our
    turnouts. Now we are doing the same for our
    occupancy sensors.

18
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • Select the images you want to use for your OS
    detection. The USS default for a panel was red
    jewels for OS, and white jewels for blocks. Many
    railroads had their own standards including all
    white, all red, all blue, etc.
  • To close the selection catalog, and open a list
    of existing sensors simply click on 'Close
    Catalog'.
  • In clinic 2 we added active icons for our
    turnouts. Now we are doing the same for our
    occupancy sensors.
  • Add sensors LS2, LS6, LS9, and LS13. (LS
    LocoNet Sensor)?

19
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • We find our sensors all piled up in the usual
    place.

20
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • We find our sensors all piled up in the usual
    place.
  • Move them onto the panel.

21
Indirect Layout Control
Sensor images
  • Indirect Layout Control
  • We find our sensors all piled up in the usual
    place.
  • Move them onto the panel.
  • Normally we would 'disable' the sensor images so
    that they would only respond to our occupancy
    detectors. However we don't actually have any
    sensors attached, so we will simulate detection
    by clicking on our images to activate them.

22
Indirect Layout Control
Sensor images
  • Internal sensors
  • Our next concept is that of 'Internal' sensors.
    These are really just single bit memory devices.
    They react with the images just as if they were
    hardware, but only exist internally to JMRI.

23
Indirect Layout Control
Sensor images
  • Internal sensors
  • Our next concept is that of 'Internal' sensors.
    These are really just single bit memory devices.
    They react with the images just as if they were
    hardware, but only exist internally to JMRI.
  • We need some new levers that are not directly
    attached to the turnouts like we had them in the
    second clinic.

24
Indirect Layout Control
Sensor images
  • Internal sensors
  • Our next concept is that of 'Internal' sensors.
    These are really just single bit memory devices.
    They react with the images just as if they were
    hardware, but only exist internally to JMRI.
  • We need some new levers that are not directly
    attached to the turnouts like we had them in the
    second clinic.
  • Pull up the 'Add Sensor' window again and open
    the 'Change icon..'

25
Indirect Layout Control
Sensor images
  • Internal sensors
  • Our next concept is that of 'Internal' sensors.
    These are really just single bit memory devices.
    They react with the images just as if they were
    hardware, but only exist internally to JMRI.
  • We need some new levers that are not directly
    attached to the turnouts like we had them in the
    second clinic.
  • Pull up the 'Add Sensor' window again and open
    the 'Change icon..'
  • Navigate back to the 'levers', but this time it
    will be sensors that have the lever images.

26
Indirect Layout Control
Sensor images
  • Internal sensors
  • Once the lever images are selected click on
    'Close Catalog' the reduce the window size and
    get our sensor list.

27
Indirect Layout Control
Sensor images
  • Internal sensors
  • Once the lever images are selected click on
    'Close Catalog' the reduce the window size and
    get our sensor list.
  • At this point we could call our internal sensor
    just about anything, even 'IS-late-to-lunch'. (IS
    denotes Internal Sensor.

28
Indirect Layout Control
Sensor images
  • Internal sensors
  • Once the lever images are selected click on
    'Close Catalog' the reduce the window size and
    get our sensor list.
  • At this point we could call our internal sensor
    just about anything, even 'IS-late-to-lunch'. (IS
    denotes Internal Sensor.
  • The prototype railroads have a similar naming
    problem, so hopefully we can learn something from
    them.
  • AREMA American Railway Engineering MOW
    Association.

29
Indirect Layout Control
Sensor images
  • Internal Sensor Names
  • AREMA (Numerical Prefix)(First Letter)..(Last
    Letter)
  • Numerical Prefix The number of the lever,
    signal, track circuit, etc.
  • First Letter General kind of unit.
  • Last Letter Specific unit
  • For Logix
  • ISn Internal Sensor n
  • W sWitch
  • L Lever
  • Result IS5WL (plus IS7WL, IS9WL, and
    IS11WL)

30
Indirect Layout Control
Sensor images
  • Internal Sensors
  • Our new internal sensors have been added to both
    the sensor table and the panel.

31
Indirect Layout Control
Sensor images
  • Internal Sensors
  • Our new internal sensors have been added to both
    the sensor table and the panel.
  • Move them into place.

32
Indirect Layout Control
Sensor images
  • Internal Sensors
  • Our new internal sensors have been added to both
    the sensor table and the panel.
  • Move them into place.
  • Now we have some levers that are not directly
    connected to the layout. We can flip them simply
    by clicking on them.

33
Indirect Layout Control
Sensor images
  • Internal Sensors
  • Our new internal sensors have been added to both
    the sensor table and the panel.
  • Move them into place.
  • Now we have some levers that are not directly
    connected to the layout. We can flip them simply
    by clicking on them.
  • A prototype CTC panel also did not directly
    connect its levers to the switch motors. The
    operator moved a lever and then pressed a 'Send
    Code' button that encoded and sent the commands
    over the track side wires in a serial format that
    used short and long pulses. (similar to DCC)?

34
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.

35
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.
  • The 'code-press' icon is the 'Active' entry, the
    'code' icon is the 'Inactive'.

36
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.
  • The 'code-press' icon is the 'Active' entry, the
    'code' icon is the 'Inactive'.
  • Close Catalog brings us back to our sensor list.

37
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.
  • The 'code-press' icon is the 'Active' entry, the
    'code' icon is the 'Inactive'.
  • Close Catalog brings us back to our sensor list.
  • Enter IS6CB, IS8CB, IS10CB, and IS12CB for
    our sensors.

38
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.
  • The 'code-press' icon is the 'Active' entry, the
    'code' icon is the 'Inactive'.
  • Close Catalog brings us back to our sensor list.
  • Enter IS6CB, IS8CB, IS10CB, and IS12CB for
    our sensors.
  • Move them into place.

39
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To add code buttons re-call our 'Change Icon'
    list in the 'Add Sensor' window.
  • The 'code-press' icon is the 'Active' entry, the
    'code' icon is the 'Inactive'.
  • Close Catalog brings us back to our sensor list.
  • Enter IS6CB, IS8CB, IS10CB, and IS12CB for
    our sensors.
  • Move them into place.
  • Note, when we click them they go down, and when
    we click them again they go up. This is not very
    buttonlike behavior.

40
Indirect Layout Control
Sensor images
  • Internal Sensors
  • To correct the behavior, right click on each
    button icon and click 'Momentary' to check it.

41
Indirect Layout Control
Sensor names
  • Internal sensor names
  • When naming our new buttons we already mentioned
    that we are not attached to hardware, so any name
    is allowed. I am loosely basing these names on
    the AREMA nomenclature. I chose 'ISn' to begin
    them all because we need the IS, and normally
    system generated names use the . The plan is
    that a tool will eventually generate these names,
    so I include the . There is a fair amount of
    repetition in the AREMA names, but an attempt is
    made to not place different meanings in one
    position, nor use the same names in different
    positions. E.g R may be red, reverse, right,
    relay, etc.

42
Indirect Layout Control
Sensor names
  • Internal sensor names

Beginning Middle End
A Alarm Track A
B Track B Button
C Code Controller
D proceeD
F Fleeting
G siGnal
K indiKtor
L Left Lever
N Normal
R Reverse Red Relay
T Track
W sWitch
43
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • We still need some way to tell which position the
    layout track switches are aligned. The levers and
    track image are not available, so we will use the
    indicator lamps. (just like the prototype)?

44
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • We still need some way to tell which position the
    layout track switches are aligned. The levers and
    track image are not available, so we will use the
    indicator lamps. (just like the prototype)?
  • Pull up the 'Add Sensor' window and set it for
    green jewel icons. Use 'off' for 'inconsistent'.

45
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • We still need some way to tell which position the
    layout track switches are aligned. The levers and
    track image are not available, so we will use the
    indicator lamps. (just like the prototype)?
  • Pull up the 'Add Sensor' window and set it for
    green jewel icons. Use 'off' for 'inconsistent'.
  • From our naming rules we see that the first lamp
    jewel name should be IS5NWK. (N Normal, W
    sWitch, and K indiKtor) followed by IS7NWK,
    IS9NWK, and IS11NWK.

46
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • We still need some way to tell which position the
    layout track switches are aligned. The levers and
    track image are not available, so we will use the
    indicator lamps. (just like the prototype)?
  • Pull up the 'Add Sensor' window and set it for
    green jewel icons.
  • From our naming rules we see that the first lamp
    jewel name should be IS5NWK. (N Normal, W
    sWitch, and K indiKtor) followed by IS7NWK,
    IS9NWK, and IS11NWK.
  • Now switch to amber jewels and add IS5RWK. (R
    Reverse) followed by IS7RWK, IS9RWK, and
    IS11RWK.

47
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • Note Later on, in the edit portion of these
    clinics, we can switch these sensors to direct
    feedback for testing purposes.

48
Indirect Layout Control
Turnout Feedback
  • Turnout Feedback
  • Move the jewels into position. We now have panel
    icons that we can control based on layout input.
    We could have used the turnout feedback contacts
    directly for this, but that would prevent us from
    adding sound effects for example. We would also
    need to have our layout hardware exactly line up
    with the panel ID numbers. This way we can also
    add a translation table as required. We used
    'off' instead of 'inconsistent' images so that
    JMRI wouldn't flash a 'X' rated image if it
    decided that the settings were inconsistent.

49
Indirect Layout Control
Logix
  • Logix
  • We now have all our required inputs and outputs
    on the panel. All that is missing is the logic to
    make it work. Our first example will be simple
    If the Control Lever is changed And the OS
    is NOT occupied And the Code Button is
    pressed Then send a turnout command

50
Indirect Layout Control
Logix
  • Logix
  • We now have all our required inputs and outputs
    on the panel. All that is missing is the logic to
    make it work. Our first example will be simple
    If the Control Lever is changed And the OS
    is NOT occupied And the Code Button is
    pressed Then send a turnout command
  • Open Logix by selecting 'Tools Tables Logix'

51
Indirect Layout Control
Logix
  • Logix
  • We now have all our required inputs and outputs
    on the panel. All that is missing is the logic to
    make it work. Our first example will be simple
    If the Control Lever is changed And the OS
    is NOT occupied And the Code Button is
    pressed Then send a turnout command
  • Open Logix by selecting 'Tools Tables Logix'
  • This opens a new 'Logix Table' view. Click on
    'Add..'

52
Indirect Layout Control
Logix naming
  • Logix naming
  • The first information will be the ID. Logix are
    internal so the system name is 'I'. The item name
    is 'X', so they will start with 'IX'.

53
Indirect Layout Control
Logix naming
  • Logix naming
  • The first information will be the ID. Logix are
    internal so the system name is 'I'. The item name
    is 'X', so they will start with 'IX'.
  • We will call it IX5WC IX Internal LogiX,
    5 Plant 5, WC sWitch Controller.

54
Indirect Layout Control
Logix naming
  • Logix naming
  • The first information will be the ID. Logix are
    internal so the system name is 'I'. The item name
    is 'X', so they will start with 'IX'.
  • We will call it IX5WC IX Internal LogiX,
    5 Plant 5, WC sWitch Controller.
  • Enter the user name Plant 5 Switch Controller.
    All user names must be unique so we include the
    plant number.

55
Indirect Layout Control
Logix naming
  • Logix naming
  • The first information will be the ID. Logix are
    internal so the system name is 'I'. The item name
    is 'X', so they will start with 'IX'.
  • We will call it IX5WC IX Internal LogiX,
    5 Plant 5, WC sWitch Controller.
  • Enter the user name Plant 5 Switch Controller.
    All user names must be unique so we include the
    plant number.
  • Once we have named our new creation, click on
    'Create Logix' to add it to the table window, and
    open the Logix Editor.

56
Indirect Layout Control
Logix entry
  • Logix entry
  • The new entry shows in the table.

57
Indirect Layout Control
Logix entry
  • Logix entry
  • The new entry shows in the table.
  • And its 'Edit Logix' window opens.

58
Indirect Layout Control
Logix entry
  • Logix entry
  • The new entry shows in the table.
  • And its 'Edit Logix' window opens.
  • Each Logix will contain one or more
    'Conditionals' or things that may be true or
    false. A 'Conditional' may optionally do one or
    more actions when it becomes true or becomes
    false or simply changes state.

59
Indirect Layout Control
Logix entry
  • Logix entry
  • The new entry shows in the table.
  • And its 'Edit Logix' window opens.
  • Each Logix will contain one or more
    'Conditionals' or things that may be true or
    false. A 'Conditional' may optionally do one or
    more actions when it becomes true or becomes
    false or simply changes state.
  • Click the 'New Conditional' button to bring up
    the 'Edit Conditional' window.

60
Indirect Layout Control
Logix entry
  • Logix entry
  • Note that JMRI automatically added 'C1' to the
    name we gave this item.

61
Indirect Layout Control
Logix entry
  • Logix entry
  • Note that JMRI automatically added 'C1' to the
    name we gave this item.
  • Name this first one Switch 5 Normal.

62
Indirect Layout Control
Logix entry
  • Logix entry
  • Note that JMRI automatically added 'C1' to the
    name we gave this item.
  • Name this first one Switch 5 Normal.
  • We call the various items that will be checked by
    Logix 'Variables' because they 'vary' as things
    change on the layout. In this case between being
    true and being false. Click here to add our first
    one.

63
Indirect Layout Control
Logix entry
  • Logix entry
  • Note that JMRI automatically added 'C1' to the
    name we gave this item.
  • Name this first one Switch 5 Normal.
  • We call the various items that will be checked by
    Logix 'Variables' because they 'vary' as things
    change on the layout. In this case between being
    true and being false. Click here to add our first
    one.
  • Click in the 'Variable Type' box to open a list
    of available options.

64
Indirect Layout Control
Logix entry
  • Logix entry
  • Note that JMRI automatically added 'C1' to the
    name we gave this item.
  • Name this first one Switch 5 Normal.
  • We call the various items that will be checked by
    Logix 'Variables' because they 'vary' as things
    change on the layout. In this case between being
    true and being false. Click here to add our first
    one.
  • Click in the 'Variable Type' box to open a list
    of available options.
  • Choose 'Sensor Inactive' so this will not happen
    unless a train is NOT on the OS.

65
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.

66
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.
  • Enter the OS sensor ID. In this case it is 'LS2',
    then click 'Update' to add the variable.

67
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.
  • Enter the OS sensor ID. In this case it is 'LS2',
    then click 'Update' to add the variable.
  • The variable state is 'false'.

68
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.
  • Enter the OS sensor ID. In this case it is 'LS2',
    then click 'Update' to add the variable.
  • The variable state is 'false'.
  • Remember, we left the sensor 'Active'.

69
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.
  • Enter the OS sensor ID. In this case it is 'LS2',
    then click 'Update' to add the variable.
  • The variable state is 'false'.
  • Remember, we left the sensor 'Active'.
  • Add another variable for the code button.

70
Indirect Layout Control
Logix entry
  • Logix entry
  • Note we could have also said NOT 'Sensor Active'
    but that would include when it was 'Unknown' or
    'Inconsistent', probably not good options here.
  • Enter the OS sensor ID. In this case it is 'LS2',
    then click 'Update' to add the variable.
  • The variable state is 'false'.
  • Remember, we left the sensor 'Active'.
  • Add another variable for the code button.
  • If you forgot that it is IS6CB simply hover the
    cursor over the button.

71
Indirect Layout Control
Logix entry
  • Logix entry
  • Both items are checked to 'trigger' the action.
    We probably only want it to happen when the code
    button is first pressed, so un-check the first
    one.

72
Indirect Layout Control
Logix entry
  • Logix entry
  • Both items are checked to 'trigger' the action.
    We probably only want it to happen when the code
    button is first pressed, so un-check the first
    one.
  • We also only need to send the command if the
    turnout is not already in position, so lets add
    another variable for that.

73
Indirect Layout Control
Logix entry
  • Logix entry
  • Both items are checked to 'trigger' the action.
    We probably only want it to happen when the code
    button is first pressed, so un-check the first
    one.
  • We also only need to send the command if the
    turnout is not already in position, so lets add
    another variable for that.
  • We check on 'Turnout Closed'

74
Indirect Layout Control
Logix entry
  • Logix entry
  • Both items are checked to 'trigger' the action.
    We probably only want it to happen when the code
    button is first pressed, so un-check the first
    one.
  • We also only need to send the command if the
    turnout is not already in position, so lets add
    another variable for that.
  • We check on 'Turnout Closed'
  • But see that it is 'false'. We need it to be
    'true' for our logic to work.

75
Indirect Layout Control
Logix entry
  • Logix entry
  • Both items are checked to 'trigger' the action.
    We probably only want it to happen when the code
    button is first pressed, so un-check the first
    one.
  • We also only need to send the command if the
    turnout is not already in position, so lets add
    another variable for that.
  • We check on 'Turnout Closed'
  • But see that it is 'false'. We need it to be
    'true' for our logic to work.
  • If we click just to the left of the description
    we discover that we can add a 'NOT' to the
    variable.

76
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.

77
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.

78
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.
  • IS5WL (5 sWitch Lever)

79
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.
  • IS5WL (5 sWitch Lever)
  • Note that you may Delete or Edit any variable at
    any time.

80
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.
  • IS5WL (5 sWitch Lever)
  • Note that you may Delete or Edit any variable at
    any time.
  • Bring the panel to the front and 'move' the train
    off of the OS section. (by clicking the sensor)

81
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.
  • IS5WL (5 sWitch Lever)
  • Note that you may Delete or Edit any variable at
    any time.
  • Bring the panel to the front and 'move' the train
    off of the OS section. (by clicking the sensor)
  • Now 'Check State Variables' to re-read the layout.

82
Indirect Layout Control
Logix entry
  • Logix entry
  • Now our statements seem to be what we need... Oh
    yes, we only want to do this if the lever tells
    us to.
  • Add another variable for the lever's position.
  • IS5WL (5 sWitch Lever)
  • Note that you may Delete or Edit any variable at
    any time.
  • Bring the panel to the front and 'move' the train
    off of the OS section. (by clicking the sensor)
  • Now 'Check State Variables' to re-read the
    layout.
  • Everything is now true but the button itself.

83
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.

84
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.

85
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'.

86
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.

87
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.

88
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.
  • Lets get fancy and send the sound of the code
    relays. Add another action 'Play Sound File'.

89
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.
  • Lets get fancy and send the sound of the code
    relays. Add another action 'Play Sound File'.
  • Click on 'File' to search for sounds.

90
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.
  • Lets get fancy and send the sound of the code
    relays. Add another action 'Play Sound File'.
  • Click on 'File' to search for sounds.
  • 'Code-send.wav is what we need. Select then
    'Open'.

91
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.
  • Lets get fancy and send the sound of the code
    relays. Add another action 'Play Sound File'.
  • Click on 'File' to search for sounds.
  • 'Code-send.wav is what we need. Select then
    'Open'.
  • Click 'Update' to enter the new action.

92
Indirect Layout Control
Logix entry
  • Logix entry
  • Time to put some 'Action' in our Logix.
  • Specifically 'Set Turnout'. Enter 'LT1', then
    'Update'.
  • Our first action.
  • Lets get fancy and send the sound of the code
    relays. Add another action 'Play Sound File'.
  • Click on 'File' to search for sounds.
  • 'Code-send.wav is what we need. Select then
    'Open'.
  • Click 'Update' to enter the new action.
  • The sounds should be first. (

93
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.

94
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.

95
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.
  • Continue picking the next item until you have the
    new order.

96
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.
  • Continue picking the next item until you have the
    new order.
  • One action does not wait on another to happen, so
    the turnout will still activate before the sounds
    are finished playing. To fix that hit 'Edit' on
    the turnout entry.

97
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.
  • Continue picking the next item until you have the
    new order.
  • One action does not wait on another to happen, so
    the turnout will still activate before the sounds
    are finished playing. To fix that hit 'Edit' on
    the turnout entry.
  • Change 'Set Turnout' to 'Delayed Set Turnout'.

98
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.
  • Continue picking the next item until you have the
    new order.
  • One action does not wait on another to happen, so
    the turnout will still activate before the sounds
    are finished playing. To fix that hit 'Edit' on
    the turnout entry.
  • Change 'Set Turnout' to 'Delayed Set Turnout'.
  • Enter '5' for the number of seconds to delay,
    then 'Update'.

99
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Reorder.
  • Then choose who is on first.
  • Continue picking the next item until you have the
    new order.
  • One action does not wait on another to happen, so
    the turnout will still activate before the sounds
    are finished playing. To fix that hit 'Edit' on
    the turnout entry.
  • Change 'Set Turnout' to 'Delayed Set Turnout'.
  • Enter '5' for the number of seconds to delay,
    then 'Update'.
  • This is our first Conditional completed. 'Update'
    it to save.

100
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Done to close and enable the Logix.

101
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Done to close and enable the Logix.
  • We are reminded to save our work. The Logix may
    be saved as stand alone files or with their
    panels. I prefer mine to be saved with the panel
    files.

102
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Done to close and enable the Logix.
  • We are reminded to save our work. The Logix may
    be saved as stand alone files or with their
    panels. I prefer mine to be saved with the panel
    files.
  • Clicking our code button should send the sound of
    relays, then 'close' the turnout, but only if the
    OS is clear and the turnout isn't already closed.

103
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Done to close and enable the Logix.
  • We are reminded to save our work. The Logix may
    be saved as stand alone files or with their
    panels. I prefer mine to be saved with the panel
    files.
  • Clicking our code button should send the sound of
    relays, then 'close' the turnout, but only if the
    OS is clear and the turnout isn't already closed.
  • Select Edit in order to add the 'thrown'
    conditional.

104
Indirect Layout Control
Logix entry
  • Logix entry
  • Click on Done to close and enable the Logix.
  • We are reminded to save our work. The Logix may
    be saved as stand alone files or with their
    panels. I prefer mine to be saved with the panel
    files.
  • Clicking our code button should send the sound of
    relays, then 'close' the turnout, but only if the
    OS is clear and the turnout isn't already closed.
  • Select Edit in order to add the 'thrown'
    conditional.
  • Then 'New Conditional'.

105
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions actions.

106
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.

107
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.
  • And click 'Done'.

108
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.
  • And click 'Done'.
  • Test again and we should have interlocked control
    of the first turnout. The problem is that there
    is no feedback between the turnout position and
    the indicator jewels.

109
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.
  • And click 'Done'.
  • Test again and we should have interlocked control
    of the first turnout. The problem is that there
    is no feedback between the turnout position and
    the indicator jewels.
  • In our next clinic we will cover editing options
    and test our panel.

110
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.
  • And click 'Done'.
  • Test again and we should have interlocked control
    of the first turnout. The problem is that there
    is no feedback between the turnout position and
    the indicator jewels.
  • In our next clinic we will cover editing options
    and test our panel.
  • Save our work.

111
Indirect Layout Control
Logix entry
  • Logix entry
  • Enter 'Switch 5 Reverse' then all the variables
    and conditionals for the other directions
    actions.
  • Update the new conditional.
  • And click 'Done'.
  • Test again and we should have interlocked control
    of the first turnout. The problem is that there
    is no feedback between the turnout position and
    the indicator jewels.
  • In our next clinic we will cover editing options
    and test our panel.
  • Save our work.
  • As 2009Clinic3.xml

112
Introduction to PanelPro
  • This completes Clinic 3.
  • The next clinic will start with basic new editing
    options for Logix and Panels.
  • Next we will cover basic ABS signaling using SSL.
    (Simple Signal Logic)?
  • These clinic files will be available at our web
    site.
  • http//www.rr-cirkits.com/Clinics/Clinics.html
  • Versions from previous years clinics are also
    available there for your convenience.
Write a Comment
User Comments (0)
About PowerShow.com