SC-HG1 Series FB Library Reference Manual for Mitsubishi MELSEC iQ-R series Sequencer
WUME-SCHG1IQRFB-1
42/184
Item
Description
Description of
functions
When Execution Command (i_bEN) is turned ON, this FB operates as specified in accordance with
various input values. The various settings are executed on the controller specified by Set Controller
(i_uSetController).
Teaching Steps (i_uTeachStep) allows you to select one of the following three teaching types:
"1-point teaching", "2-point teaching", and "3-point teaching".
Setting values Teaching operation
0
1-point teaching
1
2-point teaching
2
3-point teaching
Selecting "1-point teaching" requires you to set Shift Amount (i_udShiftAmount). The setting of
Shift Amount (i_udShiftAmount) x 0.0001mm is applied to the controller as a tolerance value. The
input value is ignored if you specify a different teaching setting.
If you select 2-point teaching, the larger displacement amount is used as the High Threshold and the
smaller as the Low Threshold regardless the order you input them in.
If you select 3-point teaching, the displacement amount settings are sorted in the descending order
regardless the order you input them in; the value in the middle between the maximum and the
median is as the High Threshold, the value in the middle between the median and the minimum as
the Low Threshold.
Upon completion of the various settings, Waiting Signal (o_bSignalWait) turns ON to indicate the
readiness for teaching.
Check that Waiting Signal (o_bSignalWait) is ON and, in the timing you want to perform teaching.
turn Input Signal (i_bInputSignal) from OFF to ON to ensure that the displacement amount required
for teaching is applied to the controllers. If you need to configure the settings twice or more times,
temporarily turn Input Signal (i_bInputSignal) from ON to OFF and wait for Waiting Signal
(o_bSignalWait) to turn ON, then turn Input Signal (i_bInputSignal) from OFF to ON.
Normal Completion (o_bOK) turns ON when the teaching is complete.
FB compilation
method
Macro type
FB behavior
Pulse execution type (multi-scan execution type)
i_bEN input condition None