LJM Single Value Functions
Use the following functions to access a single device register value. See the Modbus map to see what values can be accessed.
If you need to read or write multiple registers at once use the Multiple Value Functions.
Name Functions
Name functions access device registers by a name, such as "AIN5"
for analog input 5.
LJM_eWriteName - Write one value specified, by name.
LJM_eReadName - Read one value specified, by name.
LJM_eWriteNameString - Write one string value, specified by name.
LJM_eReadNameString - Read one string value, specified by name.
Address Functions
Address functions access device registers by an address and data type. For example, analog input 5 ("AIN5") would have address 10
and a FLOAT32
type.
LJM_eWriteAddress - Write one value, specified by address/type.
LJM_eReadAddress - Read one value, specified by address/type.
LJM_eWriteAddressString - Write one string value, specified by address.
LJM_eReadAddressString - Read one string value, specified by address.