Mitsubishi Electric MELFA CR800 Series Instruction Manual page 99

Hide thumbs Also See for MELFA CR800 Series:
Table of Contents

Advertisement

M_SfILogic
[Function]
Regarding functional safety input Logic, this returns the current value. (n = 1 to 3)
Logic Input state Enabled:1
Logic Input state Disabled:0
[Format]
Example) <Numerical variable> = M_SfILogic( <Logic number> )
[Terminology]
<Numerical variable> This specifies where to store the LOGICn input state.
<Logic number> This specifies a number for LOGIC whose state to be obtained.
• Setting range: 1 to 3
[Reference Program]
M1 = M_SfILogic(1)
[Explanation]
(1) This refers to the state of Logic Input for functional safety.
(2) Assigning a value other than 1 to 3 to <LOGIC number> causes the L.3880 error on execution.
M_SfIArea
[Function]
This refers to the Area Input state.
(Enabled:1, Disabled: 0)
[Format]
Example) <Numerical variable> = M_SfIArea( <Area number> )
[Terminology]
<Numerical variable> This specifies where to store the AREAn input state.
<Area number> This specifies a number for Area whose state to be obtained.
• Setting range: 1 to 3
[Reference Program]
M1 = M_SfIArea(1)
[Explanation]
(1) This refers to the Area Input state.
(2) Assigning a value other than 1 to 3 to <Area number> causes the L.3880 error on execution.
'The state of LOGIC1 is stored in M1.
'The value of Area1 is stored in M1.
5 STATE VARIABLE
State Variables 5-89

Advertisement

Table of Contents
loading

Table of Contents