8
2 ANALOG INPUT MODULE, MULTIPLE INPUT MODULE FB
2.3 M+Model_SetLoggingParam
2.3 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
Labels
■Input label
Item Description
Overview Sets up the logging function of a specified channel.
Symbol
No. Variable name Name Data type Range Description
(1) i_bEN Execution command Bit ON, OFF ON: The FB is activated.
OFF: The FB is not activated.
(2) i_stModule Module label Structure The setting range
differs depending on
the module label.
Specifies the module label for the analog input/multiple
input module.
(3) i_uCH Target channel Word [Unsigned] ■FX5-4AD
1 to 4
Specifies a channel number.
■FX5-8AD
1 to 8
(4) i_bLogEnable Logging enable/
disable setting
Bit ON, OFF ON: Enables the logging function.
OFF: Disables the logging function.
(5) i_uLogData Logging data setting Word [Unsigned] 0: Digital output
value
1: Digital operation
value
Sets the data to be logged.
(16)
(15)
(14)
M+FX5-4AD_SetLoggingParam
(13)
(3)
(2)
(1)
o_uErrId
o_bErr
o_bOK
o_bENO
UW
B
B
B
UW
DUT
B
:
:
:
:
:
:
:
i_uCH
(4) B : i_bLogEnable
i_stModule
i_bEN
(6)
(5)
UW
UW
:
:
i_uLogCycleVal
i_uLogData
(9)
(8)
(7)
UW
UW
UW
:
:
:
i_uLogTrigCond
(10) UW : i_uLogTrigData
i_uLogPoints
i_uLogCycleUnit
(12)
(11)
UW
W
:
:
i_uUnitType
i_wLogTrigValue