IDEC MICROSmart FC6A Series User Manual page 353

Windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Programming WindLDR
To use the analog potentiometer, you must configure the Function Area Settings in WindLDR and download the user program to
the FC6A Series MICROSmart.
On the Configuration tab, in the Function Area Settings group, click Input Configuration.
1.
The Function Area Settings dialog box is displayed.
For AI0, configure the filter count and data type for the analog Potentiometer.
2.
The AI0 signal type is fixed as "Analog Potentiometer".
3.
Click OK.
This concludes configuring the settings.
Example program
This program uses the analog potentiometer value for the counter preset value.
Reset Input
M0000
Up clock input
M0001
When reset input M0000 turns on, the current value is reset to "0".
CNT C000
While reset input M0000 is off, the counter can count.
D8057
While the counter is in the state where it can count, it increments +1
with each rise in up clock input M0001.
When the current value reaches analog potentiometer value D8057,
counting ends, and the counter output is maintained until reset input
M0000 is turned on.
FC6A S
MICROS
ERIES
MART
U
'
M
FC9Y-B1722
SER
S
ANUAL
5: F
S
UNCTIONS AND
ETTINGS
5-47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents