Appendix
Enable, edge triggered.
The instruction is not allowed to
circularly invoke, cause set IP
and EPPROM has limits for
number of times, and the
EtherNET communication would
be failed due to frequently write.
IP address, four bytes in total,
each byte shows the IP address
from low to high.
Subnet mask, four bytes in total,
each byte shows the subnet
mask number from low to high.
Gateway, four bytes in total,
each byte shows the gateway
number from low to high.
bit0=1, means set successful.
bit1=1, means illegal IP address.
bit2=1, means IP and mask is
not match.
Bit3=1, means IP and gateway is
not match.
Get MAC address library
① Library name: GET_MAC
② Function: Get MAC address
Enable, SM0.0 is allowed to
invoke.
bit0=1, means successfully
acquired the address.
xx:xx:xx:xx:xx:xx
MAC5------MAC0
Set device name library
① Library name: SET_DEV_NAME
② Function: Set device name.
Enable, edge triggered.
The instruction is not allowed to
circularly invoke, cause set IP
and EPPROM has limits for
number of times, and the
EtherNET communication would
be failed due to frequently write.
Pointer of device name. The first
byte express the length, the
whole string contains 32 length
bytes at most.