
This FB library is for the MELSEC-L analog input/output module.
| Applicable model | L60AD2DA2 |
|---|
| File name | Size | Last update | Version |
|---|---|---|---|
| fb-l60ad2da2_v110l_e.zip | 9,144,361 bytes | Apr. 20, 2015 | 1.10L |
| Relevant manual | Type | Language |
|---|---|---|
| FBM-M111-B | MELSEC-L Analog Input/Output Module FB Library Reference Manual | English |
| FBM-M112-B | Chinese (simplified) |
A/D conversion
| FB name | Function name | Description | Ver. |
|---|---|---|---|
| M+L60AD2DA2_AD_ReadADVal | Read A/D conversion data | Reads the A/D conversion data of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_ReadAllADVal | Read A/D conversion data (all CHs) | Reads the A/D conversion data of the A/D conversion channels (CH1 and CH2). | 1.00A |
| M+L60AD2DA2_AD_ReadScalingVal | Read A/D conversion scaling value | Reads the scaling value of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_ReadAllScalingVal | Read A/D conversion scaling value (all CHs) | Reads the scaling values of the A/D conversion channels (CH1 and CH2). | 1.00A |
| M+L60AD2DA2_AD_SetADConversion | A/D conversion enable/disable setting | Enables or disables the A/D conversion for the specified A/D conversion channel (CH1 or CH2) or all the A/D conversion channels (CH1 and CH2). | 1.00A |
| M+L60AD2DA2_AD_SetAverage | A/D conversion averaging process setting | Sets the averaging processing of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_SetScaling | A/D conversion scaling setting | Sets the scaling of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_SetInputSignalErr | A/D conversion input signal error detection setting | Sets the input signal error detection of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_SetOffsetVal | A/D conversion offset setting | Sets the offset of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_SetGainVal | A/D conversion gain setting | Sets the gain of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_ShiftOperation | A/D conversion shift operation | Adds the conversion value shift amount to the digital value. | 1.00A |
| M+L60AD2DA2_AD_DiffOperation | A/D difference conversion | Outputs the remaining value after subtraction of the reference value from the digital value | 1.00A |
| M+L60AD2DA2_AD_ClipOperation | A/D conversion digital clipping | Limits the digital value with the upper and lower limit values of the digital clipping. | 1.00A |
| M+L60AD2DA2_AD_SetLoggingPARAM | Logging function parameter setting | Sets the logging function of the specified A/D conversion channel (CH1 or CH2). | 1.00A |
| M+L60AD2DA2_AD_SaveLogging | Logging data save | Saves the logging data to a file. | 1.00A |
D/A conversion
| FB name | Function name | Description | Ver. |
|---|---|---|---|
| M+L60AD2DA2_DA_WriteDAVal | Write D/A conversion data | Writes the D/A conversion data of the specified D/A conversion channel (CH3 or CH4). | 1.00A |
| M+L60AD2DA2_DA_WriteAllDAVal | Write D/A conversion data (all CHs) | Writes the D/A conversion data of the D/A conversion channels (CH3 and CH4). | 1.00A |
| M+L60AD2DA2_DA_SetDAConversion | D/A conversion enable/disable setting | Enables or disables the D/A conversion for the D/A conversion specified channel (CH3 or CH4) or all the D/A conversion channels (CH3 and CH4). | 1.00A |
| M+L60AD2DA2_DA_SetDAOutput | D/A output enable/disable setting | Enables or disables the D/A output of the specified D/A conversion channel (CH3 or CH4) or all the D/A conversion channels (CH3 and CH4). | 1.00A |
| M+L60AD2DA2_DA_SetScaling | D/A conversion scaling setting | Sets the scaling of the specified D/A conversion channel (CH3 or CH4). | 1.00A |
| M+L60AD2DA2_DA_SetAlarm | D/A conversion alert output setting | Sets the alert output of the specified D/A conversion channel (CH3 or CH4). | 1.00A |
| M+L60AD2DA2_DA_SetOffsetVal | D/A conversion offset setting | Sets the offset of the specified D/A conversion channel (CH3 or CH4). | 1.00A |
| M+L60AD2DA2_DA_SetGainVal | D/A conversion gain setting | Sets the gain of the specified D/A conversion channel (CH3 or CH4). | 1.00A |
| M+L60AD2DA2_DA_ShiftOperation | D/A conversion shift operation | Adds the input value shift amount to the digital value. | 1.00A |
| M+L60AD2DA2_DA_WaveDataStoreCsv | Read wave data (CSV file) | Reads data from the CSV file where parameters and wave data (wave data and wave data points) of the wave output function are stored, then writes them to the buffer memory of the L60AD2DA2. | 1.00A |
| M+L60AD2DA2_DA_WaveDataStoreDev | Read wave data (device) | Reads data from the file register (ZR) where parameters and wave data (wave data and wave data points) of the wave output function are stored, then writes them to the buffer memory of the L60AD2DA2. | 1.00A |
| M+L60AD2DA2_DA_WaveOutputSetting | Wave output setting | Sets the wave output of the specified D/A conversion channel (CH3 or CH4) or all the D/A conversion channels (CH3 and CH4). | 1.00A |
| M+L60AD2DA2_DA_WaveOutReqSetting | Wave output start/stop request | Sets the starting, stopping, or pausing of the wave output of the specified D/A conversion channel (CH3 or CH4) or all the D/A conversion channels (CH3 and CH4). | 1.00A |
Common
| FB name | Function name | Description | Ver. |
|---|---|---|---|
| M+L60AD2DA2_ReadADVal_WriteDAVal | Read A/D conversion data and write D/A conversion data | Reads the A/D conversion data of the A/D conversion channels (CH1 and CH2) and writes the D/A conversion data of the D/A conversion channels (CH3 and CH4). | 1.00A |
| M+L60AD2DA2_RequestSetting | Operating condition setting request | Validates each setting. | 1.00A |
| M+L60AD2DA2_ErrorOperation | Error operation | Monitors error codes and resets errors. | 1.00A |
| M+L60AD2DA2_OGBackup | Offset/gain value save | Reads the offset/gain setting value of the user range setting and stores it to a file | 1.00A |
| M+L60AD2DA2_OGRestore | Offset/gain value restore | Restores the offset/gain setting values of the user range setting that are saved in a file to the module. | 1.00A |
[Improvement history of the FB for the MELSEC-L analog input/output module from Ver.1.00A to Ver.1.10L (Apr., 2015)]
| No. | Description |
|---|---|
| 1 | The following FB libraries have been added. ・M+L60AD2DA2_FreeCalDataStoreDev ・M+L60AD2DA2_FreeConvDataStoreCsv ・M+L60AD2DA2_FreeConvDataStoreDev |
| 2 | The applicable version of GX Works2 has been added. ・This FB can be installed to GX Works2 of any language version. |
[Precautions for using the file]
Install the FB library to the personal computer in which GX Works2 of the following version has been installed.
[How to extract the compressed file]
Copy the file to a folder.
After the copied file is decompressed, the fb-l60ad2da2_v110l_e folder is created.
Decompression method 1): For the OS with the ZIP-compatible decompression function
Decompression method 2): For the OS without the ZIP-compatible decompression function
* Use the decompression tool at users' own risk.
[Installation method]
[How to use MELSOFT Library]
[Precautions for using MELSOFT Library]