Mapping Device Data to Data Fields
 Device data buttonsThese buttons are used to map the data from the device to a data field. First, select the data field you wish to add the data to by clicking in the parse string field, then click the button representing the data you wish to assign. Left click a button on the left to insert the whole substring. (Represented by {2}. Left click a button on the right to insert that character. (Represented by {1:4}). Right click a button on the left to insert the character and all following characters to the end of the substring. (Represented by {1:4+})
To insert the data in the middle of an existing data field, position the cursor at the required position in the parse string. Example (wait for the video to load): |
 Data fieldsThe data from the device is mapped to data fields in ERP-Scale. To add a new data field, type the name in an empty row. For compatibility with SAP we advise that the data field name should be in uppercase, contain no spaces and be less than 20 characters long. See the video above how to specify the parse string. The parse string can also be entered as a fixed string. This is useful for testing, e.g.: Conversion The following value conversions are available: 0-None – selected data from the device is assigned directly to the data field. 1-Value dot – selected data is a numeric string and is converted to a numeric value with ‘.’ as the decimal separator. 2-Value comma – selected data is a numeric string and is converted to a numeric value with ‘,’ as the decimal separator. 3-IEEE754 integer – selected data is an integer in IEEE754 format (MODBUS) and is converted to a numeric value. 16,32 or 64 bit integers supported. 4-IEEE754 float/double dot – selected data is a number in IEEE754 format (MODBUS) and is converted to a numeric value with ‘.’ as the decimal separator. 32 bit float and 64 bit double values are supported. 5-IEEE754 float/double comma – selected data is a number in IEEE754 format (MODBUS) and is converted to a numeric value with ‘,’ as the decimal separator. 32 bit float and 64 bit double values are supported. 6-Hex [0xNN] – each character in the selected string is converted to hex. E.g. ‘ABCD is converted to [0x41][0x42][0x43][0x44]. 7-Hex 0xNNNN – the selected string is converted to hex. E.g. ‘ABCD is converted to 0x41424344. 8-CRC 16 – the cyclic redundancy check is calculated for the selected data. 9-Hex data to integer – the selected data is converted to a decimal value. e.g. ‘AA’ = 0x4141 in hex = 16705 10-Hex string to integer – the selected data contains the digits of a hex value. e.g. 4141 = 0x4141 = 16705
Parse Result The parse result shows how the resulting value will be returned to the application (e.g. SAP). |