| cmdRAIL | Index |
Command Code:
The Packet:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | ||||||
| address | 5 | cmdRAIL | MSG | INPUT | MINRAIL | MAXTHR |
| MSG - | Raw input ID. |
| INPUT - | Input parameter |
| MINRAIL - | Minimum rail for parameter. |
| MAXTHR - | Maximum rail for parameter. |
Description:
This command compares an input parameter to a minimum and maximum rail threshold. There is no reply packet. If the input parameter is less than the minimum rail, this command generates a raw input with the minimum rail as the parameter. If the input parameter is greater than the maximum rail, this command generates a raw input with the maximum rail as the parameter. If the input parameter is within the bounds of the minimum and maximum rail, this command generates a raw input with the original input byte as the parameter.