Chapter 3 Devices The procedure for processing a program is described below. Regenerating an input signal: 1. Before an AH500 series motion control module executes a program, it reads the states of the input signals sent to it into its input memory. 2. If the states of the input signals change during the execution of the program, the states of input signals stored in the input memory will not change until the AH500 series motion control module reads the states of the input signals sent to it next time. 3. The time it takes for an input device in the program to receive the state of an external signal is about 10 milliseconds.
(The time it takes for a contact in the program to receive the state of an external signal may be affected by the time it takes for the program to be scanned.) Processing a program: Regenerating input signals Input Input terminals The input signals are read into the input memory. Input memory Processing the program The state of X0.0 is read from the input memory. Writing the state of Y0.0 X0.0 Y0.0 Device memory Y0.0 Reading the state of Y0.0 M0 Writing the state of M0 After the AH500 series motion control module reads the states of the input signals stored in the input memory, the execution of the instructions in the program will start from the beginning of the program.
After the program is executed, the states of the Y devices used in the program will be stored in the device memory in the AH500 series motion control module. Regenerating an output signal: Regenerating output signals Latch memory Output Output terminals Output 1. After M102 is executed, the states of the Y devices stored in the device memory will be sent to the latch memory in the AH500 series motion control module. 2. The time it takes for an output device to be turned form ON to OFF is about 10~20 milliseconds. 3-5