Comparison Function - Panasonic GM1 User Manual

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

Example: A program to change the preset value of CH0 to 1000000
● Preset values that are set cannot be read by programs.

12.6.7 Comparison Function

Setup procedure
1. From "Device view" in the navigator pane, double-click "Counter_Configuration".
2. Click the "Counter parameter" tab.
3. For each counter, select the comparison function and set up each parameter.
● For details on how to set up parameters, refer to
Programmer".
Types of comparison function
This function compares the current value of the high-speed counter with a preset target value
and, when these values match, it reflects the value in the comparison match flag.
● There are target value match comparison and band comparison.
● A total of 16 comparison data items can be set.
● Comparison results can be output externally.
● Comparison methods can be selected for each counter.
Comparison match function specifications
Item
Set number of
comparison data
Comparison match
flag
Select comparison
function
External output
function
WUME-GM1RTXOP-01
Specifications
Up to 16 data items for each counter (Comparison data 0 to comparison data 15)
Up to 16 flags for each counter (Comparison match 0 flag to comparison match 15 flag)
Behaviors of 16 comparison match flags can be set for a single comparison data item.
Target value match comparison
Sets or resets the comparison match flag when the elapsed value matches the target
value.
Band comparison
Turns ON or OFF the comparison match flag when the elapsed value falls within the
range between the lower and upper limits that are set.
Up to two flags for each counter
12.6 High-speed Counter Function
"12.6.2 Setting Parameters with GM
12-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents