Sfc Information - Mitsubishi Electric MELSEC iQ-R Series User Manual

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

SFC information

The following is a list of special relay areas relating to SFC information.
No.
Name
Data stored
SM320
Presence/absence
Off: No SFC program
*1
of SFC program
On: SFC program
SM321
Start/stop SFC
Off: SFC program not
*1
program
On: SFC program
SM322
SFC program start
Off: Initial start
*1
status
On: Resumption
SM323
Presence/absence
Off: No continuous
of continuous
transition for entire
On: Continuous
*1
block
SM324
Continuous
Off: When transition
transition prevention
*1
flag
On: When there is no
SM325
Output mode at
Off: Off
*1
block stop
On: Hold
SM326
SFC device/label
Off: Device/label clear
*1
clear mode
On: Device/label retain
SM327
Output mode at
Off: Hold step output off
execution of the end
On: Hold step output
*1
step
SM328
Clear processing
Off: Clear processing
mode when the
sequence reaches
On: Clear processing
*1
the end step
SM329
Online change (SFC
Off: Not being executed
*1
block) status flag
On: Being executed
*1 There are restrictions on the firmware version of the CPU module and software version of the engineering tool. ( Page 747 Added
and Enhanced Functions)
For details on the SFC program, refer to the following.
 MELSEC iQ-R Programming Manual (Program Design)
Details
• This relay switches to on if an SFC program has been registered, and
switches to off if it has not.
• The same value as SM320 is set for the default value. (This relay
executed (stop)
automatically turns on if there is an SFC program.)
• SFC program execution is stopped if this relay switches from on to off,
executed (start)
and execution is restarted when it switches from off to on.
• If this relay switches off before SFC program processing, execution of
the SFC program is not started.
• If the SFC program start mode in the parameters is off for initial start, off
is set for the default, and if resumption, on is set.
• Sets whether there is a continuous transition for blocks for which no SFC
transition
information device continuous transition bit has been set.
• No continuous transition when off. Continuous transition when on.
transition
• There is no effect on operation for blocks for which the continuous
transition bit has been set.
• This relay switches to off during operation in modes with continuous
executed
transition, or during continuous transition, and switches to on when it is
not a continuous transition.
transition
• The relay is always on during operation in modes with no continuous
transition.
• Selects whether to retain coil output for active steps during block
stoppages.
• The default value when the output mode for block stoppages in the
parameters is coil output off is off, and on when coil output is retained.
• All coil outputs are turned off when off. Coil outputs are retained when
on.
• Select the device status (all devices and labels (including latch labels)
excluding step relay (S)) when the CPU module status changes from
STOP  program write  RUN.
• This relay is valid only when an SFC program exists after program
writing.
• This relay is valid not only when an SFC program is written, but also
when the program file and the parameter file are written.
• Only labels are cleared at program writing to the programmable
controller after data are rebuilt even though this relay is on.
• When this relay switches to off, coil output is turned off for steps (SC, SE,
ST) for which transition is established and that are on hold reach the
retained
END step.
• When this relay switches to on, coil output is retained (step becomes
inactive) for steps (SC, SE, ST) for which transition is established and
that are on hold reach the END step. However, coils are turned off
following forced termination.
• Selects whether to perform clear processing if an active step other than
performed
those retained in the block exists when the END step is reached. When
this relay switches to off, all active steps are forcibly terminated, and the
not performed
block is terminated. When this relay switches to on, block execution is
continued as is. When the END step is reached, if no active steps other
than those retained exist, all retained steps are terminated, and the block
is terminated.
This relay turns on while the online change (SFC block) is being executed.
Set by (setting
timing)
S (Initial)
S (Initial)/U
S (Initial)/U
U
S (Status change)
S (Initial)/U
U
U
U
S (Status change)
Appendix 4 List of Special Relay Areas
A
APPX
651

Advertisement

Table of Contents
loading

Table of Contents