EasyManuals Logo
Home>Delta>Controller>DVP-SA2

Delta DVP-SA2 User Manual

Delta DVP-SA2
1006 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #26 background imageLoading...
Page #26 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
1-10
1.7 Fuzzy Syntax
Generally, the ladder diagram programming is conducted according to the up to down and left to
rightprinciple. However, some programming methods not following this principle still perform the
same control results. Here are some examples explaining this kind of fuzzy syntax.
Example 1:
X0 X2 X4
X5X3X1
Better method
OK method
LD
X0
LD
X0
OR
X1
OR
X1
LD
X2
LD
X2
OR
X3
OR
X3
ANB
LD
X4
LD
X4
OR
X5
OR
X5
ANB
ANB
ANB
The two instruction programs can be converted into the same ladder diagram. The difference
between Better and OK method is the ANB operation conducted by MPU. ANB instruction cannot
be used continuously for more than 8 times. If more than 8 ANB instructions are used continuously,
program error will occur. Therefore, apply ANB instruction after a block is made is the better
method to prevent the possible errors. In addition, its also the more logical and clearer
programming method for general users.
Example 2:
X0
X1
X2
X3
Good method
Bad method
LD
X0
LD
X0
OR
X1
LD
X1
OR
X2
LD
X2
OR
X3
LD
X3
ORB
ORB
ORB
The difference between Good and Bad method is very clear. With longer program code, the
required MPU operation memory increases in the Bad method. To sum up, following the general
principle and applying good / better method when editing programs prevents possible errors and
improves program execution speed as well.
Common Programming Errors
PLC processes the diagram program from up to down and left to right. When editing ladder
diagram users should adopt this principle as well otherwise an error would be detected by WPLSoft
when compiling user program. Common program errors are listed below:
OR operation upward is not allowed.
Reverse current
“Reverse current” exists.
Output should be connected on top of the circuit.

Table of Contents

Other manuals for Delta DVP-SA2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SA2 and is the answer not in the manual?

Delta DVP-SA2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SA2
CategoryController
LanguageEnglish

Related product manuals