EasyManuals Logo

COTRUST CTH200 Series User Manual

COTRUST CTH200 Series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #316 background imageLoading...
Page #316 background image
Appendix
306
Parameters
Name
IN/OUT
Data
Type
Explanation
EN
IN
BOOL
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_ADDR
IN
DWORD
IP address, four bytes in total,
each byte shows the IP address
from low to high.
MASK
IN
DWORD
Subnet mask, four bytes in total,
each byte shows the subnet
mask number from low to high.
GATE
IN
DWORD
Gateway, four bytes in total,
each byte shows the gateway
number from low to high.
STATUS
OUT
BYTE
Status word
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
Parameters
Name
IN/OUT
Data
Type
Explanation
EN
IN
BOOL
Enable, SM0.0 is allowed to
invoke.
STATUS
OUT
BYTE
Status word
bit0=1, means successfully
acquired the address.
MAC0~
MAC5
OUT
BYTE
MAC Address
xx:xx:xx:xx:xx:xx
MAC5------MAC0
Set device name library
Library name: SET_DEV_NAME
Function: Set device name.
Parameters
Name
IN/OUT
Data
Type
Explanation
EN
IN
BOOL
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.
NAME
IN
DWORD
Pointer of device name. The first
byte express the length, the
whole string contains 32 length
bytes at most.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the COTRUST CTH200 Series and is the answer not in the manual?

COTRUST CTH200 Series Specifications

General IconGeneral
BrandCOTRUST
ModelCTH200 Series
CategoryController
LanguageEnglish