APPENDIX A — VCL FUNCTIONS
Curtis Model 1351 – December 2018
Return to TOC
pg. 126
Function Name
new/unique to 1351 = (✔)
Arguments Short Comment Description
Setup_Select 3 Setup a Selector Switch Block This function installs new values for a 2 position
selector switch. If you set parameter 2 to 0 the
selector block will be disabled.
Automate_Select 2 Automate the select variable This function causes the input selection to be
performed automatically. The second parameter
identies a variable that will be used to select
the output of the specied selector block. If you
set parameter 2 to 0 the selector block will be
disabled.
Set_Select 2 Enter a new value for the select
variable
This function set the value of the select parameter
that is used to choose which input appears at the
output (SELn_Output)
Setup_4p_Select 9 Setup a 4-Pole Selector Switch
Block
This function installs new values for a 4-Pole,
Double-Throw selector switch. You can set any
source parameter (P#_Zero or P#_NonZero) to 0
to disable its transfer. In this case, the value of the
output will remain unchanged. For example, if you
set up SEL4 with both P2_Zero and P2_NonZero
set to zero, the value of sel4_4p_2_output will
not be changed. If you set P2_Zero to 0 (but have
dened P2_NonZero), the value of sel4_4p_2_
output will only be changed when the selector is
non-zero.
Automate_4p_Select 2 Automate a 4-Pole Select Variable This function causes the input selection to be
performed automatically. The second parameter
identies a Variable that will be used to select
the output of the specied selector block. If you
set parameter 2 to 0 the selector block will be
disabled.
Set_4p_Select 2 Enter a new value for a 4-pole
select variable
This function set the value of a 4-pole select
parameter that is used to choose which input set
appears at the output: the ‘zero’ set or the 'non-
zero' set.
put_message_to_string 5 Place a message into an array of
ASCII numbers
Construct a message and parse it into a list
of ASCII character equivalents. This function
constructs a 12-character ASCII message with
pre-text on the left, a variable’s value in the
middle, and post-text on the right. The variable's
value can have a decimal place added using the
NFormat specier If the resulting message is
longer than 12 characters, truncation occurs. --
The variable’s value is truncated. -- The post-text
is truncated second. -- The 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) Example -----------------
---------------------------------------------------
------------------------------------- if the variable
= 12345, the pre-text is “ML”,the post-text is
“RPM”, the decimal format is PSM_DECIMAL_1
and the ArrayStart is User101 Then: User101 = 77
“M” User102 = 76 “L” User103 = 32 “ ” User104
= 49 “1” User105 = 50 “2” User106 = 51 “3”
User107 = 52 “.” User108 = 46 “4” User109
= 53 “5” User110 = 82 “R” User111 = 80 “P”
User112 = 77 “M”