EasyManua.ls Logo

Curtis 1239E - AUTOMATE_ENCODER()

Curtis 1239E
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10 — VEHICLE CONTROL LANGUAGE (VCL)
Curtis 1239E-1269E Manual, os 37.0 RevA – May 2021
Return to TOC
pg. 132
BATTERY_COMPENSATE( )
is function is used to compensate a variable with battery voltage using the nominal battery setting.
Syntax:
Battery_Compensate(Input)
Parameters:
Input Variable to be compensated.
Returns:
n Output.
Error Codes: None.
Updated since os32.0, a string length argument has been added to the Put_Message_To_String()
function. is allows the function to create strings up to 64 characters (the previous limit was 12).
PUT_MESSAGE_TO_STRING( )
Use this function to construct a message and parse it into a list of ASCII character equivalents. e
output formats an ASCII message with pre-text on the le, a variables value in the middle, and post-
text on the right.
e variables value can have a decimal place added using the NFormat specier
If the resulting message is longer than 64 characters, truncation occurs,
e variables value is truncated.
e post-text is truncated second.
e pre-text is truncated last.
All truncation occurs on the right of a section.
All unused array positions will be lled with a space (ASCII 32).
Syntax:
Put_Message_To_String(PreText, Variable, PostText,
NFormat, @ArrayStart, MsgLength)
Parameters:
Pretext String to concatenate on the left.
Variable Numeric value to convert to ASCII and concatenate in the middle.
PostText String to concatenate on the right.
NFormat Numerical format specier (see NFormat speciers, below and in
Sys Info).
@ArrayStart Pointer to the User or Autouser variable that is the start of the
output array.
Msglength Number of characters in the string (up to 64). This is a
new argument.
Set this to 12 to maintain backwards compatibility with VCL
written for previous OS’s

Table of Contents

Related product manuals