EasyManua.ls Logo

TECO JSDAP Series - Page 214

TECO JSDAP Series
255 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...
7-6
(3) Write a word to drive Function code format: W5XxYyZzSs
Xx : Address for write data ( Unit :ByteHex representation)
YyZz : Writes the data contents ( Unit :word, Hex representation)
Ss : Check SumSs =’W’+’5’+’X’+’x’+’Y’+’y’+’Z’+’z’ ( Unit :Byte, Hex representation)
Ex3Write data 0008H to register 30H
( ConvertW5300008into ASCII codes )
Check Sum=57H+35H+33H+30H+30H+30H+30H+38H=1B7H
W 5 3 0 0 0 0 8
Obtain Function code for write data 0008H to register 30H : W5300008B7
Drive response message :%(ASCII code :25H)
* When function code incorrect , drive response :!(ASCII code: 21H )
(4) Write consecutive 2 words to drive Function code format: M5NnXxYyAaBbSs
Nn : Address for write data( Unit :ByteHex representation)
XxYy : Writes the data contents of address Nn+1 ( Unit :WordHex representation)
AaBb : Writes the data contents of address Nn ( Unit :WordHex representation)
Ss : Check Sum , Ss =’M’+’5’+’N’+’n’+’X’+’x’+’Y’+’y’+’A’+’a’+’B’+’b’ ( Unit :ByteHex representation)
Ex4: Write data 0002 000BH to register 60H
( ConvertM5600002000Binto ASCII codes )
Check Sum=4DH+35H+36H+30H+30H+30H+30H+32H+30H+30H+30H+42H =27CH
M 5 6 0 0 0 0 2 0 0 0 B
Obtain Function code for write data 0002000BH to register 60HM5600002000B7C
Drive response message:%(ASCII code :25H )
* When function code incorrect , drive response :!(ASCII code: 21H )

Table of Contents

Other manuals for TECO JSDAP Series

Related product manuals