When Using The Logging Function; Logging External Inputs And Counters - Mitsubishi Electric NZ2GN2S-D41P01 User Manual

Cc-link ie tsn fpga module
Table of Contents

Advertisement

13.5

When Using the Logging Function

Logging external inputs and counters

This section describes how to log the status of external inputs and count values.
System configuration
FPGA Module
Configuration Tool
Phase A
Phase B
Encoder
OFF
Logging start/stop
switch
FPGA module: NZ2GN2S-D41P01
Operation
In this connection example, the input of X6 (B0) controls the start and stop of logging, and the pulse input of X4 (B0) controls
the sampling timing. This enables the logging of the 32-bit ring counters that count pulses input to X1 (B0) and X2 (B0) with
the pulse width of 100s for 2-phase multiple of 4.
Also, when using the logging function, connect the FTP server for saving logging data to check the saved logging data, and
transfer the logging data.
Logging start/stop switch
(X6)
Logging operation state monitor
(RWrB)
A/D conversion timing
A/D conversion value
Sampling count monitor
(RWrC, RWrD)
FTP transfer completion flag
(RX4)
FTP transfer error completion flag
(RX5)
Constant read register 15
(usr_alrreg_0F) (address: 1000_A04EH)
b1, b2 Logging FTP transfer status
13 SAMPLE CIRCUIT IN STANDALONE MODE
384
13.5 When Using the Logging Function
Switching hub
Pulse input
ON
FPGA module
ON
OFF
1H Collection
start waiting
0
OFF
OFF
Before transfer start (0H)
FTP server
for saving logging data
2H Collecting
10μs
μ
1
2
3
4
5
6
Pulse input
Sampling pulse
input encoder
4H FTP transfer
in progress
254
255
256
Transfer in progress
(1H)
1H Collection
start waiting
ON
Transfer completion
(success) (2H)

Advertisement

Table of Contents
loading

Table of Contents