Configuring the Onboard I/O for CPU PM56xΒΆ

AC500 CPU PM56x has 6 digital onboard inputs, 6 digital onboard outputs, 2 analog onboard inputs and 1 analog onboard output. The 2 analog onboard inputs can be configured as 2 digital onboard inputs, so the maximal digital inputs number is 8. The input and output channels can be provided as WORD, BYTE and BOOL.

The 6DI+6DO+2AI+1AO 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

Digital input channel 0..5

Analog input channel AI0..AI1 *

Fast counter 2 Input channel 0, 1
Interrupt input 4 Input channel 0..3
Digital output 6 Output channel 0..5
PWM output 2 Output channel 2..3
Analog onboard I/O Analog input 2 Input channel AI0..AI1 *
Analog output 1 Output channel AO0

* These 2 analog inputs can be configured as 2 digital inputs in PS501

Same as CPU PM55x, CPU PM56x has a maximum of  8 digital onboard inputs and 6 digital onboard outputs. The channel parameters for onboard digital I/Os are the same as those of CPU PM55x. Analog input channels AI0&AI1 on CPU PM56x are for digital input channels 6&7 on CPU PM55x.

The following channel parameters for onboard analog I/Os can be configured for CPU PM56x:

Onboard I/O Type Parameter Channel Name Default Value Value Meaning
Analog inputs Input delay digital input Channel AI0&A1 8 ms 0.1 ms Configure 0.1 ms input delay
1 ms Configure 1 ms input delay
8 ms Configure 8 ms input delay
32 ms Configure 32 ms input delay
Channel configuration Digital input Digital input Configure the channel as normal digital input
Analog input 0..10 V Configure the channel as 0..10 V analog input
Analog outputs Channel configuration Channel AO0 Analog output 0..10 V Analog output 0..10 V Configure the channel as 0..10 V analog output
Analog output 0..20mA Configure the channel as 0..20 mA analog output
Analog output 4..20 mA Configure the channel as 4..20 mA analog output

Note

Default value of channel AI0&AI1 is digital input. The user has to change the configuration parameter to enable the analog input function.