Topic: DMD0071

SETUPNOD - Setup Ethernet Node Parameters


The Setup Ethernet Node Parameters (SETUPNOD) instruction is used to configure the Node Identifying parameters for the onboard Ethernet port of an Do-more controller or the Ethernet port of an ECOM100 module.

 

Setup Ethernet Node Parameters (SETUPNOD) is a Multi-Scan instruction.

 

Setup Ethernet Node Parameters (SETUPNOD) is an edge-triggered instruction.

 

Note: this instruction writes to the ROM in the controller. As such, this instruction may take several seconds of time to complete.

 

Note: it is important that this instruction NOT be executed more than is necessary because the ROM chip in the Do-more controller has a limited number (~100K) of write cycles.

 

Parameters:

Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.

 

Device - designates the Ethernet device to configure

 

no devices available - indicates that there are no Devices that can execute this instruction. The most likely cause is the CPU does not have an onboard Ethernet port or there is no ECOM100 module in the base.

 

    • create device - select this option to invoke the Device Configuration dialog of the System Configuration to create a new device of the appropriate type

 

Node Number - the Node Number can be any positive 32-bit signed number from 0 to 2147483647 or any readable numeric location.

 

Node Name - the Node Name can consist of 0 to 256 alphanumeric characters

 

Node Description - the Node Description can consist of 0 to 256 alphanumeric characters

 


On Success: - designates one of the following two options if the Setup Ethernet Node Parameters operation is successful:

 

  • SET BIT - The specific BIT location will be SET OFF when the Setup Ethernet Node Parameters (SETUPNOD) instruction is first enabled, and then SET ON if the operation is successful. This value can be any writable bit location.
     

  • JMP to Stage - JMP to the specified Stage. The target Stage must be in the same Program as the Setup Ethernet Node Parameters (SETUPNOD) instruction, you cannot specify a Stage in a different Program. This selection will function the same as a standalone Jump to Stage instruction. Click here for more information on the Jump To Stage instruction.

 

On Error: - designates one of the following two options if the Setup Ethernet Node Parameters operation is unsuccessful:
 

  • SET BIT - The specific BIT location will be SET OFF when the Setup Ethernet Node Parameters (SETUPNOD) instruction is first enabled, and then SET ON if the operation is unsuccessful. This value can be any writable bit location.
     

  • JMP to Stage - JMP to the specified Stage. The target Stage must be in the same Program as the Setup Ethernet Node Parameters (SETUPNOD) instruction, you cannot specify a Stage in a different Program. This selection will function the same as a standalone Jump to Stage instruction. Click here for more information on the Jump To Stage instruction.

 


Status Display:

The red triangle in the upper left corner of the status display indicates this is a Fully Asynchronous instruction.

 

The gray triangle at the right end of the input leg indicates the input is edge triggered.

 


See Also:

 


Example Using Stages:

 

 


Rung Example: