The module_address parameter defines the module address of the sp5607 I/O module.
The address on the module is selected via dip switches on the module. A maximum of eight SCADAPack 5607 I/O type modules may be added to a system
The ain0_type parameter sets the analog input type for analog input channel 1.
There are four input types available.
- An ain_type of 0 sets the input type to measure 0 to 5V input signals.
- An ain_type of 1 sets the input type to measure 0 to 10V input signals.
- An ain_type of 2 sets the input type to measure 0 to 20mA input signals.
- An ain_type of 3 sets the input type to measure 4 to 20mA input signals.
The ain_filter Parameters:
- An ain_filter value of 0 sets the input filter for 3Hz and the response time to 155ms at 60Hz and 185ms at 50Hz.
- An ain_filter value of 1 sets the input filter for 6Hz and the response time to 85ms at 60Hz and 85ms at 50Hz.
- An ain_filter value of 2 sets the input filter for 11Hz and the response time to 45ms at 60Hz and 55ms at 50Hz.
- An ain_filter value of 3 sets the input filter for 30Hz and the response time to 30ms at 60Hz and 30ms at 50Hz.
The scan_freq parameter sets the input scan rate for analog inputs. AC noise rejection is improved at the correct frequency. If the module is used in a DC environment, the 60 Hz setting will yield slightly faster response time.
- A scan_freq value of 0 synchronizes the input scanning to 60Hz.
- A scan_freq value of 1 synchronizes the input scanning to 50Hz.
The aout_type parameter sets the analog output type for both optional analog output channels.
- An aout_type value of 0 sets the output type for 0 to 20mA signals.
- An aout_type value of 1 sets the output type for 4 to 20mA signals.