vi D320 PLC User's Manual
DIN Rail Mounting...................................................................................................................................... 26
Unit Installation Height ............................................................................................................................... 27
Expansion Cable Connection....................................................................................................................... 27
Power Supply Wiring .......................................................................................................................................... 28
Power wiring................................................................................................................................................ 28
Grounding.................................................................................................................................................... 28
Chapter 5: CPU Operation And Memory 29
Terminology ........................................................................................................................................................ 30
Overview of CPU Operation Mode ..................................................................................................................... 31
What Is the CPU Operation Mode? ............................................................................................................. 31
Run Mode (operating).................................................................................................................................. 31
Stop Mode ................................................................................................................................................... 31
Error Mode .................................................................................................................................................. 31
CPU Processing Procedure .................................................................................................................................. 32
Program Processing Procedure .................................................................................................................... 32
Introduction to Registers...................................................................................................................................... 33
Internal/External Address Designation ................................................................................................................ 33
Expression Example ............................................................................................................................................ 35
Double Mode Address Designation..................................................................................................................... 36
Absolute Address Designation............................................................................................................................. 37
I/O Address Designation...................................................................................................................................... 38
Digital I/O Address Designation.................................................................................................................. 38
Analog I/O Address Designation................................................................................................................. 38
Special Internal Addresses................................................................................................................................... 39
Timer/Counter (TC0-255) ................................................................................................................................... 44
Chapter 6: Instructions 47
Basic Instructions................................................................................................................................................. 48
Timer/Counter Instructions.................................................................................................................................. 49
Comparison Instructions...................................................................................................................................... 50
Substitution, Increment/Decrement Instructions.................................................................................................. 50
Arithmetic Instructions ........................................................................................................................................ 51
Logic Instructions ................................................................................................................................................ 52
Rotation Instructions............................................................................................................................................ 52
Word Conversion Instructions ............................................................................................................................. 53
Bit Conversion Instructions ................................................................................................................................. 54
Transfer Instructions............................................................................................................................................ 55
Block Processing Instructions.............................................................................................................................. 56
How to Read the Description of Instructions....................................................................................................... 57
Instruction.................................................................................................................................................... 57
Ladder.......................................................................................................................................................... 57
Description................................................................................................................................................... 58
Example....................................................................................................................................................... 59
Basic Instruction Details...................................................................................................................................... 59
STR, STN .................................................................................................................................................... 59
AND, ANN, (ADN)..................................................................................................................................... 60
OR, ORN ..................................................................................................................................................... 61
OUT, SET, RST........................................................................................................................................... 62
NOT............................................................................................................................................................. 63
STR DIF, STR DFN, AND DIF, AND DFN, OR DIF, OR DFN ............................................................... 64
ANB, ORB................................................................................................................................................... 65
MCS, MCR.................................................................................................................................................. 66
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com