05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FUNCTION REFERENCE<br />

SETNETCONFIG(PORT, ADDR, MASK, GATE)<br />

SETNETCONFIG(PORT, ADDR, MASK, GATE)<br />

ARGUMENT TYPE DESCRIPTION<br />

port int The index of the Ethernet port. Must be zero.<br />

addr int The required IP address for the port.<br />

mask int The required netmask for the port.<br />

gate int The required default gateway for the port.<br />

DESCRIPTION<br />

Overrides the database settings for the Ethernet port. The various IP parameters are 32-bit<br />

integers that can optionally be formed from strings using the TextToAddr() function. Note<br />

that setting all three of the IP values to zero will reset the port’s settings to the database<br />

defaults. Note also that the unit must be power-cycled before the new values will take effect.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

This function does not return a value.<br />

EXAMPLE<br />

SetNetConfig(0,0,0,0)<br />

REVISION 6 PAGE 407

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!