Disable an Ethernet Port with an MSG Instruction

You can use a
CIP
Generic MSG with a Path of THIS to execute this option. You cannot use this MSG instruction to disable an Ethernet port on another controller.
  1. Add an MSG instruction to your program.
    This message only has to execute once, it does not need to execute with every program scan.
    IMPORTANT:
    You cannot add an MSG instruction to your program if the controller switch is in Run mode, or if the
    FactoryTalk® Security
    settings deny this editing option.
  2. Configure the Configuration tab on the Message Configuration dialog box as described in the table below.
    This image shows the MSG Configuration dialog box to disable a controller Ethernet port in Logix Designer.
    IMPORTANT:
    These values are stored to non-volatile controller memory in such a way that the MSG instruction is not required to execute each time the controller powers up.
    Disable the Ethernet Port
    Field
    Description
    Message Type
    CIP Generic
    Service Type
    Set Attribute Single
    Instance
    1 to disable the Ethernet port on controllers with a single Ethernet port, or disable Port A1 on controllers with two Ethernet ports.
    2 to disable Port A2 on controllers with two Ethernet ports.
    Class
    f6
    Attribute
    9
    Source Element
    Controller tag of SINT data type.
    Source Element Tag Data:
    • 1 = Enable port
    • 2 = Disable Port
    In this example, the controller tag is name Port_Configuration.
    Source Length
    1
  3. Configure the Communication tab to use a Path of THIS.
    IMPORTANT:
    Messages to THIS must be unconnected messages.
    This image shows the path to disable a controller Ethernet port with a MSG in Logix Designer.
  4. Before you enable the MSG instruction, verify that the Source Element tag value is 2.
    IMPORTANT:
    You can re-enable an Ethernet port after it is disabled.
    To re-enable the port, complete the steps that are described in this section. Before you enable the MSG instructions, however, make sure that the Source Element tag value is 1.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal