Rockwell Automation Publication 1756-UM004D-EN-P - August 2022 45
Chapter 4 Security Options
Disable an Ethernet Port with a MSG Instruction
You can disable an Ethernet port with the Studio 5000 Logix Designer
application, version 28.00.00 or later. You cannot use this MSG instruction to
disable the Ethernet port on a different controller.
1. Add a MSG instruction to your program.
This message only has to execute once, it does not need to execute with
every program scan.
2. Configure the Configuration tab on the Message Configuration dialog
box as follows:
3. On the Communication tab, configure the Path. See Configure the MSG
Communication Path on page 41.
4. Before you enable the MSG instruction, make sure that the Source
Element tag value is 2.
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
IMPORTANT • These values are stored to NVS memory in such a way that the MSG
instruction is not required to execute each time the controller powers up.
• You cannot add a MSG instruction to your program if the controller
keyswitch is in Run mode, or if the FactoryTalk Security settings deny
this editing option.
Table 8 - Disable an Ethernet Port
Message Type: CIP Generic
Service Type: Set Attribute Single
Instance:
1 for single port modules
1 for Port 1, 2 for Port 2 on dual-port modules
Class: f6
Attribute: 9
Source Element:
Controller tag of SINT data type.
In this example, the controller tag is named Port_Configuration.
Source Length: 1