Mitsubishi Electric MELSEC iQ-F Series Reference Manual page 16

Cam output control function block reference
Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

Item
Restrictions and
precautions
Relevant manual
Performance value
Error code
Error code
(hexadecimal)
100H
102H
103H
104H
FB version upgrade history
Version
00A
Note
This chapter includes information related to the function block.
It does not include information on restrictions of use such as combination with modules or programmable controller CPUs.
Please make sure to read user's manuals for the corresponding products before using the products.
3 SPECIFICATION
14
3.1 Details of the FB Library
Description
(1) This FB does not include error recovery processing. Program the error recovery processing separately in accordance with the
required system operation.
(2) This FB uses M+Global_FX5CPU_CamCtr (Output data of 3CH (Unlatched data)) and M+Global_FX5CPU_CamCtrLatch
(Setting data of 3CH (Latch data)).
(3) In the setting of i_u16AngleSet (Control angle), when the output ON angle is larger than the output OFF angle in a STEP, the
ON section is across the control angle 0.
(4) The error check for i_u16AngleSet (Control angle) in this FB does not consider the ON/OFF angle advance amount set in
Page 15 M+CamCtr_AngleAdvFunc_F (Automatic angle advance function setting).
(5) This FB is required to be called 48 times at a maximum for one channel since the output control can be performed for 48 points
at a maximum per channel.
(6) Turn off i_bEN (Execution command) after o_bOK (Normal completion) or o_bErr (Error completion) is turned on. By turning off
i_bEN (Execution command), o_bOK (Normal completion) and o_bErr (Error completion) are turned off and o_uErrId (Error
code) is cleared to 0.
(7) When o_bErr (Error completion) is turned on, the values set in the input label are not reflected and thus the settings remain the
same as before the FB execution.
(8) When the power is turned off, unCamOutput (Cam output data) of M+Global_FX5CPU_CamCtr (Output data of 3CH
(Unlatched data)) is cleared. Execute this FB while i_bTableDataSet (Table data set) is on and generate unCamOutput (Cam
output data) of M+Global_FX5CPU_CamCtr (Output data of 3CH (Unlatched data)) again.
The local label is cleared by STOP  RUN.
(9) 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 i_bEN (Execution command).
(10)This FB requires the configuration of the ladder for every input label. Set the global label as necessary.
(11)The capacity of the latch label must be 5.03 KB or more for using this FB.
• MELSEC iQ-F FX5 User's Manual (Startup)
• MELSEC iQ-F FX5U User's Manual (Hardware)
• MELSEC iQ-F FX5UC User's Manual (Hardware)
• MELSEC iQ-F FX5 User's Manual (Application)
• MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
• MELSEC iQ-F FX5 Programming Manual (Program Design)
• GX Works3 Operating Manual
(1) When cam output data is set: 3.2 ms
(2) When table data is set: 3.0 ms
(3) When table data is cleared: 850 s
Description
The setting value of i_uCh (Channel number) is out of range.
The setting value of i_uCamNo (Cam output number) is out of
range.
The setting value of i_uResolution (Resolution) is out of range.
The setting value of i_u16AngleSet (Control angle) is out of
range.
Date
Description
January 2019
First edition
Action
Review and correct the setting and then execute the FB again.
Review and correct the setting and then execute the FB again.
Review and correct the setting and then execute the FB again.
Review and correct the setting and then execute the FB again.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5Melsec iq-f fx5uMelsec iq-f fx5uc

Table of Contents