Disable CIP Security Ports via a CIP Generic MSG Instruction

To disable
CIP Security
ports via
CIP
Generic MSG instructions, complete the following.
IMPORTANT: This procedure disables
CIP Security
ports. To re-enable the ports, use the controller reset button to perform a Stage 2 reset, which returns the controller to a factory default state. For more information, see Stage 2 Reset.
You cannot use this MSG instruction to disable the
CIP Security
ports on another controller. The message only has to execute once rather than with every program scan.
  1. Create a controller tag with the SINT[9] data type. In this example, the controller tag is named CIPSEC_DISABLE and must match the following image.
    This image shows sample tags to disable a controller's CIP Security port in Logix Designer.
    Before you enable the MSG instruction, consider the following:
    • The element CIPSEC_DISABLE[4] is responsible for disabling UDP port 2221 and
      EtherNet/IP
      over DTLS, transport class 0/1.
    • The element CIPSEC_DISABLE[8] is responsible for disabling TCP port 2221 and
      EtherNet/IP
      over TLS, UCMM, and transport class 3.
    • To disable the controller CIP Security ports, the elements CIPSEC_DISABLE[4] and CIPSEC_DISABLE[8] in the SINT array for the Source Element CIPSEC_DISABLE must be 0.
  2. Add an MSG instruction to your program.
    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.
  3. Configure the Configuration tab on the Message Configuration dialog box as described in the table below.
    This image shows how to configure the MSG instruction that disable a controller's CIP Security ports in Logix Designer.
    Disable the CIP Security Port
    Field
    Description
    Message Type
    CIP Generic
    Service Type
    Custom
    Service Code
    4c
    Instance
    1
    Class
    f5
    Attribute
    0
    Source Element
    Controller tag of SINT[9] data type.
    This is the controller tag that you created previously.
    Source Length
    9
  4. Configure the Communication tab to use a Path of THIS.
    IMPORTANT:
    Messages to THIS must be unconnected messages.
    This image show how to configure the path to disable a controller's CIP Security ports in Logix Designer.
  5. Cycle power on the controller for the configuration to take effect.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal