EasyManua.ls Logo

Promag WEC200 - Assign New IP-Address Command

Promag WEC200
20 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
Assign new IP-address command
Command format:
B. Ammm.mmm.mmm.mmm.mmm.mmm/pp...p/iii.iii.iii.ii
Where
mmm.mmm.mmm.mmm.mmm.mmm- MAC-address of
the target DS
pp...p- password (defined by the Password (PW) setting)
m- fixed to 'N' (means that the application firmware, not
the NetLoader is running)
iii.iii.iii.iii- new IP-address to be assigned to the DS
Possible replies:
A, D, C, F
(see Reply Code section)
Example (VB6 Code):
Change the IP of MAC
(0.2.3.5.0.62) to
192.168.100.216
Winsock1.RemoteHost = 255.255.255.255
Winsock1.SendData = _
A0.2.3.5.0.62//192.168.100.216
Note:
1. This is a broadcasts command, so the remote host IP needs to be set to 255.255.255.255.
2. The default password is blank.
3. For more details, please refer to the on-line help file of DS Manager tibbo_docs.chm on
[Assign IP-address (A) command] section.
Get I/O Pin Status command
Command format:
PGx, where x is the I/O line number
Possible replies:
As, C, D, R, where s is the state of I/O line (0 or
1)
Example (VB6 Code):
Get the Status of Pin 0, which
the WEC200 IP is
192.168.100.216
Winsock1.RemoteHost = 192.168.100.216
Winsock1.SendData = PG0
Note:
1. For more details, please refer to the on-line help file of DS Manager tibbo_docs.chm on [Get
I/O Pin Status (Gx) instruction] section.