Program Examples; Program Examples For Use Of The Acpu/Qcpu (A Mode) (From/To Instructions) - Mitsubishi AJ65SBT-64AD User Manual

Analog-digital converter module
Hide thumbs Also See for AJ65SBT-64AD:
Table of Contents

Advertisement

5 PROGRAMMING

5.2 Program Examples

5.2.1 Program examples for use of the ACPU/QCPU (A mode) (FROM/TO instructions)

This section provides the program examples of the AJ65SBT-64AD.
The program examples in this section are created under the following conditions.
A sequence program is used to set the network parameters.
[Relationships between PLC CPU, master module and AJ65SBT-64AD]
PLC CPU
Device X
X100 to X10F
X110 to X11F
Device Y
Y100 to Y10F
Y110 to Y11F
Device D
D200
D201
D202
D203
Device D
D300
D301
D302
D303
[Initial settings]
A/D conversion enabled channels .................Channels 1, 2
Moving average processing channel.............Channel 2 count setting = 16 times
Input range setting .........................................Channel 1: 0 to 5V
Master module
Remote input (RX)
Address
E0
RX00 to RX0F
H
E1
RX10 to RX1F
H
Remote output (RY)
160
RY00 to RY0F
H
161
RY10 to RY1F
H
Remote register (RWw)
1E0
RWw0
H
1E1
RWw1
H
1E2
RWw2
H
1E3
RWw3
H
Remote register (RWr)
2E0
RWr0
H
2E1
RWr1
H
2E2
RWr2
H
2E3
RWr3
H
Channel 2: User range setting 1
5 - 2
MELSEC-A
AJ65SBT-64AD
(Station number 1)
Remote input (RX)
RX00 to RX0F
RX10 to RX1F
Remote output (RY)
RY00 to RY0F
RY10 to RY1F
Remote register (RWw)
RWw (A/D conversion
enable/prohibit specification)
RWw1 (Input range setting)
RWw2 (Moving average processing
count setting)
RWw3 (Reserved)
Remote register (RWr)
RWr (CH.1 digital output value)
RWr1 (CH.2 digital output value)
RWr2 (CH.3 digital output value)
RWr3 (CH.4 digital output value)

Advertisement

Table of Contents
loading

Table of Contents