10
2 ANALOG INPUT MODULE, MULTIPLE INPUT MODULE FB
2.3 M+Model_SetLoggingParam
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. For the setting options of GX Works3, refer to GX Works3 Operating Manual.
Processing • Turning on i_bEN (execution command) allows the logging function of a specified channel to be set.
• This FB works for only one shot as i_bEN (execution command) turns on.
• The set value is enabled by turning on and off 'Operating condition setting request' (Un\G70.b9) or executing the operating
condition setting request operation FB (M+Model_RequestSetting).
• When the setting values of target channel are out of range, o_bErr (Error completion) turns on, and the FB processing are
stopped. Also, Error code 100 (Hexadecimal) is stored in o_uErrId (Error code). For the error code, refer to Page 11
Error code.
• When the setting values of module type are out of range, o_bErr (Error completion) turns on, and the FB processing are
stopped. Also, Error code 101 (Hexadecimal) is stored in o_uErrId (Error code). For the error code, refer to Page 11
Error code.
FB compilation method Macro type
FB operation Pulse execution type (single scan execution type)
Timing chart of I/O signals [For normal completion]
[For error completion]
Restrictions or precautions • This FB does not include the error recovery processing. Program the error recovery processing separately in accordance
with the required system operation.
• This FB cannot be used in an interrupt program.
• Using the FB in a program that is to be executed only once, such as a subroutine program or a FOR-NEXT loop, has a
problem that i_bEN (execution command) can no longer be turned off and normal operation is not possible; Always use the
FB in a program that is capable of turning off the execution command.
• To use more than one of this FB, care must be taken to avoid duplication of the target channel.
• The FB requires the configuration of the ladder for every input label.
• If the parameters are set by means of the module parameters of GX Works3, this FB is not required.
• When operating the analog input module and multiple input module, the input range 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.
Logging function parameter
setting write processing
o_bErr
o_uErrId
0
Write
Unexecuted
Unexecuted
i_bEN
o_bENO
o_bOK
Logging function parameter
setting write processing
o_bErr
o_uErrId
Unexecuted
Error code00
i_bEN
o_bENO
o_bOK