Use this block to write the value of an SPN. The block input is in engineering units. The isValid input can be used to set the SPN to the corresponding J1939 invalid value.
Inputs
Input
Type
Description
Data
double
Current value of SPN
isValid
boolean
Set to false if SPN is not valid, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
isAvailable
boolean
Set to false if SPN is not available, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.