Create Serial 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 Serial 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\cio.gif

VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

datatype_images\cu8.gif

unit ID defines the device ID. This is used by the device to determine which requests to respond to. A slave will only respond to requests which have an ID equal to their own.

datatype_images\cu16.gif

parity specifies the parity used for every frame to be transmitted or received. The default is even.

datatype_images\cu16.gif

flow control sets the type of control used by the transfer mechanism.

datatype_images\cu32.gif

baud rate is the rate of transmission. The default is 9600.

datatype_images\cenum.gif

serial type defines the type of serial transmission data unit to be used. RTU is a binary, higher performance data unit. ASCII uses human-readable characters to send all data.

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\irn.gif

serial slave instance returns a configured and initialized serial slave.