Chapter 2 Devices, Symbols and Instructions 2.1 Common Devices This section describes the concept of common devices which include input/output/auxiliary relays, timers, counters, and data registers. For detailed descriptions on functions as well as characteristics of devices, you can refer to AH Motion Controller – Operation Manual . For details of motion control devices, refer to 2.2 Motion Control Devices. 2.1.1. Functions of Common Devices The procedure for processing the program in the PLC: Regenerating the input signal: 1. Before the program is executed, the state of the Input terminal X external input signal is read into the memory of the Regenerating the input signal input signal.
2_ Device memory 2. When program is executed, the state in the memory of the input signal does not change even if the input Device memory signal changes from ON to OFF or from OFF to ON. Processing the program Not until the next scan begins will the input signal be refreshed. Processing the program: Device memory After the input signal is refreshed, the instructions in the program are executed in order from the start address of the program, and the results are stored in the device Regenerating the output signal and sending it to the output terminal memories. Regenerating the state of the output:
After the instruction END is executed, the state in the device memory is sent to the specified output terminal. 2.1.2. Common Device List 2-3 Type Device name Number of devices Range Bit device Input relay X 8192 X0.0~X511.15 (Supporting Force ON/OFF) Output relay Y 8192 Y0.0~Y511.15 (Supporting Force ON/OFF) Data register D 1048576 D0.0~D65535.15 Link registers L 1048576 L0.0~ L65535.15 Auxiliary relay M 8192 M0~M8191 Special auxiliary relay SM SM: 2048 SM0~SM2047 Stepping relay S 2048 S0~S2047 Timer T 2048 T0~T2047 Counter C 2048 C0~C2047 32-bit counter HC/AC HC: 64 AC: 56 (AH10EMC) HC0~HC63 AC0~AC55 (AH10EMC)