E-1
RLC-4 V1.79 Copyright © 1998 Link Communications Inc. 9/18/98
Appendix E: Controlling a Rotor
The RLC-4 may eventually have specialized commands for controlling a rotor using the I/O lines on
the I/O board, but you can do it now with a little work.
•
Connect the rotor controls to two of the output lines. We will assume that you have one
output for on/off and another to select the direction.
•
Write a macro to turn the motor off. We will call this the "motor off macro"
•
Write another macro that makes the rotor turn clockwise, the "clockwise macro". It should
set the direction and turn the motor on.
•
Write a macro that make the rotor turn counter-clockwise, the "counter-clockwise macro".
It should set the direction and turn the motor on.
•
Next, connect the output from the rotor that indicates the direction it is pointing to one of
the analog input lines. If the voltage from that output ever goes above 5 volts (most go to
the power supply voltage, about 13 volts), you should turn on the voltage divider dip switch
on for that analog line. You should also make sure that the dip switch used to power a
temperature sensor on that analog line is turned off.
•
Use Command 053 (or your favorite macro programming command) to program one of the
user macros to execute Command 100 and make it read the analog line you hooked up in
the previous step. Turn the rotor and make sure that the number it tells you changes. If it
doesn't, check and make sure that the voltage going into the input line changes and that you
have the dip switches set correctly. Don't worry about what number it tells you, just that it
changes with the direction.
•
This whole step is optional. If you do not want to know what direction the rotor is
pointing, just have presets, skip this whole step. Most rotors indicate 180 degrees at south,
increase as you go clockwise to 360 degrees at north, then jump to 30 degrees or some
small reading and work their way back up to 180 degrees at south again. The direction
voltage that is output from the rotor usually starts at 0 volts when the rotor is pointed south
and increases to half scale at north and full scale when it gets all the way around to south on
the other side. This makes it very difficult for the controller to calculate the degree reading,
since it has a big break in the middle. Instead, we will make the controller read back the
number of degrees clockwise from south. This is accomplished by setting the conversion
ratio for the analog input with Command 102. The following calculation assumes that you
get 0 volts 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
Содержание RLC-4
Страница 2: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 4: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 14: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 18: ...RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 52: ...2 14 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 80: ...5 12 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 96: ...6 16 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 110: ...8 10 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 116: ...9 6 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 117: ...10 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 10 Not Currently Used...
Страница 118: ...10 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 122: ...11 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 139: ...12 17 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 142: ...12 20 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 160: ...13 18 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 175: ...15 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 15 Not Currently Used...
Страница 176: ...15 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 182: ...16 6 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 190: ...17 8 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 191: ...18 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 18 Not Currently Used...
Страница 192: ...18 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 193: ...19 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Chapter 19 Not Currently Used...
Страница 194: ...19 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 201: ...B 1 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Appendix B Not Currently Used...
Страница 202: ...B 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 204: ...C 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 206: ...D 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 210: ...E 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 216: ...G 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 218: ...H 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 220: ...I 2 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 222: ...I 4 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98...
Страница 227: ...J 5 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Bill of Materials...
Страница 228: ...J 6 RLC 4 V1 79 Copyright 1998 Link Communications Inc 9 18 98 Component Layouts and Schematic Diagrams...