help with scale and rs485

i have a bunch of the converters, but i'm going to wait and see what the phoenix contact guys say about sending the length in front of the actual data
 
i have a bunch of the converters, but i'm going to wait and see what the phoenix contact guys say about sending the length in front of the actual data


Hypothesis: the leading two-byte length is keeping the scale from parsing the query correctly, which is why you don't get a response.

That could be tested from the PC to scale.
 
ive done some experimenting and i've hooked up my laptop with the virtual com port & rs485 adapter.

my laptop and the PLC are able to send data back and forth.

i see the Q\r\n bytes in the PLC receive buffer, but never seems to make it to the scale.

when i just use the virtual com port to the scale i can send Q\r\n and get a weight back
 
Do you have another DLtech DT-9xxx converter? Because the scale is essentially a server, but because it is RS232 it is designed to be a point-to-point device. However, on the RS-485 network side of the DT-9xxx you can have multiple nodes. So if you have an extra DT-9xxx converter, you could put the PC on that network and have it send the Q\r\n string, and then the scale would respond and the PLC would see the scale's response. The only problem would be getting the PLC to ignore the Q\r\n string. Or instead of the Q\r\n you could have the PC send the "start to stream command" and then the PLC would see a continuous stream of data.

This is only an idea for bench testing. The right fix is to get the PLC to not put the two [00 03] bytes on the wire. I suspect the PLC is sending the entire string object, not just the string, and the string object comprises two items: a 16-bit integer length of the string ([00 03]), and the three characters of string data themselves (Q\r\n).

when i talked to the phoenix contact guys they said the extra data is the command for the module to do whatever.

so those bytes shouldn't be sent out.

i think the scale just doesnt like the adapter or something. i dont know what the prob is but it never receives the command or if it does it never sends it back.

when i send Q\r\n from my computer. the PLC sees it, but it must not be making it to the scale???

not sure
 
i have a zm405 indicator a load cell and a rs485 option card for the indicator.

i cant' find any manuals for the option card that tells about the serial communmication.

right now its sending back 17 dollar signs characters...
 
The PLCnext forum is very active, and monitored by Phoenix Contact. All questions get a response quickly. What forum are you referring to?
 
<LF>W<CR> Weight of the current scale is return. Standard response (displayed weight)

should i send

10,87,13

or 60,10,62,87,60,13,62

neither works but i dunno what the problem is
 
i got it to send "testing" through the card in the admin menu there was a thing to do a test.

but won't send weight
 

Similar Topics

Good day all, I am having bit of an issue getting my head around this RTD scaling issue. Be forewarned, my head has been known to be "THE" issue...
Replies
24
Views
8,853
Hi all, Can someone direct me int o how to calibrate my scale connected to my 1769 analog input 0 - 10 V input voltage to the card is 1.66VDC...
Replies
2
Views
1,568
I have an automated batching system that im using an analog scale to trigger automated valves to open and close. I have the programming done and...
Replies
6
Views
2,355
I have a Omega Scale controller that we just purchased. It has an Ethernet connection. It is the CNi852-C3EIT. I need to connect it to my...
Replies
6
Views
2,185
I have shot myself in the foot - per se'.... I have a customer with a scale panel that has four Rice Lake scale heads in it. I was able to...
Replies
11
Views
3,776
Back
Top Bottom