Triangulation Laser Sensors, RF605 Series
RF605 [Revision 2.0] 10th January 2011 valid for sensors with serial numbers 11000 and higher
12
Note.
The maximum transmission rate for RS232/RS485 interface is 460,8 kbit/s.
11.4.2. Net address
This parameter defines the network address of the sensor equipped with RS485
interface.
Note.
Network data communications protocol assumes the presence of ‗master‘
in the net, which can be a computer or other information-gathering device, and from 1 to
127 ‗slaves‘ (RF60x Series sensors) which support the protocol.
Each ‗slave‘ is assigned a unique network identification code – a device address.
The address is used to form requests or inquiries all over the net. Each slave receive
inquiries containing its unique address as well as ‗0‘ address which is broadcast-oriented
and can be used for formation of generic commands, for example, for simultaneous
latching of values of all sensors and for working with only one sensor (with both RS232
port and RS485 port).
11.4.3. Factory parameters table
Parameter
Value
Baud rate
9600
bit/s
Net address
1
Mode of data transfer
request
11.5. Interfacing protocol
11.5.1. Serial data transmission format
Data message has the following format:
1 start-bit
8 data bits
1 odd bit
1 stop-bit
11.5.2. Communication sessions types
The communications protocol is formed by communication sessions, which are
only initiated by the ‗master‘ (PC, controller). There are two kinds of sessions with such
structures:
1)
―request‖, [―message‖] — [―answer‖],
square brackets include optional elements
2)
―request‖ — ―data stream‖ — [―request‖].
11.5.3. Request
―Request‖ (INC) — is
a two-byte message
, which fully controls communication
session.
The ‗request‘ message is the only one of all messages in a session where
most
significant bit is set at 0
, therefore, it serves to synchronize the beginning of the session.
In addition, it contains the device address (ADR), code of request (COD) and, optional,
the message [MSG].
"Request" format:
Byte 0
Byte 1
[ Bites
2…N ]
INC0(7:0)
INC1(7:0)
MSG
0
ADR(6:0)
1
0
0
0
COD(3:0)
11.5.4. Message
"Message‘‘ is data burst that can be transmitted by ‗master‘ in the course of the
session.
All messages with a "message" burst contain 1 in the most significant digit. Data
in a message are transferred in tetrads. When byte is transmitted, lower tetrad goes first,
Содержание RF603 Series
Страница 1: ......