Automationdirect.com DirectLOGIC DL205 Series User Manual page 494

Table of Contents

Advertisement

ECDHCPE Example
Rung 1: The ECOM100 Config IBox is responsible for coordination/interlocking of all
ECOM100 type IBoxes for one specific ECOM100 module. Tag the ECOM100 in slot 1 as
ECOM100# K0. All other ECxxxx IBoxes refer to this module # as K0. If you need to move
the module in the base to a different slot, then you only need to change this one IBox. V400
is used as a global result status register for the other ECxxxx IBoxes using this specific
ECOM100 module.V401 is used to coordinate/interlock the logic in all of the other ECxxxx
IBoxes using this specific ECOM100 module. V402-V502 is a common 130 byte buffer
available for use by the other ECxxxx IBoxes using this specific ECOM100 module.
1
NOTE: An ECOM100 IBox instruction is used without a permissive contact. The top line will be identified in
BOLD italics, and the instruction name and ID will be in BOLD characters.
Rung 2: On the 2nd scan, enable DHCP in the ECOM100. DHCP is the same protocol
used by PCs for using a DHCP Server to automatically assign the ECOM100's IP Address,
Gateway Address, and Subnet Mask. Typically this is done using NetEdit, but this IBox
allows you to enable DHCP in the ECOM100 using your ladder program. The ECDHCPE
is leading edge triggered, not power-flow driven (similar to a counter input leg). The
commands to enable DHCP will be sent to the ECOM100 whenever the power flow into the
IBox goes from OFF to ON. The ECDHCPE does more than just set the bit to enable
DHCP in the ECOM100, it polls the ECOM100 once every second to see if the ECOM100
has found a DHCP server and has a valid IP Address. Therefore, a timeout parameter is
needed in case the ECOM100 cannot find a DHCP server. If a timeout does occur, the Error
bit will turn on and the error code will be 1005 decimal. The Success bit will turn on only if
the ECOM100 finds a DHCP Server and is assigned a valid IP Address. If successful, turn on
C100. If there is a failure, turn on C101. If it fails, you can look at V2000 for the specific
error code.
Chapter 5: Intelligent Box (IBox) Instructions
ECOM100
ECOM100#
Slot
Status
Workspace
Msg Buffer (65 WORDs)
DL205 User Manual, 4th Edition, Rev. B
ECOM100 Config
IB-710
K0
K1
V400
V401
V402-502
5–277
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D

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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF