Automationdirect.com DirectLOGIC DL205 Series User Manual page 523

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
ECOM100 Write Gateway Address (ECWRGWA) (IB-731)
1
ECOM100 Write Gateway Address will write the given Gateway IP Address to the
ECOM100 module on a leading edge transition to the IBox. See also ECOM100 IP Setup
230
(ECIPSUP) IBox 717 to setup ALL of the
2
240
TCP/IP parameters in a single instruction - IP
Address, Subnet Mask, and Gateway Address.
250-1
3
260
The Workspace parameter is an internal,
private register used by this IBox and MUST
4
BE UNIQUE in this one instruction and
DS5
Used
MUST NOT be used anywhere else in your
N/A
HPP
program.
5
Either the Success or Error bit parameter will
turn on once the command is complete. If
6
there is an error, the Error Code parameter
will report an ECOM100 error code (less than
7
100), or a PLC logic error (greater than 1000).
The Gateway Address is stored in Flash-ROM in the ECOM100 and the execution of this
8
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
9
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
10
ECOM100 circuit board.
11
ECWRGWA Parameters
• ECOM100#: this is a logical number associated with this specific ECOM100 module in the
12
specified slot. All other ECxxxx IBoxes that need to reference this ECOM100 module must
reference this logical number
13
• 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
14
• 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
A
• Gateway Address: specifies the Gateway IP Address that will be written to the module
B
ECOM100# . . . . . . . . . . . . . . . . . . . . . . . . . . . . K
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
C
Success . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error . . . . . . . . . . . . . . . . . . . . . . . X,Y,C,GX,GY,B
Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
D
Gateway Address . . . . . . . . . . . . . . . . . . . . . . . .
5–306
DL205 User Manual, 4th Edition, Rev. B
Parameter
DL205 Range
K0-255
See DL205 V-memory map - Data Words
See DL205 V-memory map
See DL205 V-memory map
See DL205 V-memory map - Data Words
0.0.0.1. to 255.255.255.254

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