Raptor:PGN Trigger: Difference between revisions
No edit summary |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor:J1939 Transport Protocol|Return to Transport Protocol page]] | [[Raptor:J1939 Transport Protocol|Return to Transport Protocol page]] | ||
Line 8: | Line 8: | ||
<p>The PGN trigger block is used to trigger a message to be sent when it is requested. This block will execute the function connected to it's output when a Request message is received for the specified PGN and the PGN is enabled. If the controller has not successfully acquired an address this output will not be executed. This block includes a Raptor Adjustment and Measurement to show the enable state of the PGN and allow it to be disabled. Only one PGN trigger block can be included in the model for any given PGN and J1939 bus.</p> | <p>The PGN trigger block is used to trigger a message to be sent when it is requested. This block will execute the function connected to it's output when a Request message is received for the specified PGN and the PGN is enabled. If the controller has not successfully acquired an address this output will not be executed. This block includes a Raptor Adjustment and Measurement to show the enable state of the PGN and allow it to be disabled. Only one PGN trigger block can be included in the model for any given PGN and J1939 bus.</p> | ||
<p>Note: a PGN trigger block and a PGN enable block cannot be configured with the same PGN and the same J1939 bus in the same model, due to conflicting calibration names. If this functionality is desired, use the PGN Trigger - No Cal block, which does not have this limitation but removes the ability to control the block in Raptor-Cal.</p> | |||
== Outputs == | == Outputs == | ||
Line 23: | Line 17: | ||
! scope="col" style="width: 70%;"|Description | ! scope="col" style="width: 70%;"|Description | ||
|- | |- | ||
! | ! Port 1 | ||
| function call | | function call | ||
| Trigger indicating reception of PGN. | | Trigger indicating reception of PGN. |
Latest revision as of 13:14, 14 September 2023
Return to the main Raptor page
Return to Transport Protocol page
Description
The PGN trigger block is used to trigger a message to be sent when it is requested. This block will execute the function connected to it's output when a Request message is received for the specified PGN and the PGN is enabled. If the controller has not successfully acquired an address this output will not be executed. This block includes a Raptor Adjustment and Measurement to show the enable state of the PGN and allow it to be disabled. Only one PGN trigger block can be included in the model for any given PGN and J1939 bus.
Note: a PGN trigger block and a PGN enable block cannot be configured with the same PGN and the same J1939 bus in the same model, due to conflicting calibration names. If this functionality is desired, use the PGN Trigger - No Cal block, which does not have this limitation but removes the ability to control the block in Raptor-Cal.
Outputs
Output | Type | Description |
---|---|---|
Port 1 | function call | Trigger indicating reception of PGN. |
Parameters
Parameter | Type | Description |
---|---|---|
J1939 Bus Name | String | This is the name of the J1939 bus. |
PGN | uint32 | The PGN to receive. |