Unit installation

E-2
RLC-3 V1.80 Copyright © 1998 Link Communications Inc. 9/17/98
with the rotor all of the way counter-clockwise and 13 volts with the rotor all of the way
clockwise.
13 = 360, X = 25 * 360 / 13, X = 692
25 X
This calculation shows that to get 360 degrees at 13 volts, we need to set the analog input to
expect 692 degrees at 25 volts (the maximum input with the voltage divider input on).
Assuming you are using analog input 1 on I/O board 1, the command would be:
Command 102 1 1 0 0000 0 0692 D or unkey or <Enter>
Now try reading the direction with the macro you wrote in the previous step. It should read
0 degrees with the rotor all of the way CCW, 180 degrees at north, and 360 degrees with the
rotor all of the way CW. If it is off slightly, adjust the 692 used in Command 102 to make it
line up. Increase it if the readings are too large and decrease it if the readings are too small.
Do not change the analog conversion ratio after you finish this step or you will mess up any
presets you have made.
Now we will set an analog low alarm at the most CCW position. Turn the rotor all of the
way CCW. Read the direction. It should be 0 degrees (or close to it). To set the analog
alarm (again assuming analog input 1 on I/O board 1):
Command 104 1 1 0 0 0000 D or unkey
When that low alarm occurs, we want it to turn the rotor motor off. Double check to make
sure you remember the command number of the macro you wrote in the first steps to turn
the motor off. We will use command number 567 for this example, you can use the number
of your macro. When the alarm occurs, it will call an analog low alarm macro. You can find
the appropriate macro number in Chapter 8 in the automatic macro section. We will assume
you are using macro number 292. We want this macro to turn the rotor off, so we will make
it call the rotor off macro:
Command 053 292 567 D or unkey or <Enter>
You can test the alarm we set in the above step by executing the motor CCW macro we
made and making sure that it turns itself off when it gets to the CCW limit. The RLC-3
checks the alarm every second by default, but you can speed it up if you want to. Simply
change the "I/O Polling Timer" with command C020. A reset value of 10 (100 milliseconds
= 1/10 of a second) is probably more than fast enough.
We will also want to turn the rotor off when a analog high alarm occurs, so we will program
the analog high alarm macro (number 276) to do the same thing as the analog low alarm
macro:
Command 053 276 567 D or unkey or <Enter>