Chapter 6 Instruction and Flag List
XBC E-Type Main Unit 6-1 Ver. 1
Chapter 6 Instruction and Flag List
6.1 Classifications of Instructions
Classification Instructions Details Remarks
Basic
Instructions
Contact Point LOAD, AND, OR related Instructions
Unite AND LOAD, OR LOAD, MPUSH, MLOAD, MPOP
Master Control MCS, MCSCLR
Output
OUT, SET, RST, 1 Scan Output Instruction, Output Reverse
Instruction (FF)
Sequence/Last-
input Preferred
Step Control Instruction ( SET Sxx.xx, OUT Sxx.xx )
Non-Process NOP
TON, TOFF, TMR, TMON, TRTG
Counter CTD, CTU, CTUD, CTR
Application
Instructions
Data Transfer Transfers specified Data, Group, String
Converts BIN/BCD of specified Data & Group
Converts Integer/Real Number
Saves compared results in special relay
Saves compared results in BR. Compares Real Number, String &
Group. Compares 3 Operands
Increase/Decrease Increases or decreases specified data 1 by 1 4/8 Bits available
Rotate
Rotates specified data to the left and right,
including Carry
4/8 Bits available
Move Moves specified data to the left and right, word by word, bit by bit 4/8 Bits available
Exchange Exchanges between devices, higher & lower byte, group data
BIN Operation
Addition, Subtraction, Multiplication & Division for Integer/
Real Number, Addition for String, Addition & Subtraction for Group
BCD Operation Addition, Subtraction, Multiplication, Division.
Logic Operation
Logic Multiplication, Logic Addition, Exclusive OR, Exclusive NOR,
Group Operation
System Error Display, WDT Initialize, Output Control, Operation Stop, etc.
Data Process
Encode, Decode, Data Disconnect/Connect, Search, Align, Max.,
Min., Total, Average, etc.
Data Table Process Data Input/Output of Data Table
String Process
String related Convert, Comment Read, String Extract, ASCII
Convert, HEX Convert, String Search, etc.
Special Function
Trigonometric Function, Exponential/Log Function, Angle/ Radian
Convert, etc.
Data Control Max/Min Limit Control, Dead-zone Control, Zone Control
Time related Date Time Data Read/Write, Time Data Adjust & Convert
Loop FOR/NEXT/BREAK
Carry Flag Set/Reset, Error Flag Clear
Data Read/Write by BUSCON Direct Access
Interrupt related Interrupt Enable/Disable
Signal Reverse Reverse Integer/Real Signals, Absolute Value Operation
File related Block Read/Write/Compare/Convert, Flash data Transmission