Here is one that hopefully will be easy for the awesome people here.
I have several ML1400's that I would like to get to read binary serial data.
Is it possible to configure the rs485 input on the ML1400 to read one byte at a time and put it in a register?
I only see ASCII as the closest useful option for configuring that port and I know it is going to look for a linefeed or some significant terminator to tell it when to stop reading. Not to mention the fact that it wont be able to convert the data to ASCII or screw it up while trying.
The data is RS-485 and consists of a repeating stream of 3 bytes.
The first 2 bits of each byte signify the type of data that the next
six bits hold.
first 2 bits of
"10" : means this is the "Most significant bits" of a 12 byte number
"01" : means this is the "Least significant bits" of the 12 byte number
"11" : means this is some sort of status data.
There is no terminator, simply a stream of bytes with a long rest period in between each one that happen to repeat every 3 bytes.
It took me a couple weeks to figure out the format, it would be a killer if the PLC's purchased cannot read the data.
I would appreciate any pointers.
I have several ML1400's that I would like to get to read binary serial data.
Is it possible to configure the rs485 input on the ML1400 to read one byte at a time and put it in a register?
I only see ASCII as the closest useful option for configuring that port and I know it is going to look for a linefeed or some significant terminator to tell it when to stop reading. Not to mention the fact that it wont be able to convert the data to ASCII or screw it up while trying.
The data is RS-485 and consists of a repeating stream of 3 bytes.
The first 2 bits of each byte signify the type of data that the next
six bits hold.
first 2 bits of
"10" : means this is the "Most significant bits" of a 12 byte number
"01" : means this is the "Least significant bits" of the 12 byte number
"11" : means this is some sort of status data.
There is no terminator, simply a stream of bytes with a long rest period in between each one that happen to repeat every 3 bytes.
It took me a couple weeks to figure out the format, it would be a killer if the PLC's purchased cannot read the data.
I would appreciate any pointers.