DL205 User Manual, 4th Edition, Rev. B
5–290
Chapter 5: Intelligent Box (IBox) Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
ECOM100 IP Setup (ECIPSUP) (IB-717)
ECOM100 IP Setup will configure the three TCP/IP parameters in the ECOM100: IP
Address, Subnet Mask, and Gateway Address, on a leading edge transition to the IBox. The
ECOM100 is specified by the ECOM100#,
which corresponds to a specific unique
ECOM100 Configuration (ECOM100) IBox
at the top of your program.
The Workspace parameter is an internal,
private register used by this IBox and MUST
BE UNIQUE in this one instruction and
MUST NOT be used anywhere else in your
program.
Either the Success or Error bit parameter will
turn on once the command is complete. If there is an error, the Error Code parameter will
report an ECOM100 error code (less than 100), or a PLC logic error (greater than 1000).
This setup data is stored in Flash-ROM in the ECOM100 and will disable the ECOM100
module for at least a half second until it writes the Flash-ROM. Therefore, it is HIGHLY
RECOMMENDED that you only execute this IBox ONCE on the second scan. Since it
requires a LEADING edge to execute, use a NORMALLY CLOSED SP0 (NOT First Scan)
to drive the power flow to the IBox.
In order for this ECOM100 IBox to function, you must turn ON dip switch 7 on the
ECOM100 circuit board.
ECIPSUP Parameters
• ECOM100#: this is a logical number associated with this specific ECOM100 module in the
specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must
reference this logical number
• Workspace: specifies a V-memory location that will be used by the instruction
• Success: specifies a bit that will turn on once the request is completed successfully
• Error: specifies a bit that will turn on if the instruction is not successfully completed
• Error Code: specifies the location where the Error Code will be written
• IP Address: specifies the module’s IP Address
• Subnet Mask: specifies the Subnet Mask for the module to use
• Gateway Address: specifies the Gateway Address for the module to use
DS5
Used
HPP
N/A
Parameter
DL205 Range
ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
K0-255
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
See DL205 V-memory map - Data Words
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
See DL205 V-memory map
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
See DL205 V-memory map
Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
See DL205 V-memory map - Data Words
IP Address . . . . . . . . . . . . . . . . . . . . . IP Address
0.0.0.1. to 255.255.255.254
Subnet Mask Address . . . . . . . IP Address Mask
0.0.0.1. to 255.255.255.254
Gateway Address . . . . . . . . . . . . . . . . IP Address
0.0.0.1. to 255.255.255.254
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0