Basic Instruction
Basic Instruction
Application Instruction:
Loop control Transmission comparison Four fundamental operations of arithmetic Rotation and displacement
Data operation High speed processing Convenience instruction External I/O display Serial I/O
Communication instruction Floating operation Additional instruction Positioning control Perpetual calendar
Gray code Matrix operation Contact type logic operation Contact type comparison instruction Specific bit
control Floating point contact type comparison
Basic Instruction:
General:
LD Load A contact
LDI Load B contact
AND Series connection- A contact
ANI Series connection- B contact
OR Parallel connection- A contact
ORI Parallel connection- B contact
ANB Series connection (Multiple circuits)
ORB Parallel connection (Multiple circuits)
MPS Store the current result of the internal PLC operations
MRD Reads the current result of the internal PLC operations
MPP Pops (recalls and removes) the currently stored result
Output:
OUT Output coil
SET Latch (ON)
RST Clear the contacts or the registers
Timers, counters:
96 TMR 16-bit timer
97 CNT 16-bit counter
97 DCNT 32-bit counter
258 ATMR 16-bit contact type timer
Main control:
MC Master control Start
MCR Master control Reset
Rising-edge/Falling-edge detection:
90 LDP Rising-edge detection operation
91 LDF Falling-edge detection operation
92 ANDP Rising-edge series connection
93 ANDF Falling-edge series connection
94 ORP Rising-edge parallel connection
95 ORF Falling-edge parallel connection
Rising-edge/Falling-edge output:
89 PLS Rising-edge output
99 PLF Falling-edge output
End:
END Program end
Other:
NOP No operation
98 INV Inverting operation
P Pointer
I Interrupt program marker
NP Negative contact to positive contact
Step ladder:
STL Step transition ladder start command
RET Step transition ladder return command
Applied Instruction:
Loop control:
00 CJ Conditional jump
01 CALL Call subroutine
02 SRET Subroutine return
03 IRET Interrupt return
04 EI Enable interrupts
05 DI Disable interrupts
06 FEND First end
07 WDT Watchdog timer refresh
08 FOR Start of FOR-NEXT loop
09 NEXT End of FOR-NEXT loop
Transmission comparison:
10 CMP Compare
11 ZCP Zone compare
12 MOV Data move
13 SMOV Shift move
14 CML Compliment
15 BMOV Block move
16 FMOV Fill move
17 XCH Data exchange
18 BCD Convert BIN data into BCD
19 BIN Convert BCD data into BIN
29 NEG Negation
114 MUL16 / MUL32 16-bit / 32-bit multiplication
Data operation:
40 ZRST Resets a range of device specified
41 DECO 8 → 256 bits decoder
42 ENCO 256 → 8 bits encoder
43 SUM Sum of ON bits
44 BON Check specified bit status
45 MEAN Mean value
46 ANS Alarm device output
47 ANR Alarm device reset
48 SQR Square root of BIN
49 FLT Convert BIN integer to binary floating point
Convenience instruction:
60 IST Manual/Auto control
61 SER Search a data stack
62 ABSD Absolute drum sequencer
63 INCD Increment drum sequencer
64 TTMR Teaching timer
65 STMR Special timer
66 ALT On/Off alternate command
67 RAMP Ramp signal
68 DTM Data transform and move
69 SORT Data sort
Serial I/O:
78 FROM Read special module CR data
79 TO Special module CR data write in
80 RS Serial data communication
81 PRUN Octal number system transmission
82 ASCI Convert HEX to ASCII
83 HEX Convert ASCII to HEX
84 CCD Check code
85 VRRD Potentiometer read
86 VRSC Potentiometer scale
87 ABS Absolute value
88 PID PID calculation
Communication instruction:
100 MODRD MODBUS data Read
101 MODWR MODBUS data write in
102 FWD VFD-A series drive forward instruction
103 REV VFD-A series drive reverse instruction
104 STOP VFD-A series drive stop instruction
105 RDST VFD-A series drive status read
106 RSTEF VFD-A series drive abnormal reset
107 LRC LRC error check
108 CRC CRC error check
113 ETHRW Ethernet communication
150 MODRW MODBUS data read/write in
206 ASDRW ASDA servo drive R/W
295 DMVRW DMV communication command
Floating operation:
110 DECMP Binary floating point comparison
111 DEZCP Binary floating point zone comparison
112 DMOVR Floating point data Move
116 DRAD Degree → Radian
117 DDEG Radian → Degree
118 DEBCD Convert binary floating point to decimal floating point
119 DEBIN Convert decimal floating point to binary floating point
120 DEADD Binary floating point addition
121 DESUB Binary floating point subtraction
122 DEMUL Binary floating point multiplication
123 DEDIV Binary floating point division
124 DEXP Perform exponent operation of binary floating point
125 DLN Perform natural logarithm operation of binary floating point
126 DLOG Perform logarithm operation of binary floating point
127 DESQR Square root of binary floating point
128 DPOW Perform power operation of binary floating point
129 INT Convert binary floating point to BIN integer
130 DSIN Sine operation of binary floating point
131 DCOS Cosine operation of binary floating point
132 DTAN Tangent operation of binary floating point
133 DASIN Arcsine operation of binary floating point
134 DACOS Arccosine operation of binary floating point
135 DATAN Arctangent operation of binary floating point
136 DSINH Hyperbolic sine operation of binary floating point
137 DCOSH Hyperbolic cosine operation of binary floating point
138 DTANH Hyperbolic tangent operation of binary floating point
172 DADDR Floating point number addition
173 DSUBR Floating point number subtraction
174 DMULR Floating point number multiplication
175 DDIVR Floating point number division
Additional instruction:
143 DELAY Command delay
144 GPWM General pulse width modulation output
145 FTC Fuzzy temperature control
146 CVM Valve control
147 SWAP Swap high/low byte
148 MEMR Data backup MEMORY read
149 MEMW Data backup MEMORY write in
151 PWD Input pulse width detection
152 RTMU Start to measure the execution tine of I interrupt
153 RTMD End to measure the execution tine of I interrupt
154 RAND Random value
168 MVM Mask and combine designated bits
176 MMOV Magnifying transfer with sign extension
177 GPS GPS data receiving
178 DSPA Solar cell positioning
179 WSUM Sum of multiple devices
196 HST High speed timer
202 SCAL Proportional calculation
203 SCLP Parameter proportional calculation
205 CMPT Compare table
207 CSFO Catch speed and proportional output
Positioning control:
155 DABSR ABS current value read
156 ZRN Zero point return
157 PLSV Variable speed pulse output
158 DRVI Drive to increment
159 DRVA Drive to absolute
191 DPPMR 2-axis relative position arc interpolation
192 DPPMA 2-axis absolute position arc interpolation
193 DCIMR 2-axis relative point-to-point movement
194 DCIMA 2-axis absolute point-to-point movement
195 DPTPO Single axis planned table pulse output
197 DCLLM Close loop position control
198 DVSPO Variable speed pulse output
199 DICF Immediately change frequency
Perpetual calendar:
160 TCMP Time compare
161 TZCP Time zone compare
162 TADD Time addition
163 TSUB Time subtraction
166 TRD Time data read
167 TWR Time data write in
169 HOUR Hour meter
Gray code:
170 GRY Convert BIN to Gray code
171 GBIN Convert Gray code to BIN
Matrix operation:
180 MAND Matrix AND
181 MOR Matrix OR
182 MXOR Matrix XOR
183 MXNR Matrix NOR
184 MINV Matrix inverse
185 MCMP Matrix compare
186 MBRD Matrix bit read
187 MBWR Matrix bit write
188 MBS Matrix bit shift
189 MBR Matrix bit rotate
190 MBC Matrix bit state count