EasyManua.ls Logo

TECO JSDG2S Series - Page 516

TECO JSDG2S Series
718 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...
8-11
Communication Data Structure
ASCII Mode
Code Name Content Description
STX
Communication
Starts
3AH; Character ’:‘
ADR
Communication
Address
1-byte includes 2 ASCII Codes
For the communication address range is 1 ~ 254 must be
converted to hexadecimal first;
For example, the Driver ID is 20, hexadecimal is 14H,
ADR = ’1‘ , ‘4’ ’1‘ = 31H , ‘0’ = 34H
CMD
Command
Instruction
1-byte includes 2 ASCII Codes
Common command instruction codes are as follows: ‘0’3;H
(Read Register), ‘0’6’H (Write Single Register), ‘0’’8’H
(Diagnostic Function), ‘1’’0’H (Write Multiple Registers)
DATA(n-1)
DATA(0)
Data Character
n-word = 2n-byte (consists of 4n ASCII Codes)
n30
Data Character Format is determined by the Command
Instruction Code
LRC Check Digit 1-byte includes 2 ASCII Codes
END 1 End Code 1 (CR)
0DH
Character ' \ r'
END 0 End Code 0 (LF)
0AH
Character ' \ n'
RTU Mode
Code Name Content Description
STX
Communication
Starts
More than 10ms of Quiescent Time
ADR
Communication
Address
1-byte
For the communication address range is 1 ~ 254 must be
converted to hexadecimal first;
For example, the Driver ID is 20, hexadecimal is 14H, and
ADR = ’14H’
CMD
Command
Instruction
1-byte
Common command instruction codes are as follows: 03H
(Read Register), 06H (Write Single Register), 08H
(Diagnostic Function), 10H (Write Multiple Registers)
DATA(n-1)
DATA(0)
Data Character
n-word = 2n-byte
n30
Data Character Format is determined by the Command
Instruction Code
CRC-Low
Check Digit - Least
Significant Bit
1-byte
CRC-High
Check Digit - Most
Significant Bit
1-byte
END 0 End Code 0 More than 10ms of Quiescent Time

Table of Contents

Related product manuals