ҳ >> >>˾ >> dz̸RS-485ͨѶЭ
详细内容

dz̸RS-485ͨѶЭ

dz̸RS-485ͨѶЭ

RS-485׼ֻԽӿڵĵ涨漰Ӳ»Э飻ˣҪRS-485ӦĻϽԼӦòͨЭ顣
RS-485 ׼ǻPC UART оƬϵĴʽˣͨѶЭҲ涨ݵԪĸʽ8-N-1 ʽ1 λ߼0 ʼλ6/7/8 λλ1 λѡ(ODD)/ż(EVEN)Уλ1/2 λ߼1 ֹͣλ
ĿǰRS-485ڹŷdz㷺Ӧã򣬱繤ҵơͨѶ¥ȶԼRS-485 ӿڵ·豸ǣЩ豸õûЭ(οOSI 7 ṹ)ͬЩ豸֮䲢ֱͨѶ磬ܶRS-485 ӿڵ·û豸ԼƶļͨѶЭ飬ֱȡModBus Э(AscII/RTU ģʽ)еһֹܣڵͨѶ򣬵ǰִҵ׼У䲼а豸ĸͨѶԼCDTSC-1801u4FDNP3.0 Լ1995 IEC60870-5-101 Լ1997 Ĺ101 ԼĹڰ汾DL/T634-1997ԼڵӦУڴij̲ö๦ܱܵͨѶԼ(DL/T645-1997)
潫ֱModBus Э(RTU ģʽ)๦ܱܵͨѶԼ(DL/T645-1997)мܣڴҶӦòͨЭһĸ⡣
һModBus Э(RTU ģʽ)
½Modbus RTU ЭĻɡҪص㡢涨һͨѶЭĻģʽҪϸModBus Э飬ûԴModBus-IDA Э (www.modbus.org) վؾݡ
1ѯӦ
ModBus ЭѭѯӦģʽͼ 1-23 ʾ
ѯϢеĹܴ֮ѡеĴ豸Ҫִкֹܡݶΰ˴豸ҪִйܵκθϢ繦ܴ03 Ҫ豸ּĴǵݡݶαҪ֮豸ϢӺμĴʼҪļĴΪ豸ṩһ֤ϢǷȷķ
豸һӦӦϢеĹܴڲѯϢеĹܴӦݶΰ˴豸ռϣĴֵ״̬дܴ޸ָӦϢǴģͬʱݶΰ˴ϢĴ롣豸ȷϢǷá


2RTU ģʽ
RTUģʽĸʽ

ַܴ1...nCRCֽCRCֽ

ΪModbusRTUԶն˵ԪģʽͨţϢеÿ8Bitֽڰ4BitʮַַʽҪŵǣͬIJ£ASCII ʽ͸ݡ
ϵͳ
18 λƣʮ0...9A...F
2Ϣеÿ8 λһʮַÿֽڵλ
a. 1 ʼλ
b. 8 λСЧλȷͣ
c. 1 żУλУޣ
d. 1 ֹͣλУʱ2 BitУʱ
3CRC(ѭ߳)
3 RTU ֡
ʹRTU ģʽϢҪ3.5 ַʱͣټʼ粨¶ַʱ䣬ʵֵ(ͼ 1-24 T1-T2-T3-T4 ʾ)ĵһַʹõĴַʮƵ0...9,A...F豸ߣͣټʱ䡣һ򣨵ַ򣩽յÿ豸жǷԼġ
һַ֮һ3.5 ַʱͣٱ궨ϢĽһµϢڴͣٺʼ
Ϣ֡Ϊһת䡣֮֡ǰг1.5 ַʱͣ٣豸ˢ²ϢٶһֽһϢĵַͬأһϢС3.5 ַʱڿʼյ豸ΪǰһϢ⽫һΪCRC ֵȷġһ͵RTUϢ֡ʾ

ʼλ豸ַܴCRCУ
T1-T2-T3-T48Bit8Bitn8Bit16BitT1-T2-T3-T4

4 ַ
ַ0㲥ַʹеĴ豸ʶModbusЭڸˮƽ磬㲥ܲʽ档
5 Ӧ
豸ӦʱʹùָܴʾӦ()ijִӦӦ豸ӦӦĹܴ롣Ӧ豸һͬĴ룬ҪλΪ߼1һ豸豸ϢҪһ鱣ּĴ¹ܴ룺
0 0 0 0 0 0 1 1 ʮ03H
Ӧ豸ӦͬĹܴ롣Ӧأ
1 0 0 0 0 0 1 1 ʮ83H
ܴ޸⣬豸һصĴŵӦϢУܸ豸ʲô
豸ӦóõӦ󣬵͵ĴطϢϷԴ豸ϢԱ
豸豸ϢӵϢ豸ڽִɹܴΪļĴַҪĿʵֽ磬豸Ҫ豸ȡһ鱣ּĴܴ03ָʼĴԼҪļĴ豸дһ豸ļĴܴ10ʮƣָҪдʼĴԼҪдļĴֽҪдݡ
ϸModBus Э飬ûԴModBus-IDA Э (www.modbus.org) վЭݡ
๦ܱܵͨѶԼ(DL/T645-1997)
ڽա㽭Ϻĵ̲ö๦ܱܵͨѶԼ(DL/T645-1997)ΪԶ̿ͨѶЭ飻һRS-485 ʵӦõҵ׼
1ͨѶֽڸʽ

0
D0
D1
D2D3D4D5D6D7P1
ʼλ08λD0D7żУλֹͣλ1

ͷӵ͵λһʼλһֹͣλһżУλ8 λλܹ11λ
2ͨѶ֡ʽ

֡

ʼ

ַ

֡

ʼ

У
68HA0~A568HC
L
DATACS
16H

ַA0A5ַλ999999999999H ʱΪ㲥ַͬʱӿյһ֡ʱַͬʱӦӦȡ߿ȨӦ֮Ӧ߿Ȩ
룺ִвݡ
У룺֡ʼֽڶֵͣ
ǰֽڣڷϢ֮ǰ1 ֽFEHԻѽշ
򣺷ʱݼ33Hʱݼ33H
ûڹұ׼֣ලŲѯڶ๦ܱܵͨѶԼ(DL/T645-1997)ȡRS-485 ʵֵͨѶԼľݡ
Ϊת£Դ硣תĿڴؼ֪ʶȨԭУ漰Ȩϵɾлл


ϵ绰155-8889-0868           ϵ䣺15588890868@163.com            Q Q2786024569    

ַи·ͲƸAB805-3-1

ţ³ICP18032404-1

技术支持 ȫ | 管理登录