Write DeviceNet Explicit Message VI
- Updated2025-07-31
- 3 minute(s) read
Owning Palette: Advanced VIs
Writes an Explicit Message request using an Explicit Messaging Object.
![]() |
service data specifies the service data bytes for the request. The format of this data is specific to the service code. The default is 0. For object-specific service codes, the object specification defines the format of the data. For vendor-specific service codes, the device vendor defines the format of the data. The service data length input specifies the number of the service data bytes you want to send in the request. Refer to the DeviceNet Specification, the Electronic Data Sheets (EDS), or the specification of a remote device for more information about service data and service data length. |
![]() |
service code specifies the service that you request for. The default is 0. |
![]() |
object handle in specifies the object handle of the object that you want to use to write DeviceNet Explicit Message. |
![]() |
class ID specifies the class ID. The value ranges from 0 to FFFF hex. The default is 0. The device vendor provides vendor-specific classes. Although the DeviceNet Specification allows 16-bit class IDs, most class IDs are 8-bit. NI-IndCom for DeviceNet uses the class ID size, 16-bit or 8-bit, that is appropriate for your device. |
![]() |
instance ID specifies the instance ID. The value ranges from 0 to FFFF hex. The default is 0. DeviceNet reserves instance ID 0 to get an attribute from the class itself. Use values other than 0 to get the attribute from other instances within the class. For example, the primary Identity Object in a device uses instance ID 1. Although the DeviceNet Specification allows both 8-bit and 16-bit instance IDs, most instance IDs are 8-bit. NI-IndCom for DeviceNet uses the instance ID size, 16-bit or 8-bit, that is appropriate for your device. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
service data length specifies the number of service data bytes for request. The length also specifies the number of bytes provided in service data. The value ranges from 0 to 240. The default is 0. |
![]() |
object handle out returns the object handle that passes through this VI as an output so that you can use this output for subsequent VIs for this object. |
![]() |
error out contains error information. This output provides standard error out functionality. |





