AH500 Programming Manual 3.1 Instructions Instructions used in the AH500 series PLC include basic instructions and applied instructions. 3.1.1 Basic Instructions 3.1.2 Applied Instructions 3-2 Classification Description Contact instructions Loading the contact, connecting the contact in series, connecting the contact in parallel, and etc.
Connection instructions Storing and reading the operation result Output instructions Bit device output; pulse output Master control Instructions Setting and resetting the master control Rising-edge/Falling-edge detection contact instructions Triggering the instructions that load the contact, connect the contacts in series, and connect the contacts in parallel Rising-edge/Falling-edge output instructions Bit device output Other instructions Other instructions API Classification Description 0000~0065 Comparison instructions Comparisons such as =, , >, >=, 0100~0118 Arithmetic instructions Using binary numbers or binary-coded decimal numbers to add, subtract, multiply, or divide.
0200~0219 Data conversion instructions Converting the binary-coded decimal number into the binary number, and converting the binary number into the binary-coded decimal number 0300~0310 Data transfer instructions Transfer the specified data 0400~0402 Jump instructions The program jumps. 0500~0502 Program execution instructions Enabling or disabling the interrupt 0600 I/O refreshing instructions Refreshing the I/O. 0700~0708 Convenience instructions Instructions which are applied to the counters, the teaching timers, the special timers, and etc. 0800~0817 Logic instructions Logical operations such as logical addition, logical multiplication, and etc.
0900~0904 Rotation instructions Rotating/Shifting the specified data 1000~1004 Basic instructions Timer instructions and counter instructions 1100~1115 Shift instructions Shifting the specified data 1200~1223 Data processing instructions 16-bit data processing such as decoding and encoding.
1300~1302 Structure creation instructions Nested loops 1400~1401 Module instructions Reading the data from the special module and writing the data into the special module 1500~1524 Floating-point number instructions Floating-point number operations 1600~1606 Real-time clock instructions Reading/Writing, adding/subtracting and comparing the time 1700~1704 Peripheral instructions I/O points connected to the peripheral 1800~1812 Communication instructions Controlling the peripheral though communication 1900~1905 Other instructions Instructions which are different from those mentioned above