S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378 8-1
8: INSTRUCTIONS/FUNCTION BLOCKS REFERENCE
Introduction
The SmartAXIS provides dedicated instruction set for each programming language.
The instructions for ladder programs are divided into basic instructions, which perform sequencing, and advanced instructions,
which perform moves, comparisons, Boolean computations, binary arithmetic operations, bit shifts, and other operations. For
details, see the SmartAXIS Ladder Programming Manual.
A series of function blocks are provided for FBD programming such as logical operation function blocks that perform logical
operations, timer/counter function blocks to perform processing using timers and counter devices, and pulse output function
blocks that perform pulse output.
Ladder Program Instructions List
This section lists the ladder program instructions and describes their functions divided into basic instructions and advanced
instructions.
Basic Instruction List
Symbol Name Function
AND And Series connection of NO contact
AND LOD And Load Series connection of circuit blocks
ANDN And Not Series connection of NC contact
BPP Bit Pop Restores the result of bit logical operation which was saved temporarily
BPS Bit Push Saves the result of bit logical operation temporarily
BRD Bit Read Reads the result of bit logical operation which was saved temporarily
CC= Counter Comparison (=) Equal to comparison of counter current value
CC>= Counter Comparison (>=) Greater than or equal to comparison of counter current value
CDP Dual Pulse Reversible Counter Dual pulse reversible counter (0 to 65,535)
CDPD
Double-word Dual Pulse
Reversible Counter
Double-word dual pulse reversible counter (0 to 4,294,967,295)
CNT Adding Counter Adding counter (0 to 65,535)
CNTD Double-word Adding Counter Double-word adding counter (0 to 4,294,967,295)
CUD
Up/Down Selection
Reversible Counter
Up/down selection reversible counter (0 to 65,535)
CUDD
Double-word Up/Down
Selection Reversible Counter
Double-word up/down selection reversible counter
(0 to 4,294,967,295)
DC= Data Register Comparison (=) Equal to comparison of data register value
DC>= Data Register Comparison (>=) Greater than or equal to comparison of data register value
END End Ends a program
JEND Jump End Ends a jump instruction
JMP Jump Jumps a designated program area
LOD Load Stores intermediate results and reads contact status
LODN Load Not Stores intermediate results and reads inverted contact status
MCR Master Control Reset Ends a master control
MCS Master Control Set Starts a master control
OR Or Parallel connection of NO contact
OR LOD Or Load Parallel connection of circuit blocks
ORN Or Not Parallel connection of NC contact
OUT Output Outputs the result of bit logical operation
OUTN Output Not Outputs the inverted result of bit logical operation
RST Reset Resets output, internal relay, or shift register bit
SET Set Sets output, internal relay, or shift register bit
SFR Shift Register Forward shift register