Publication 1762-RM001C-EN-P
6-22 Using High-Speed Outputs
PWM Profile Parameter Select (PP)
The PWM PP (Profile Parameter Select) selects which component of the
waveform is modified during a ramp phase:
•
Set (1) - selects Frequency
•
Cleared (0) - selects Duty Cycle
The PWM PP bit cannot be modified while the PWM output is running/
enabled. See PWM ADD on page 6-25 for more information.
PWM Idle Status (IS)
The PWM IS (Idle Status) is controlled by the PWM sub-system and
represents no PWM activity. It can be used in the control program by an
input instruction.
•
Set (1) - PWM sub-system is in an idle state.
•
Cleared (0) - PWM sub-system is not in an idle state (it is running).
PWM Error Detected (ED)
The PWM ED (Error Detected) bit is controlled by the PWM sub-system. It
can be used by an input instruction on any rung within the control
program to detect when the PWM instruction is in an error state. If an
error state is detected, the specific error is identified in the error code
register (PWM:0.ED).
•
Set (1) - Whenever a PWM instruction is in an error state.
•
Cleared (0) - Whenever a PWM instruction is not in an error state.
Element Description Address Data Format Range Type User Program
Access
PP - Profile Parameter Select PWM:0/PP bit 0 or 1 control read/write
Element Description Address Data Format Range Type User Program
Access
IS - PWM Idle Status PWM:0/IS bit 0 or 1 status read only
Element Description Address Data
Format
Range Type User Program
Access
ED - PWM Error Detection PWM:0/ED bit 0 or 1 status read only