Mitsubishi Electric MELSEC iQ-F FX5 Reference

Mitsubishi Electric MELSEC iQ-F FX5 Reference

Programmable controller, analog input module / output module / multiple input module function block
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

MELSEC iQ-F
FX5 Analog Input Module/Output Module/
Multiple Input Module Function Block Reference

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-F FX5

  • Page 1 MELSEC iQ-F FX5 Analog Input Module/Output Module/ Multiple Input Module Function Block Reference...
  • Page 3: Table Of Contents

    CONTENTS CHAPTER 1 FUNCTION BLOCK (FB) LIST CHAPTER 2 ANALOG INPUT MODULE, MULTIPLE INPUT MODULE FB M+Model_RequestSetting..............4 M+Model_OperateError.
  • Page 4: Chapter 1 Function Block (Fb) List

    FUNCTION BLOCK (FB) LIST This chapter lists the FBs for the MELSEC iQ-F series analog input module (FX5-4AD), multiple input module (FX5-8AD), analog output module (FX5-4DA). Analog input module, Multiple input module FB ■FX5-4AD Name Description M+FX5-4AD_RequestSetting Enables the settings of each function. M+FX5-4AD_OperateError Monitors error codes and resets errors.
  • Page 5 MEMO 1 FUNCTION BLOCK (FB) LIST...
  • Page 6: Chapter 2 Analog Input Module, Multiple Input Module Fb

    ANALOG INPUT MODULE, MULTIPLE INPUT MODULE FB M+Model_RequestSetting Name The module names of the FB are based on the module used and are as follows. ■FX5-4AD M+FX5-4AD_RequestSetting ■FX5-8AD M+FX5-8AD_RequestSetting Overview Item Description Overview Enables the settings of each function. Symbol M+FX5-4AD_RequestSetting i_bEN o_bENO...
  • Page 7 • Turning on i_bEN (execution command) allows the settings of all channels to be enabled. For what settings are enabled, refer to MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module). • This FB continues its execution until the completion of the settings of each function after i_bEN (execution command) turns...
  • Page 8: M+Model_Operateerror

    M+Model_OperateError Name The module names of the FB are based on the module used and are as follows. ■FX5-4AD M+FX5-4AD_OperateError ■FX5-8AD M+FX5-8AD_OperateError Overview Item Description Overview Monitors error codes and resets errors. Symbol M+FX5-4AD_OperateError i_bEN o_bENO i_stModule o_bOK i_bErrReset o_bUnitErr o_uUnitErrCode o_uUnitAlarmCode UW o_bErr...
  • Page 9 FB details Item Description Available device Target module FX5-4AD, FX5-8AD Target CPU FX5U CPU, FX5UC CPU Engineering tool GX Works3 Version 1.040S or later Language Ladder diagram Number of basic steps 195 steps The number of FB steps integrated in the program varies depending on the CPU module used, the input/output definition, and the setting options of GX Works3.
  • Page 10: M+Model_Setloggingparam

    M+Model_SetLoggingParam Name The module names of the FB are based on the module used and are as follows. ■FX5-4AD M+FX5-4AD_SetLoggingParam ■FX5-8AD M+FX5-8AD_SetLoggingParam Overview Item Description Overview Sets up the logging function of a specified channel. Symbol M+FX5-4AD_SetLoggingParam i_bEN o_bENO (13) i_stModule o_bOK (14)
  • Page 11 Variable name Name Data type Range Description ■FX5-4AD i_uLogCycleVal Logging cycle setting Word [Unsigned] Sets the interval of cycles at which data is stored. value When the logging cycle unit setting is 0: 80 to 32767 When the logging cycle unit setting is 1: 1 to 32767 When the logging cycle unit setting is 2:...
  • Page 12 FB details Item Description Available device Target module FX5-4AD, FX5-8AD Target CPU FX5U CPU, FX5UC CPU Engineering tool GX Works3 Version 1.040S or later Language Ladder diagram Number of basic steps 226 steps The number of FB steps integrated in the program varies depending on the CPU module used, the input/output definition, and the setting options of GX Works3.
  • Page 13 Error code Error code Description Action (hexadecimal) The target channel is set out of the range. Review and correct the settings and then execute the FB Set the target channel within the following range. again. • FX5-4AD: 1 to 4 •...
  • Page 14: Chapter 3 Analog Output Module Fb

    ANALOG OUTPUT MODULE FB M+FX5-4DA_RequestSetting Name M+FX5-4DA_RequestSetting Overview Item Description Overview Enables the settings of each function. Symbol M+FX5-4DA_RequestSetting i_bEN o_bENO i_stModule o_bOK o_bErr o_uErrId Labels ■Input label Variable name Name Data type Range Description i_bEN Execution command ON, OFF ON: The FB is activated.
  • Page 15 • When operating the analog output module, the output range setting, and operation mode setting need to be set according to the device and system to be connected. Set the GX Works3 module parameters according to the application. Refer to the MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module) for details on setting the module parameters.
  • Page 16: M+Fx5-4Da_Operateerror

    M+FX5-4DA_OperateError Name M+FX5-4DA_OperateError Overview Item Description Overview Monitors error codes and resets errors. Symbol M+FX5-4DA_OperateError i_bEN o_bENO i_stModule o_bOK i_bErrReset o_bUnitErr o_uUnitErrCode o_bErr o_uErrId UW Labels ■Input label Variable name Name Data type Range Description i_bEN Execution command ON, OFF ON: The FB is activated.
  • Page 17 • When operating the analog output module, the output range setting, and operation mode setting need to be set according to the device and system to be connected. Set the GX Works3 module parameters according to the application. Refer to the MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module) for details on setting the module parameters.
  • Page 18: M+Fx5-4Da_Waveoutputsetting

    M+FX5-4DA_WaveOutputSetting Name M+FX5-4DA_WaveOutputSetting Overview Item Description Overview Sets the wave output of a specified channel or all channels. Symbol M+FX5-4DA_WaveOutputSetting i_bEN o_bENO (11) i_stModule o_bOK (12) i_uCH o_bErr (13) i_uOutputSelect o_uErrId (14) i_wOutputValue i_udStartingAddr i_udPointsSetting W : i_wFrequency i_uConvSpeed (10) i_uUnitType Labels ■Input label...
  • Page 19 Variable name Name Data type Range Description i_uConvSpeed Waveform output Word [Unsigned] 1 to 5000 Sets the constant that defines the conversion cycle of conversion cycle wave output. constant (10) i_uUnitType Module type Word [Unsigned] 0: FX5-4DA Specifies a module type. ■Output label Variable name Name...
  • Page 20 • When operating the analog output module, the output range setting needs to be set according to the device and system to be connected. Set the GX Works3 module parameters according to the application. Refer to the MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module) for details on setting the module parameters.
  • Page 21: M+Fx5-4Da_Waveoutputreqsetting

    Word [Unsigned] To execute the function, use the device/buffer memory output state monitor batch monitor of GX Works3. For details, refer to MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module). 3 ANALOG OUTPUT MODULE FB 3.4 M+FX5-4DA_WaveOutputReqSetting...
  • Page 22 Variable name Name Data type Default value Description (12) o_bErr Error completion The on state indicates that an error has occurred in the (13) o_uErrId Error code Word [Unsigned] The error code of an error occurred in the FB is stored. FB details Item Description...
  • Page 23 • When operating the analog output module, the output range setting needs to be set according to the device and system to be connected. Set the GX Works3 module parameters according to the application. Refer to the MELSEC iQ-F FX5 User's Manual (Analog Control - Intelligent function module) for details on setting the module parameters.
  • Page 24: Instruction Index

    INSTRUCTION INDEX ....6 M+FX5-4AD_OperateError ....4 M+FX5-4AD_RequestSetting .
  • Page 25 MEMO...
  • Page 26: Revisions

    First Edition This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 28 Manual number: SH(NA)-081886ENG-A When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice.

Table of Contents