Table of Contents
vii
Example ....................................................................................................................................................... 79
Basic Instruction Details ...................................................................................................................................... 80
STR, STN..................................................................................................................................................... 80
AND, ANN, (ADN) ..................................................................................................................................... 81
OR, ORN...................................................................................................................................................... 82
OUT, SET, RST ........................................................................................................................................... 83
NOT ............................................................................................................................................................. 84
STR DIF, STR DFN, AND DIF, AND DFN, OR DIF, OR DFN................................................................ 85
ANB, ORB ................................................................................................................................................... 86
MCS, MCR .................................................................................................................................................. 87
Timer/Counter/SR Instruction Details.................................................................................................................. 88
TIM, SST ..................................................................................................................................................... 88
TOF.............................................................................................................................................................. 90
UC, DC......................................................................................................................................................... 91
RCT.............................................................................................................................................................. 93
UDC ............................................................................................................................................................. 94
SR................................................................................................................................................................. 96
Comparison Instruction Details............................................................................................................................ 98
=, <>, >, >=, <=, < ....................................................................................................................................... 98
Substitution, Increment, Decrement Instruction Details ...................................................................................... 99
LET, DLET .................................................................................................................................................. 99
INC, DINC, INCB, DINCB ....................................................................................................................... 100
DEC, DDEC, DECB, DDECB................................................................................................................... 101
Arithmetic Instruction Details............................................................................................................................ 102
ADD, DADD, ADDB, DADDB ................................................................................................................ 102
SUB, DSUB, SUBB, DSUBB.................................................................................................................... 104
MUL, DMUL, MULB, DMULB ............................................................................................................... 105
DIV, DDIV, DIVB, DDIVB ...................................................................................................................... 106
ADC, DADC, ADCB, DADCB ................................................................................................................. 107
SBC, DSBC, SBCB, DSBCB..................................................................................................................... 109
ABS, DABS, NEG, DNEG, NOT, DNOT................................................................................................. 111
Logic Instruction Details.................................................................................................................................... 112
AND, DAND ............................................................................................................................................. 112
OR, DOR.................................................................................................................................................... 113
XOR, DXOR.............................................................................................................................................. 114
XNR, DXNR.............................................................................................................................................. 115
Rotation Instruction Details ............................................................................................................................... 116
RLC, DRLC ............................................................................................................................................... 116
RRC, DRRC............................................................................................................................................... 117
ROL, DROL............................................................................................................................................... 118
ROR, DROR .............................................................................................................................................. 120
SHL, DSHL................................................................................................................................................ 121
SHR, DSHR ............................................................................................................................................... 123
Word Conversion Instruction Details................................................................................................................. 124
BCD, DBCD, BIN, DBIN.......................................................................................................................... 124
XCHG, DXCHG ........................................................................................................................................ 125
SEG ............................................................................................................................................................ 126
ENCO, DECO............................................................................................................................................ 127
DIS, UNI .................................................................................................................................................... 129
Bit Conversion Instruction Details..................................................................................................................... 131
BSET, BRST, BNOT, BTST ..................................................................................................................... 131
SUM........................................................................................................................................................... 133
SC, RC, CC ................................................................................................................................................ 134
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...