Difference between revisions of "MotoHawk:Blocks:Synchronized PWM Child"
Wayne.Hawken (talk | contribs) (→Description) |
Wayne.Hawken (talk | contribs) (→Limitations) |
||
| Line 20: | Line 20: | ||
==Limitations== | ==Limitations== | ||
| + | The level of child PWM support is defined by the capability of the hardware. Modules that can't support this capability will not populate resources in the drop down menu. Modules that have capability will have selectable resources. However in some cases the selected child can only be used with a subset of the PWM Outputs that the module has at its disposal. Generally only PWM resources that can operate as a child can be selected to operate as a parent to a child PWM. There can also be further limitations. Build or runtime errors will result (depending on the module type) if a legal child PWM attempts to use an incompatible parent PWM. | ||
| − | + | The number of children that a parent PWM Output can support may also be limited. | |
| − | + | The [http://mcs.woodward.com/content/motohawk/Documentation/MotoHawk2016bSP0/HTML/MotoHawk_lib_Blocks/SynchronizedPWMChild.html Synchronized PWM] help topic provides additional information. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Block Parameters== | ==Block Parameters== | ||
Revision as of 08:42, 24 May 2017
Contents
Synchronized PWM Child
This MotoHawk™ block references a PWM parent block, and drives the output with a square wave with a specified phase offset relative to the parent.
Block ID
motohawk_pwm_child
Library
MotoHawk_lib/Analog I/O Blocks
Description
A synchronized PWM child has an independent duty cycle, but has a defined phase relationship with a parent.
The MotoHawk block help topic Synchronized PWM Child provides up to date help content for this block.
Limitations
The level of child PWM support is defined by the capability of the hardware. Modules that can't support this capability will not populate resources in the drop down menu. Modules that have capability will have selectable resources. However in some cases the selected child can only be used with a subset of the PWM Outputs that the module has at its disposal. Generally only PWM resources that can operate as a child can be selected to operate as a parent to a child PWM. There can also be further limitations. Build or runtime errors will result (depending on the module type) if a legal child PWM attempts to use an incompatible parent PWM.
The number of children that a parent PWM Output can support may also be limited.
The Synchronized PWM help topic provides additional information.
Block Parameters
| Parameter Field | Values | Comments/Description |
|---|---|---|
| Resource | Drop-down list | Select from available resource, per target ECU, such as H-bridge, etc. |
| Parent Reference Type | Select Method for choosing resource of Parent | |
| By Resource | Enable Drop-down list | |
| By VarDec Name | Open Parent Name field | |
| Parent Resource | Drop-down list | Select Parent Resource from available resource, per target ECU, such as H-bridge, etc. |
| Parent Name | Alpha-numeric text, single-quote enclosed | Indicate exact Name of Parent Resource. No special characters, such as spaces, dashes, commas (underscore allowed). |
| Output Current | Check box (enable) | When "Output Current" is checked, the drive current in milliamps is provided. |
| Output Fault Status | Check box (enable) |
When "Output Fault Status" is checked, a value indicating fault status is provided. This value is one of: |
| Allow I/O pin to be calibrated from MotoTune | Check box (enable) | Name, Access Levels and MotoTune Group Strings fields available |
| Name | Alpha-numeric text, single-quote enclosed | Name as displayed in MotoTune, for block. No special characters, such as spaces, dashes, commas (underscore allowed) |
| Read Access Level | 1-4 | Sets security level 1 lowest, 4 highest, for user access to read value |
| Write Access Level | 1-4 | Sets security level 1 lowest, 4 highest, for user access to write value |
| MotoTune Group String | Alpha-numeric text, single-quote enclosed | Determines Folder name and hierarchy as displayed in MotoTune. Use "|" character between folder names to delineate subfolder structure |