Applications - Panasonic FP-M Hardware Manual

Table of Contents

Advertisement

4. Applications

Example 1: A/D program example of simple temperature control
• Compares the analog data from channel 0 of analog control board No. 0 (DT9080) with preset values (K100 and
K110). The compared result is stored in special internal relays R900A and R900C.
- When the contents of DT9080 < K100, external output relay Y0 (heater) goes ON.
- When the contents of DT9080 > K110, external output relay Y0 (heater) goes OFF.
Program
R9010
F62 WIN, DT9080, K100, K110
R900C
R900A
Y0
Value of DT9080
K110
K100
0
ON
Y0
OFF
Example 2: D/A program example of variable speed control
• Transfer the value of potentiometer V0 on the FP-M control board to channel 0 of analog control board No. 0
(DT9096).
Program
R9010
F0 MV, DT9040, DT9096
Value of DT9096
0
7-4. Programming for Analog I/O, A/D Converter, and D/A Converter Boards
Special internal relays
- R9010: Always ON relay
- R900A: > flag
Y0
- R900C: < flag
High-level instruction
Heater
- F62 (WIN): 16-bit data band compare
Special data register
- DT9080: Channel 0 of converted digital value from
t
Special internal relay
- R9010: Always ON relay
High-level instruction
- F0 (MV): 16-bit data, move
Special data registers
- DT9040: Manual dial-set register for potentiometer
- DT9096: Channel 0 of digital value for specifying
t
analog control board No. 0
V0 on FP-M control board
analog data output from analog control
board No. 0
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents