Skip to main content

ASCII Rules

Use ASCII Rules to configure commands and parse plain-text serial or stream-based payloads from southbound devices into structured sensor tags. Go to Sensor Data > Devices and Rules > ASCII Rules to view and configure ASCII rules.

ASCII Settings

  1. Preview the current value collected from the southbound device for this rule.
  2. Edit the added rule.
  3. Delete the added rule.
  4. Add a new rule.
  5. Export or import the rules configuration as a CSV template file. This is useful for configuration backups and batch operations.

Add an ASCII Rule​

Add ASCII rule

  1. Set the ASCII rule order.
  2. Specify the slave device name.
  3. Configure the interface to which the rule applies.
note

at Interface>> Serial Port setting or TCP Server setting should select “ASCII” protocol first before add an ASCII communication rule.

  1. Configure the Tag Name for data returned from the slave device.
  2. Configure the Tx command sent to the slave device.
  3. Select the command data format: ASCII or HEX.
  4. Specify the reporting center to which the collected data is reported. The number corresponds to Servers > Reporting Center > Server (1-5).
  5. Enable or disable the rule.