Parameterization of the Onboard I/Os for PM55x-xP¶
The inputs and outputs channels can be provided as WORD, BYTE and BOOL.
Double-click on OBIO (Onboard IO: 8DI+6DO) to open the 6DI+6DO configuration in the editor window.
The 8DI+6DO Onboard I/Os support the following channel functions:
Onboard I/O Type | Channel Function | Max. Number | Channel Name |
---|---|---|---|
Digital Onboard I/O | Digital Input | 8 | Channel 0..7 |
Fast counter | 2 | Channel 0, 1 | |
Interrupt input | 4 | Channel 0..3 | |
Digital output | 6 | Channel 0..5 | |
PWM output | 2 | Channel 2..3 |
The following channel parameters for onboard I/Os can be configured:
Onboard I/O Type | Parameter | Channel Name | Default Value | Value | Meaning |
---|---|---|---|---|---|
Digital inputs | Input X, input delay | Channel 0..7 | 8 ms | 0.1 ms | Configures 0.1 ms input delay |
1 ms | Configures 1 ms input delay | ||||
8 ms | Configures 8 ms input delay | ||||
32 ms | Configures 32 ms input delay | ||||
Input X, channel configuration | Channel 0..7 | Input | Input | Configures the channel as normal digital input | |
Channel 0..3 | Interrupt on rising edge | Triggers interrupt task when detecting the rising edge on the input channel | |||
Interrupt on falling edge | Triggers interrupt task when detecting the falling edge on the input channel | ||||
Channel 0 | Fast counter * | Configures the channel as fast counter | |||
Fast Counter |
Channel 0, 1 | No counter | 0 | No counter | |
1 | 1 Up counter | ||||
2 | 1 Up counter with release input | ||||
3 | 2 UpDown counters | ||||
4 | 2 UpDown counters (2nd on falling edge) | ||||
5 | 1 UpDown counter dynamic set/rising edge | ||||
6 | 1 UpDown counter dynamic set/falling edge | ||||
7 | 1 UpDown counter directional discriminator | ||||
8 | Reserved | ||||
9 | 1 UpDown directional discriminator x2 | ||||
10 | 1 UpDown directional discriminator x4 | ||||
Digital outputs | Output X, channel configuration | Channel 2, 3 | Output | Output | Configures the channel as normal digital output |
PWM | Configures the channel as PWM output | ||||
Output X, PWM operation mode |
Millisec | Millisec | Configures ms as PMW time base | ||
Microsec | Configures µs as PMW time base |