ADwin-Pro II
Hardware, manual Dec. 2018
203
Pro II: Extension and Interface Modules
Pro II-SENT-6 Rev. E
ADwin
CRC mode
With
P2_SENT_Set_CRC_Implementation
the CRC check can be swit-
ched from calculation algorithm "legacy" to "recommended".
The calculation algorithm refers to both signals 1 and 2 as well as to the serial
message.
Setting sensor type
With
P2_SENT_Set_Sensor_Type
the expected sensor type of a SENT sig-
nal is set. The module then checks the incoming signals whether they also
apply to the criteria of the selected sensor type, according to SENT specifica-
tion. If not, an error ID can be queried.
At the moment, the sensor types "throttle position sensor" and "single secure
sensor" are supported.
Digital channels
There are 4 digital inputs (DIGIN 16…19) and 4 digital outputs (DIGOUT
24…27) on the 37-pin D-Sub connector; pin assignment see fig. 170.
The channel numbers 0…15, 20…23, and 28…31 are not available.
Please note: While using digital channels, no instructions for input fifo or output
fifo are allowed. Otherwise the SENT interface will work incorrectly.
Modul revision
Differences between revisions are described below. The revision number is
located on the front panel.
Different revision characters mean different module characteristics and are
documented separately. A counter number is added for internal purpose.
The interface version is not visible from outside but can be queried by software:
Programming
The module is programmed comfortably with
ADbasic
instruction. The instruc-
tions are described in the Pro II software manual and in the online help of
ADbasic
.
Please note: For some commands you have to check with
P2_SENT_
Command_Ready
, whether the SENT interface is ready to process the next
command. Such commands are marked in the following table with *.
The include file
ADwinPro_All.inc
contains the following instructions:
Revision
Output
date
Changes to previous revision
E03
11 / 2013 First version
Software
version
Output
date
Changes to previous version
17
11 / 2013 First official version
18
1 / 2014
Changes in latch buffer.
19
04 / 2014 Update of include files.
20
11 / 2014 Performance optimized.
Function
Instructions
SENT Interface
Query interface version
P2_SENT_Get_Version
Initialize interface
P2_SENT_Init
Command processing
P2_SENT_Command_Ready
Read SENT parameter
P2_SENT_Get_ChannelState
P2_SENT_Get_ClockTick
P2_SENT_Get_PulseCount