Appendix 3.3 Adding The Scaling Operation Function To Sequence Program - Mitsubishi Electric MELSEC L Series Manual

Small type s intelligent function modules
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(2) Example of sequence program settings
(Setting conditions)
(a) Resolution of the AnS series module: 1/8000 (Only one channel is used.)
(b) L series module: L60AD4
(Example of scaling settings and scaling values (digital operation values) read program)
Setting request
condition
Present value
read condition
(Buffer memory areas of L60AD4 used by the scaling function
Address
Hexadeci-
mal
35
H
36
H
37
H
38
H
39
H
to
3E
H
3F
H
40
H
41
H
42
H
43
H
44
H
45
H
*1
For details of the scaling function, refer to the user's manual for the module used.

Appendix 3.3 Adding the scaling operation function to sequence program

Adding a scaling operation program to the L series sequence program can change a resolution.
(1) Example of scaling operation sequence program
(Sample program conditions)
(a) Resolution of the AnS series module: 1/4000
(b) Device that stores the present value read from the analog I/O module: D0
App
- 6
TOP
H0
TOP
H0
TOP
H0
FROMP H0
Description
Decimal
53
Scaling enable/disable setting
54
CH1 Scaling value (digital operation value)
55
CH2 Scaling value (digital operation value)
56
CH3 Scaling value (digital operation value)
57
CH4 Scaling value (digital operation value)
to
System area (Use prohibited)
62
CH1 Scaling lower limit value
63
CH1 Scaling upper limit value
64
CH2 Scaling lower limit value
65
CH2 Scaling upper limit value
66
CH3 Scaling lower limit value
67
CH3 Scaling upper limit value
68
CH4 Scaling lower limit value
69
CH4 Scaling upper limit value
Enable the scaling function of
K53
K1
K1
Channel 1.
Set the scaling lower limit
K62
K0
K1
value to "0".
Set the scaling upper limit
K63
K8000
K1
value to "8000".
Read the scaling value (digital
K54
D0
K1
operation value) of Channel 1
from the buffer memory.
*1
)
Default
Read/write
00FF
R/W
H
0
0
R
0
0
0
0
0
0
R/W
0
0
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-ans seriesMelsec-qnas series

Table of Contents