AH Motion Controller – Standard Instructions Manual 2.1.5 Output Relays (Y) The function of the output The task of the output is sending the ON/OFF signal to drive the load connected to the output. The load can be an external signal lamp, a digital display, or an electromagnetic valve. There are three types of outputs. They are relays, transistors, and TRIACs (AC thyristors). Contact A or contact B of the output can be used several times in the program, but the output should be used only once in the program. Otherwise, according the program-scanning principle of the PLC, the state of the output depends on the circuit connected to the last output in the program.
The output number (the decimal number) input/output modules, and the outputs are numbered according to the order in which the digital input/output modules For the PLC, the input numbers start from X0.0. The number of outputs varies with the number of outputs on the digital _2 are connected to the PLC. The maximum number of outputs on the PLC can reach up to 8192, and the range is between Y0.0 and Y511.15. The output which is not practically put to use can be used as a general device. The output type The outputs are classified into two types. 1. Regenerated output: Not until the program executes the instruction END is the information fed out according to the states of the outputs.
For example, OUT Y0.0. 2. Direct output: When the instructions are executed, the information is fed out according to the states of the outputs. For example, OUT DY0.0. 2.1.6 Auxiliary Relays (M) The auxiliary relay has contact A and contact B. It can be used several times in the program. You can combine the control loops by means of the auxiliary relay, but can not drive the external load by means of the auxiliary relay. The auxiliary relays can be divided into two types according to their attributes. 1. For general use: If an electric power cut occurs when the PLC is running, the auxiliary relay for general use will be reset to OFF.
When the power supply is restored, the auxiliary relay for general use is still OFF. 2. For latched use: If an electric power cut occurs when the PLC is running, the state of the auxiliary relay for latched use will be retained. When the power supply is restored, the state remains the same as that before the power electric cut. 2.1.7 Special Auxiliary Relays (SM) SM: special auxiliary relays Every special auxiliary relay has its specific function. Please do not use the special auxiliary relays which are not defined. For function descriptions of each special auxiliary relay (SM), refer to Appendix 1: Special Auxiliary Relays Table.
2.1.8 Data Registers (D) The data register stores the 16-bit data. The highest bit represents either a positive sign or a negative sign, and the values which can be stored in the data registers range from -32,768 to +32,767. Two 16-bit registers can be combined into a 32-bit register, i.e. (D+1, D) in which the register whose number is smaller represents the low 16 bits. The highest bit represents either a positive sign or a negative sign, and the values which can be stored in the data registers range from 2-6