Automationdirect.com DirectLOGIC DL205 Series User Manual page 493

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
ECOM100 Enable DHCP (ECDHCPE) (IB-735)
1
ECOM100 Enable DHCP will tell the ECOM100 to obtain its TCP/IP setup from a DHCP
Server on a leading edge transition to the IBox.
230
2
The IBox will be successful once the ECOM100
240
has received its TCP/IP settings from the DHCP
250-1
server. Since it is possible for the DHCP server
3
to be unavailable, a Timeout parameter is
260
provided so that the IBox can complete, but
4
with an Error (Error Code = 1004 decimal).
DS5
Used
See also the ECOM100 IP Setup (ECIPSUP)
N/A
HPP
5
IBox 717 to directly set up ALL of the TCP/IP
parameters in a single instruction - IP Address,
Subnet Mask, and Gateway Address.
6
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.
7
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
8
a PLC logic error (greater than 1000).
The "Enable DHCP" setting is stored in Flash-ROM in the ECOM100 and the execution of
9
this IBox 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
10
NORMALLY CLOSED SP0 (STR 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
11
ECOM100 circuit board.
ECDHCPE Parameters
12
• 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
13
reference this logical number
• Timeout(sec): specifies a timeout period so that the instruction may have time to complete
14
• 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
A
• 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
B
ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
C
Timeout (sec) . . . . . . . . . . . . . . . . . . . . . . . . . . K
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
D
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
5–276
DL205 User Manual, 4th Edition, Rev. B
Parameter
DL205 Range
K0-255
K5-127
See DL205 V-memory map - Data Words
See DL205 V-memory map
See DL205 V-memory map
See DL205 V-memory map - Data Words

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF