EasyManuals Logo

Xinje XD Series User Manual

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
Page #260 background imageLoading...
Page #260 background image
259
E.g.: Byte 0X5B will be encoded as two characters: 0x35 and 0x42(ASCII code 0x35 ="5"
0x42 ="B" ).
ASCII mode frame check domain
Longitudinal Redundancy Checking (LRC)
ASCII mode frame description:
Start mark
Modbus no.
Function code
data
LRC
End mark
1 character
2 characters
2 characters
0~252*2
characters
2 characters
2 characters
0x3A
0x0D
0x0A
Format
STX (3AH)
Start mark=3AH
Address code high bit
Communication position(no)
Consist of 2 ASCII codes
Address code low bit
Function code high bit
Function code(command)
Consist of 2 ASCII codes
Function code low bit
Instruction start ID
Command start bit
Consist of 4 ASCII codes
Instruction start ID
Instruction start ID
Instruction start ID
Data length
Length from start to end
Consist of 4 ASCII codes
Data length
Data length
Data length
LRC check high bit
LRC check code
Consist of 2 ASCII codes
LRC check low bit
END high bit
End mark
END Hi=CR(0DH)END Lo=CR(0AH)
END low bit
2. Communication address
00H
All Xinje XC series PLC broadcast— slave stations do not response.
01H
Communicate with address 01H PLC.
0FH
Communicate with address 15H PLC.
10H
Communicate with address 16H PLC.
And so on, up to 254(FEH).
3. Function and DATA
Function
code
Function
Corresponding modbus
01H
Read coil
COLR
02H
Read input coil
INRR
03H
Read register
REGR
04H
Read input register
INRR
05H
Write single coil
COLW
06H
Write single register
REGW
10H
Write multiple
registers
MRGW
0FH
Write multiple coils
MCLW
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series

Questions and Answers:

Question and Answer IconNeed help?

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

Xinje XD Series Specifications

General IconGeneral
Input Voltage24V DC
Storage Temperature-20°C to 70°C
Protection ClassIP20
TypePLC
SeriesXD
Programming LanguageLadder Logic, Instruction List
Communication InterfaceRS232, RS485
Power Supply24V DC
Digital InputsAvailable (number varies by model)
Digital OutputsAvailable (number varies by model)
Analog InputsAvailable (number varies by model)
Analog OutputsAvailable (number varies by model)
Output TypeRelay, Transistor
Number of InputsVaries by model (see Digital Inputs and Analog Inputs)
Number of OutputsVaries by model (see Digital Outputs and Analog Outputs)
Operating Temperature0°C to 50°C
Humidity5% to 95% (non-condensing)