Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 323

Process control function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Inverse engineering value conversion
This function block converts the setting value (SV) into a value in percentage (%) within the engineering value range of RL to
RH.
SV-RL
CASOUT(%) =
× 100
RH-RL
CASOUT: Cascade output
RH: Engineering value high limit
RL: Engineering value low limit
SV: Setting value
CASOUT(%)
100
50
0
RL
■Initial start function
In the MAN mode, this function block initializes the executing step number (STC) and the time in the step (T_) on the rising
edge of an input variable INITSTART command, and switches the control mode to the AUT mode.
Type
Variable name
Loop tag
STC
T_
Public variable
TCNT
TMCNT
■FB multi-link function
To create a program having over 32 steps, link multiple tag FBs of the M+M_PGS2_ type or user-defined tag FBs of the PGS2
type so that they function as a program setter, and perform the following operations.
• Use a common setting value for the multiple FBs so that the same setting value will be the last output value even after the
setting value of an FB has changed.
• The control mode of the following FB is preferentially managed, so that multiple FBs are not switched to the AUT mode
when the AUT mode is switched.
• The process variable input to the start FB is copied to the process variable of the following FB.
For programs having multi-linked FBs, refer to the following.
Page 428 M+M_PGS2_
SV
RH
Data type
INT
INT
INT
INT
Description
Executing Step No.
Time in the step
Second counter for minute mode.
Millisecond counter for second
mode.
10 LOOP CONTROL OPERATION
10.25 Multi-Point Program Setter (M+P_PGS2_)
Value to be initialized
0
0
0
0
321
10

Advertisement

Table of Contents
loading

Table of Contents