Comparison Output And Comparison Match Signal; Configuration Using Tool Software - Panasonic FP7 User Manual

Multi input/output unit
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

● When selecting ""Compare"" in the comparison output setting, ""Comparison output setting
value"" and ""Counter elapsed value"" are compared whether the counter function is used or
not. Note that the output turns on when the comparison output condition is met. Such as when
both ""Counter initial value"" and ""Comparison output setting value"" are ""0"".

8.1.2 Comparison Output and Comparison Match Signal

The comparison function provides the following two functions.
Types of measurement function
Item
Comparison condition
ON when elapsed value
is smaller than setting
value
Comparison
output (CMPx)
ON when elapsed value
is larger than or equal to
setting value
Comparison
ON when elapsed value
match signal
is equal to setting value
(Eqx)

8.1.3 Configuration Using Tool Software

The setting of the comparison output function is specified in the configuration menu of FPWIN
GR7.
Setting method
The following procedure describes the process when the multi I/O unit has been already
allocated in the I/O map. Set the ""Counter (for external input)"" or ""PLS/PWM output counter""
to be compared in advance. The counter can be set for each comparison output.
1.
Select Options>Multi I/O Unit Setting in the menu bar.
The ""Multi I/O Unit Setting"" dialog box is displayed. Select a unit to be used.
2.
From the function selection tree, select ""Comparison match output"", and double-click a
comparison match number to which the comparison output is allocated.
The ""Comparison Match Output Advanced"" dialog box is displayed.
3.
Check the box for ""Compare"".
WUME-FP7MXY-06
8.1 Comparison Output Function
Description
Compares the elapsed value of the high-speed counter and
comparison value, and turns on the corresponding output (CMP0-
CMP7) when the specified condition is met.
The comparison result is output to the external outputs (Y0-Y7) and
can be monitored by the internal input signals (X10-X17).
The comparison match signal (EQx) is a signal for the internal
processing which is not externally output.
Compares the elapsed value of the high-speed counter and a
specified comparison value, and turns on when they match.
The comparison match signal (EQx) functions as the startup
condition of an interrupt program when it is selected as the startup
condition of the interrupt function.
8-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afp7mxy32dwdAfp7mxy32dwdh

Table of Contents