AH Motion Controller – Standard Instructions Manual 1.1 Overview This manual introduces the elements for standard programming including devices, symbols and standard instructions. Most instructions contain operands which function as input parameters and output results. Every operand has applicable devices, such as X, Y, D, SM, SR, and the device can be assigned to a symbol according to the data type of the symbol. _1 Before using the instructions, please be sure that you understand the devices, symbols and the function of instructions sufficiently.
You can also refer to the Appendices for a quick reference of the special auxiliary relays (SM), special data registers (SR), standard instructions (sorted by alphabet), and error codes. 1.2 Categories of Standard Instructions 1-2 Categories Description Ladder Instructions Basic instructions frequently used in ladder diagram programming such as LD, LDP, AND, OR, OUT, and etc Comparison instructions Comparisons such as =, , >, >=, Arithmetic instructions Using binary numbers or binary-coded decimal numbers to add, subtract, multiply, or divide.
Data conversion instructions Converting the binary-coded decimal number into the binary number, and converting the binary number into the binary-coded decimal number Data transfer instructions Transfer the specified data Jump instructions The program jumps. Program execution instructions Enabling or disabling the interrupt I/O refreshing instructions Refreshing the I/O. Convenience instructions Instructions which are applied to the counters, the teaching timers, the special timers, and etc. Logic instructions Logical operations such as logical addition, logical multiplication, and etc.
Rotation instructions Rotating/Shifting the specified data Basic instructions Timer instructions and counter instructions Shift instructions Shifting the specified data Data processing instructions 16-bit data processing such as decoding and encoding. Structure creation instructions Nested loops Module instructions Reading the data from the special module and writing the data into the special module Floating-point number instructions Floating-point number operations Real-time clock instructions Reading/Writing, adding/subtracting and comparing the time Peripheral instructions I/O points connected to the peripheral