EasyManuals Logo

Xinje XDH Series User Manual

Xinje XDH Series
456 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 #327 background imageLoading...
Page #327 background image
326
(4) Download program into PLC, run PLC and set M0.
(5) From Free Monitor in the toolbar, we can see that D2 changes to be 30, it means
assignment is successful;
8-6 Program Example
If PLC needs to do complicated calculation (including plus and minus calculation), the
calculation will be used for many times, C language function is easy to use.
Example 1:
Calculation a= b/c + b*c+(c-3)*d
Method 1: use ladder chart:
Get the result of c-3
Get the result of three multiplication equations
Get the sum
Ladder chart only support two original operands, it needs many steps to get the result.
Free Monitor
tudonghoatoancau.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XDH Series and is the answer not in the manual?

Xinje XDH Series Specifications

General IconGeneral
BrandXinje
ModelXDH Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals