Create TCP Slave VI

Installed With: LabVIEW

Creates a standard TCP slave with an IP ADU. If the data model input is unwired, a standard data model will be initialized and used. If the input is wired, the code will check to make sure that it is not the default value for the class (it should be initialized). If the default value of the class is wired, the standard model will be initialized and used.

Create TCP Slave

datatype_images\crn.gif

device data model accepts an initialized data model, if extended functionality is desired. This model defines how the slave stores data and reacts to functions and data sent by a Modbus master.

datatype_images\icclst.gif

error out contains error information. This output provides standard error out functionality.

datatype_images\ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\ii32.gif

code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\istr.gif

source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\ccclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

datatype_images\cbool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\ci32.gif

code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\cstr.gif

source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

datatype_images\cu16.gif

port accepts the TCP/IP port of the desired slave. The default for the Modbus standard is port 502.

datatype_images\irn.gif

TCP slave instance returns a configured and initialized TCP slave.