Page 65 of 126
Proton Products SL mini and SLR mini Series Speed and Length Gauges Instruction Manual - issue 1s
Proton standard RS232 parameter access protocol
This uses a protocol to access individual parameters or blocks of parameters and is typically used in a
production line environment where the gauge is connected to a PLC or similar device.
Notes
-
The parameters are split into ‘Input’ and ‘Output’ groups, the ‘Input’ parameters can be both read
and written, and the ‘Output’ parameters can only be read
- The parameter number is the same as the word address used for Profibus data; refer to the
‘PROFIBUS Master to Gauge and RSβγβ Input Parameter List’ for the parameter numbers
-
For ‘Input’ data: when a word is defined as bits then four hexadecimal characters are required to
form the bits 15~0; when a word is defined as a data value then only sufficient characters to define
the value in decimal format, with the decimal point where appropriate, are needed; where the data
is of double word length then only the first word address is used
-
For ‘Output’ data: when a word is defined as bits then four hexadecimal characters will be sent;
when a word is defined as a data value it is converted to a decimal number with the decimal point
but without leading zeros; where a double word is used then only the first word address is used to
request the data, the data in both words is automatically converted to a single value
-
If a PC keyboard is being used to enter the codes then the ‘carriage return’ plus ‘line feed’ are
replaced by the Enter key
S
ET THE VALUE OF AN
‘I
NPUT
’
PARAMETER
Write Format:
&
Input Parameter number
Space
Value without decimal point [0.5m = 50]
Carriage return
Line feed
R
EQUEST VALUE ONCE FOR ONE OR A RANGE OF
‘I
NPUT
’
PARAMETERS
Request Format 1: (e.g.: ?β ‘ENTER’)
?
Input Parameter number
Carriage return
Line feed
Request Format β: (e.g.: ?β β ‘ENTER’)
?
Input Parameter number
Space
Length of string
Carriage return
Line feed