Programming; Initial Setting Program And Digital Output Value Read Program - Mitsubishi Electric MELSEC A Series Manual

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

Advertisement

5. PROGRAMMING

5. PROGRAMMING
5.1

Initial setting program and digital output value read program

Initial setting programs for using the A68ADN and digital output value read programs
are explained below using sample programs.
[Sample Program Conditions]
(1) System configuration
A
3
Power
N
supply
C
module
P
U
X/Y00
~
X/Y1F
(2) Initial setting
(a) A-D conversion-enabled channels.............................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..................................................................... X21
(c) Digital output value read command input signal ...................................... X22
(d) Write data error occurrence external display ........................................... Y40
(e) Write data error code BCD output...................................................Y50 to 5B
(f)
Write data error code storage data register ...............................................D0
(g) A-D conversion-completion flag storage devices ............................ M0 to M7
(h) Digital output value read destination data registers ..................... D10 to D14
A
A
A
68
X
Y
A
41
41
D
N
(32
(32
device
device
points)
points)
X20
Y40
~
~
X3F
Y5F
5 − 1
MELSEC-A
~
I/O numbers

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents