Mitsubishi Electric MELSEC iQ-R Series User Manual page 52

Melsec iq-r digital-analog converter modul
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Writing data to a file register (ZR) or CSV file
Write the wave output data created using "Create wave output data" to a file register (ZR)
These setting contents are registered to the buffer memory of the D/A converter module using the function block (FB) for the
wave output data registration.
For details on the function block (FB) for the wave output data registration and wave output execution, refer to the following.
 MELSEC iQ-R Analog-Digital Converter Module/Digital-Analog Converter Module Function Block Reference
*1 The wave data and parameter setting contents remain in the CPU module even after the power-off or reset of the CPU module.
*2 The wave data and parameter setting can be used for the D/A converter module of other programmable controller systems only by
copying the CSV file.
• Data unnecessary for control such as "Wave pattern name", "Comment", and "Wave details setting" is not
written to the file register (ZR) or a CSV file. Thus, saving the parameter settings of wave data and the wave
output function using the [Save Wave Output Data to File] button before writing them is recommended.
• The settings of "Create Wave Output Data" cannot be written to the file register (ZR) with a project of the
remote head module. Write the settings to a CSV file.
■Writing data to a file register (ZR)
When writing the data to the file register (ZR), set the capacity of the file register (ZR) for the number of required data points.
For the setting procedure, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
1.
Click the [Write to Device Memory] button of the "Create Wave Output Data" window.
2.
Set "Device memory name" and "Start device", then click the [OK] button.
Item
Device memory name
Start device
Target device to write to
3.
Click the [Close] button in the "Create Wave Output Data" window to finish "Create Wave Output Data".
4.
Write the device memory to the CPU module from "Write to PLC...".
[Online]  [Write to PLC...]
■Writing data to a CSV file
When writing the data to the CSV file, store the CSV file to an SD memory card.
1.
Click the [Write to Device Memory] button of the "Create Wave Output Data" window.
2.
Set the save destination and the file name, then click the [OK] button.
3.
Click the [Close] button in the "Create Wave Output Data" window to finish "Create Wave Output Data".
4.
Store the CSV file to an SD memory card. Then install the SD memory card to the CPU module.
Some oscilloscopes or pulse generators can output the input wave or output wave to the CSV file. To output
the wave with the wave output function by using the CSV file data, convert the data format into the one
described in the following manual. In addition, convert the fractional value into the integer because the
fractional value is unavailable in the wave output function.
 MELSEC iQ-R Analog-Digital Converter Module/Digital-Analog Converter Module Function Block
Reference
1 FUNCTIONS
50
1.14 Wave Output Function
Description
Set the device memory to be written to the file register (ZR). Select the device memory to be written from the pull-down
menu or enter the device memory name to be created.
Set the start address for the output of the device memory.
The file register (ZR) range to write to is displayed.
*1
*2
or a CSV file
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60dav8R60da4R60dai8

Table of Contents