BTL7-P511-M _ _ _ _ -A/B/CD/Y/Z(8)-NEX-S32/KA _ _
Micropulse Transducer - Rod Style
6
P interface
6.1
Principle
The P interface is a universal impulse interface and unifies
the functions of the falling and rising edges. The position
measuring system control is done via Init and start/stop
signals. Here, the "start pulse" is the reference point for the
travel time measurement.
Reliable signal transmission, even with cable lengths of up
to 500 m between the evaluation unit and transducer is
ensured by the particularly fail-safe RS485 differential driver
and receiver. Interfering signals are effectively suppressed.
DPI/IP is a protocol for direct data exchange between the
controller and transducer. Here, the signal lines transmit
additional information, such as manufacturer, sensor type,
measuring length, and waveguide velocity. This makes it
possible to start up or exchange a transducer without
needing to manually change the control parameters.
The interface enables bi-directional communication and
includes integrated diagnostic functions. Downtimes are
reduced thanks to Plug & Play and automatic
parameterization.
6.2
DPI/IP method
6.2.1
Function and characteristics
The DPI/IP method includes two operating modes, DPI
measuring operation and operation with the IP data
protocol.
DPI = digital pulse interface
IP = integrated protocol
DPI measuring operation
The Init pulse is sent to the transducer via the Init line at
regular intervals, its rising edge triggers a measurement.
Init
T
Init
Start/Stop
T
Start
Fig. 6-1:
Principle of data transfer in DPI measuring operation
T
1 μs to 5 μs
Init
T
3 μs to 5 μs (typ. 4 µs)
Start
T
3 μs to 5 μs (typ. 4 µs)
Stop
www.balluff.com
Operation with IP data protocol
If the length of the Init pulse T
between 10 μs and 50 μs, the transducer switches from
DPI measuring mode to operation with the IP data protocol
(see Fig. 6-1).
Here, a character string (command) is transferred to the
transducer after the Init pulse. While the start pulse is still
sent by the transducer as a response on the start/stop
line, a character string (response) is transferred to the
controller instead of the stop pulses, which contains the
requested response dependent on the command.
Each character in the transfer protocol has the following bit
structure:
Start Bit0 Bit1 Bit2
Start bit
Bit 0 to
bit 7
PBit
Stop
T
Bit
Data security during transfer of the string is achieved with
the parity and CRC16 checks with polynomial
X16+X12+X5+1 (corresponds to 0x1021). If there is a
transfer or protocol error, the transducer sends an
appropriate error message as the response.
Init
Start/Stop
Fig. 6-2:
T
IP
Command
T
Start
T
T
D1
Stop
Response
Ignition protection
"nA" and "tb"
is extended to a value
IP
...
Bit6 Bit7 PBit Stop
T
Bit
Start-of-frame bit
8 data bits
Parity bit (even parity)
Stop-of-frame bit
4 μs (bit length at a data rate of 250 kbit/s)
Command
T
T
D1
IP
T
Start
Principle of data transfer with the IP data protocol
10 μs to 50 μs
Operation with IP data protocol
Command to request transducer data
(information that is stored in the
transducer)
3 μs to 5 μs (typ. 4 µs)
> 50 μs
Response in line with the request
Alternative: error message
english
...
Response
...
15