Sample Program When An A68Adn Is Loaded To A Remote I/O Station (Using Anacpu Dedicated Instructions) - Mitsubishi Electric MELSEC A Series Manual

Programmable logic controller
Hide thumbs Also See for MELSEC A Series:
Table of Contents

Advertisement

5. PROGRAMMING
5.3
Sample program when an A68ADN is loaded to a remote I/O station (using AnACPU dedicated
instructions)
Sample program of initial setting and digital output value reading, using AnA
dedicated instructions, is explained below for the MELSECNET in which A2A(S1) or
A3ACPU functions as the master station and the A68ADN is loaded to a remote I/O
station.
[Sample Program Conditions]
(1) System configuration
A
A
A
3
X
Y
A
41
41
Power
C
supply
P
module
U
P
21
X00
X20
~
~
X1F
X3F
(2) Initial setting
(a) A-D conversion-enabled channel ..............................Channels 1, 2, 3, and 5
(b) Averaging processing by count ........................ Channel 3 (setting: 50 times)
(c) Averaging processing by time .......................... Channel 2 (setting: 1000 ms)
(d) Resolution setting...........................................................................2 (1/8000)
(3) Devices to be used
(a) Initial setting write command input signal ................................................ X20
(b) Write data error reset signal..................................................................... X23
(c) Digital output value read command input signal ...................................... X21
(d) M → R link registers ............................................................... W300 to W31F
(e) R → M link registers ............................................................... W320 to W32F
Power
supply
module
5 − 7
MELSEC-A
Remote I/O station No. 1
A
A
J
68
72
A
P
D
25
N
X/Y200
I/O number allocatio
~
in master station
X/Y21F

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents