AS Series Programming Manual Input type Inputs are classified into two types. 1. Regenerated inputs: The PLC reads the state of a regenerated input before the program is executed; for example, LD X0.0. _2 2. Direct input: The state of a direct input is read by the PLC during the execution of the instructions; for example, LD DX0.0. 2.2.5 Output Relays (Y) Output function The output sends the ON/OFF signal to drive the load connected to the output, such as an external signal lamp, a digital display, or an electromagnetic valve. There are four types of outputs. They are relays, transistors (NPN and PNP), and TRIACs (thyristors).
You can use the output contact A or contact B several times in the program. Use output Y only once in the program; otherwise, according the PLC’s program-scanning function, the state of the output depends on the circuit connected to the last output Y in the program. Output number (the decimal number) For the PLC, the output numbers start from Y0.0. The number of outputs varies with the number of outputs on the digital input/output modules. The outputs are numbered according to the order in which the digital input/output modules are connected to the PLC. The maximum number of outputs on the PLC is 1024, and the range is between Y0.0 and Y63.15.
An output that is not used as an output device can be used as a general device. Output types Outputs are classified into two types. 1. Regenerated output: The state of a regenerated output is not written until the program executes the END instruction, according to the states of the outputs; for example, OUT Y0.0. 2. Direct output: The state of a direct output is written by the PLC during the execution of the instructions, according to the states of the outputs; for example, OUT DY0.0. 2.2.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 using the auxiliary relay, but you cannot drive the external load using the auxiliary relay. You can use the auxiliary relays in either of the following two ways. 1. For general use: In general use, if an electric power failure occurs when the PLC is running, the auxiliary relay resets to the OFF state. When the power is restored, the auxiliary relay remains in the OFF state. 2. For latched use: In latched use, ff an electric power failure occurs when the PLC is running, the state of the auxiliary relay is retained. When the power is restored, the relay state remains the same as before the power failure. 2-10