FP2 Analog Unit
Sample Program for Analog Input Average Processing Setting
10 - 5
10.2 Sample Program (Analog Input Unit)
10.2 Sample Program (Analog Input Unit)
Program outline
After averaging the analog input data for ch 0 to ch 4 (set for no execution of input
conversion processing) of the analog input unit, this program reads the averages to the
data registers DT100 to DT104 using the preparation completion flag.
(V)
(t)
(K)
(t)
(K)
(t)
Analog input
Analog
input
unit
CPU
unit
Averages the analog values that were read and stores the
averages in the conversion value area (input relay area).
By the move instruction F0 (MV), the con-
tents of input relay area WX0 to WX4 are
read to the data registers DT100 to DT104.
Sampling
processing
Minimum
value
Average processing
Maximum
value
Stored the average value
(excluding the maximum
and minimum values) to
conversion value area.
Settings
Channels that execute analog input conversion processing
H1111: ch 0 to ch 3 are set for execution
H1: ch 4 is set for execution and ch 5 to ch 7 are not set for execution
I/O allocation
I/O number
Contents
WX0
Analog input data for ch 0
WX1
Analog input data for ch 1
WX2
Analog input data for ch 2
WX3
Analog input data for ch 3
WX4
Analog input data for ch 4
Shared memory
Address 10
Preparation completion flag for ch 0 to ch 7 analog inputs
Address 16
No execution of conversion processing setting for ch 0 to ch 3 analog inputs
Address 17
No execution of conversion processing setting for ch 4 to ch 7 analog inputs
Address 22 to 26
Average processing times setting for ch 0 to ch 4
For detailed information
section 14.3.2
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Содержание FP2 -AD8
Страница 23: ...Chapter 3 Wiring Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 24: ...FP2 Analog Unit Wiring 3 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 37: ...Chapter 5 Initial Settings Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 99: ...Chapter 13 Troubleshooting Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 100: ...FP2 Analog Unit Troubleshooting 13 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 103: ...Chapter 14 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Страница 104: ...FP2 Analog Unit Specifications 14 2 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...