Basic function
The EL2502-0005 has three basic operation modes with additional selection options per channel. These are accessed via the PDO selection.
- "Pulse width (standard)":
- Duty factor specification via process data (cyclic)
- Frequency specification via CoE (acyclical)
The operation mode for each channel is set via CoE object 0x80n0:07 (channel 1: n = 0, channel 2: n = 1)
This mode is to be used if the duty factor only is to be quickly changed in the real-time context.
Operating range | Note | CoE | Period value from | Period unit | Permissible value range | Frequency range |
---|---|---|---|---|---|---|
PWM 20 Hz ... 20 kHz |
| 0 | CoE 0x80n0:15 | [1000 ns = 1 µs] | 80 ... 32657 (signed) | 20 Hz … 20 kHz |
PWM 100 ns |
| 2 | CoE 0x80n0:15 | [100 ns] |
| 153 Hz ... 125 kHz |
PWM 1 Hz ... 20 kHz |
| 3 | CoE 0x80n0:16 | [1000 ns = 1 µs] |
| 1 Hz ... 20 kHz |
The corresponding output frequency can be calculated from the period.
Note re. "100 ns" mode: Values < 80 [*100 ns] (equivalent to 125 kHz) cannot be processed. If such an invalid value is entered in the CoE, the terminal has to be started in PREOP state, so that the CoE entry can be corrected in this state.
- "Pulse width and frequency (16 bit)"
- Duty factor specification via process data (cyclic)
- Frequency specification [20 Hz to 20 kHz] via process data 16 bit unsigned (cyclic), 1 digit = 1 µs period
This mode is to be used if the duty factor and the frequency are to be quickly changed in the real-time context.
Operating range | Note | CoE | Period value from | Period unit | Permissible value range | Frequency range |
---|---|---|---|---|---|---|
PWM 20 Hz |
| not relevant | Process data | [1000 ns = 1 µs] | 0 ... 65535 | 20 Hz ... 20 kHz (typ. 17 ... 21 kHz) |
- "Pulse width and frequency 1 Hz (32 bit)"
- Duty factor specification via process data (cyclic)
- Frequency specification [1 Hz to 20 kHz] via process data 32 bit unsigned (cyclic), 1 digit = 1 µs
This mode is to be used if the duty factor and the frequency are to be quickly changed in the real-time context. The frequency can be set to min. 1 Hz.
Operating range | Note | CoE | Period value from | Period unit | Permissible value range | Frequency range |
---|---|---|---|---|---|---|
PWM 1 Hz ... 20 kHz |
| not relevant | Process data | [1000 ns = 1 µs] | 0 ... 1000000 | 1 Hz ... 20 kHz |
The basic setting is made via the PDO (process data) selection in the ProcessData tab. This can be done
- via the Predefined PDO Assignment, see Fig. Example operating mode selection (EL2502) (B)
- via individual PDO selection, Fig. Example operating mode selection (EL2502) (A)
"Pulse width": PDO 0x1600 and 0x1601
"Pulse width and frequency (16 bit)": PDO 0x1602 and 0x1603
The parameters are considered in the following order: