When Using The Pulse Count Function - Mitsubishi Electric NZ2GN2S-D41P01 User Manual

Cc-link ie tsn fpga module
Table of Contents

Advertisement

13.2

When Using the Pulse Count Function

This section describes the function to use 32-bit ring counters to count pulses (2-phase multiple of 4) with the width of 100s
that are input to X1(B0) and X2(B0). Where the counter upper limit is 4294967295.
System configuration
FPGA Module
Configuration Tool
Pulse input
Phase A
Phase B
Encoder
FPGA module: NZ2GN2S-D41P01
Module parameter
The setting value of the module parameter is shown below.
Setting item
FPGA control automatic start setting
FPGA parameter
The setting values of the FPGA parameters to be set are shown below.
Setting item
Data sampling timing (B0)
Input filter upper limit value X1 (B0)
Input filter upper limit value X2 (B0)
User circuit part parameter
The setting values of the user circuit part parameters to be set are shown below.
Address
1000_B146H (writing data 163)
1000_B148H (writing data 164)
1000_B14AH (writing data 165)
FPGA module
Setting item
User circuit part parameter size
Counter control part 32-bit ring counter (2-phase multiple of 4) counter upper limit value (lower
side) (B0) (usr_wreg_0A3)
Counter control part 32-bit ring counter (2-phase multiple of 4) counter upper limit value (upper
side) (B0) (usr_wreg_0A4)
Counter control part 32-bit ring counter (2-phase multiple of 4) input signal selection (B0)
(usr_wreg_0A5)
Setting value
Enable
Setting value
0.10s
100
100
13 SAMPLE CIRCUIT IN STANDALONE MODE
13.2 When Using the Pulse Count Function
13
Setting value
384
FFFFH
FFFFH
0302H
371

Advertisement

Table of Contents
loading

Table of Contents