AH500 Programming Manual
3-2
3.1 Instructions
Instructions used in the AH500 series PLC include basic instructions and applied instructions.
3.1.1 Basic Instructions
Contact instructions
Loading the contact, connecting the contact in series, connecting
the contact in parallel, and etc.
Storing and reading the operation result
Bit device output; pulse output
Master control
Instructions
Setting and resetting the master control
detection contact
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
3.1.2 Applied Instructions
Comparisons such as =, <>, >, >=, <, <=, and etc.
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
Data transfer instructions
Transfer the specified data
0500~0502
Program execution
instructions
Enabling or disabling the interrupt
I/O refreshing instructions
0700~0708
Miscellaneous
instructions
Instructions which are applied to the counters, the
teach mode timers, the special timers, and etc.
0800~0817 Logic instructions
Logical operations such as logical addition, logical
multiplication, and etc.
Rotating/Shifting the specified data
1000~1004
Timer and counter
instructions
Timer instructions and counter instructions
Shifting the specified data
1200~1223
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
I/O points connected to the peripheral
1800~1812
Communication
instructions
Controlling the peripheral though communication
Instructions which are different from those