EasyManua.ls Logo

Xinje XD Series - Page 291

Xinje XD 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
Loading...
290
value collected by PLC is stored from D0, and seven registers are stored in turn. However, the
value of the seven registers combination needs to be taken out and stored in D46 in the form
of decimal.
Through the data monitoring of PLC, ASCII codes in D0~D6 registers can be monitored as
follows:
Switch to decimal format and show as below:
By comparing the relationship between ASCII codes and decimal values, we can find the rule
that there is 48 difference between ASCII codes in D1, D3, D4, D5, D6 and decimal values.
The final decimal values are obtained by subtracting the values in registers by K48 and
multiplying by 10. The formula is as follows:
D46=(D1-48)*1+(D3-48)*0.1+(D4-48)*0.01+(D5-48)*0.001+(D6-48)*0.0001
D0 is a symbol bit. Looking up the table, we know that when D0 = K45, it represents a
negative value; when D0 = K43, it represents a positive value.
The ladder diagram is as follows:
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series