CRBasic Example 4: RS-485 mode example
'Convert string to float
ConvertedValue = ReturnedData
'add an offset to the returned floating point value
ConvertedValue = Converte 100
SerialClose
(SensorPort)
'Close the serial port to the sensor
'this places the SDM-SIO1A into its lowest power mode
Next Scan
EndProg
SDM-SIO1A and SDM-SIO4A Serial Input/Output Modules
38