Article sections

    2497 – Network List

    Posted by Robert Ward | 12/1/2020

    Updated by Robert Ward | 6/9/2021

     

    The WXS monitors the Network status of each device tied to the PLC.

    This is done by creating an array tag called wxsIndustrialNetwork of data type wxsIndustrialNetwork

     

    The UDT wxsIndustrialNetwork shall have the following elements:

    • .Name
      • Data Type: STRING
      • Max length of STRING to be (30)
      • Use: Enter the name of the network device here
    • .Status
      • Data Type: BOOL
      • Use: This bit shall be set to 1 when status is Good. All other instances set this to 0
    • .Address
      • Data Type: STRING
      • Max length of STRING to be (15)
      • Use: Enter the address here. For Ethernet, enter the IP as, ex, 10.200.2.11
        • This can also just show nodes on a serial network

     

    Therefore, make an array, giving one element for every device present in the network, and use the wxsModuleStatus AOI to control the status bit.

     

    After the array is created, the next step is to create/import this Routine:

     

    Once online and the wxsIndustrialNetwork array is filled out, execute the instructions shown in Rung 0. This will update the WXS database with the correct information regarding Name and Address.

    Rung 1 cycles itself via the tmr_wxsIndustrialNetworkStatus.PRE time. In this instance, that has an update rate of every 2-seconds. The time out from the WXS should remain at 10-seconds unless otherwise advised.

     

     




     

    UDT.zip December 1, 2020 739 B
    AOI.zip December 1, 2020 1 KB
    Routine-1.zip June 9, 2021 1 KB
    in Maintenance
    Did this article answer your question?