UMAX140610. LIN
– J1939 CAN Protocol Converter with PWM Output. Version 1
Page: 23-81
•
Logical signals are transmitted only when they are in the [
MinValue; MaxValue
] range;
•
BCD signals are transmitted without any conversion;
•
ASCII signals are masked with 0xFF value and then transmitted;
•
The physical signals are converted to the LIN signal code using
Scale
and
Offset
configuration parameters and then saturated to the
MinValue
or
MaxValue
if the code goes
out of the [
MinValue; MaxValue
] range.
•
Undefined signals are presented by their initial signal values.
3.3.3 LIN Slave Response
There is a special
LIN Slave Response
function block with one output signal.
Figure 8. LIN Slave Response Function Block
This function block does not have any configuration parameters. It provides a discrete logical
output signal reflecting the state of the LIN slave node according to the LIN standard
requirements.
In the master mode, this function block is not used, and its output signal is undefined.
3.3.4 LIN Unconditional Frame
There are
25
LIN Unconditional Frame
function blocks available to the user. Each function
block represents one LIN frame that can be sent or received on the LIN bus.
Figure 9. LIN Unconditional Frame Function Block
There are no signal inputs and outputs in this function block; all data is transmitted or received
through the associated
LIN Signal
function blocks. There can be up to 15 LIN signals
associated with each LIN frame.
Configuration parameters of the
LIN Unconditional Frame
function block are presented below:
Table 16. LIN Unconditional Frame Function Block Configuration Parameters
Name
Default
Value
Range
Units
Description
LIN Frame Kind
Undefined
{Undefined, Publish,
Subscribe}
–
Defines whether the frame
is transmitted or received.
Frame ID
0
0…0x3F
–
Frame ID.
LIN Slave
Response
Discrete Signal Output
LIN Unconditional
Frame #1…25
LIN Signal 1
LIN Signal 2
LIN Signal 15
….