Home > Software engineering >  Consult ace, online, etc
Consult ace, online, etc

Time:09-18

I have here a equipment, 485 interface, and then I bought a 485 turn usb converter (victory for UDC - 2225), two lines and equipment, respectively, T/R + in converter and T/R -- - after connection, opened by a serial port debug tool, no response, manufacturers give command to see pictures, but not too will use, is sending the AA, the return address? Try to sent without any response?


Please expert advice, online, etc...

CodePudding user response:

The building Lord, you still let manufacturers to provide some sample program,

CodePudding user response:

You need to send out the command will have reaction, and command and check code,

CodePudding user response:

refer to the second floor bakw response:
are you will need to send the command to go out, and the command and check code,

Thank you, but I do not know how to send commands, understand format? Can you give me some hints from the pictures, first get these... Thank you thank you

CodePudding user response:

Thousand times format specification, than a line of example code,

CodePudding user response:

Not clear on that?
Read
# AARV; R0; . ; R11: & lt; Cr>
! AARV; R0; Where v0; . ; The r11. V11: cs
Write
# AAWV; R0; . ; R11: & lt; Cr>
! AAWV; R0; Where v0; . ; The r11. V11: cs
AA said address
R * register ID (hexadecimal)
V * register values (text)
Cs check code, reference the modbus what of, can't see
Represents the ASCII 0 x0d, is a carriage return, as one character at a time, don't according to the sample "& lt; Cr>" To sent,
Agreement the bag don't omit some symbols, probably mean send package so
# 11 rv; R0; R1: AB
This package I write at random, hair must through, however, you get it,

CodePudding user response:

reference 4 floor zhao4zhong1 response:
thousand times format specification, than a line of code examples,
indeed, it is clearly an example

CodePudding user response:

reference 5 floor bakw reply:
written is not clear on that?
Read
# AARV; R0; . ; R11: & lt; Cr>
! AARV; R0; Where v0; . ; The r11. V11: cs
Write
# AAWV; R0; . ; R11: & lt; Cr>
! AAWV; R0; Where v0; . ; The r11. V11: cs
AA said address
R * register ID (hexadecimal)
V * register values (text)
Cs check code, reference the modbus what of, can't see
Represents the ASCII 0 x0d, is a carriage return, as one character at a time, don't according to the sample "& lt; Cr>" To sent,
Agreement the bag don't omit some symbols, probably mean send package so
# 11 rv; R0; R1: AB
This package I write at random, hair must through, however, you get it,
thank you thank you, I'm thinking, I also am & lt; Cr> This kind of don't know should shouldn't put & lt;> Also keep the

CodePudding user response:

The
reference 7 floor weixin_41896351 response:
.....
Thank you thank you, I'm thinking, I am also & lt; Cr> This kind of don't know should shouldn't put & lt;> Also keep the

Still wondering what, try then know ah,
Obviously "& lt; Cr>" As a whole, "a carriage return," said there should be no & lt; in the sequence of bytes> ,
Even if respectively to try & lt;> , and there is no & lt;> What of, don't you will have a loss?

CodePudding user response:

refer to the eighth floor Chen8013 response:
Quote: refer to 7th floor weixin_41896351 response:

......
Thank you thank you, I'm thinking, I am also & lt; Cr> This kind of don't know should shouldn't put & lt;> Also keep the

Still wondering what, try then know ah,
Obviously "& lt; Cr>" As a whole, "a carriage return," said there should be no & lt; in the sequence of bytes> ,
Even if respectively to try & lt;> , and there is no & lt;> What of, don't you will have a loss?

Actually here & lt;> Said bacchus paradigm of mandatory, I guess,

CodePudding user response:

You two didn't accurately seize the user's (

CodePudding user response:

reference 4 floor zhao4zhong1 response:
thousand times format specification, than a line of code examples,

I think I have caught the "pain points" this sentence,

CodePudding user response:

11 references zhao4zhong1 response:
Quote: refer to 4th floor zhao4zhong1 response:

Thousand times format specification, than a line of example code,

I think I have caught the "pain points", this sentence


You let people more hurt

CodePudding user response:

refer to 12 floor bakw reply:
Quote: reference 11 floor zhao4zhong1 response:

Quote: refer to 4th floor zhao4zhong1 response:

Thousand times format specification, than a line of example code,

I think I have caught the "pain points", this sentence


You let people more hurt

To find a factory remove pain to example code,

CodePudding user response:

reference 13 floor zhao4zhong1 reply:
Quote: refer to 12 floor bakw reply:

Quote: refer to the 11 floor zhao4zhong1 response:

Quote: refer to 4th floor zhao4zhong1 response:

Thousand times format specification, than a line of example code,

I think I have caught the "pain points", this sentence

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull