DL205 User Manual, 4th Edition, Rev. B
5–302
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 Read Subnet Mask (ECRDSNM) (IB-732)
ECOM100 Read Subnet Mask will read the 4 parts of the Subnet Mask and store them in 4
consecutive V-memory locations in decimal format, on a leading edge transition to the IBox.
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.
In order for this ECOM100 IBox to function,
you must turn ON dip switch 7 on the
ECOM100 circuit board.
ECRDSNM 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
• Subnet Mask: specifies the starting address where the ECOM100’s Subnet Mask will be placed in 4
consecutive V-memory locations
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
Subnet Mask (4 Words). . . . . . . . . . . . . . . . . . . V
See DL205 V-memory map - Data Words
ý
ý
þ
þ
230
240
2
5
0
-1
2
6
0