Communication With Programmable Controller Cpu; General-Purpose Readiwrite; General-Purpose - Mitsubishi Melsec A User Manual

Table of Contents

Advertisement

7. COMMUNICATION WITH PROGRAMMABLE CONTROLLER CPU
The AD51 occupies
48 1 1 0
points and is provided with 13 digital
inputs and 10 digital outputs as well as a 3K word buffer memory.
The following section describes communication between the PC CPU
and the AD51. It is assumed that the AD51 is located at slot 0 and
1 of the main base unit and that any BASIC program is written in
channel 1.
POINT]
The AD51 can only communicate with the PC CPU at i t s
own station. When using the system subroutines therefore,
always specify the station number as FFH (i.e. host).
7.1 General-Purpose
1 1 0
ReadIWrite
The AD51 can access the general-purpose I10 immediately and
continuously using the "PEEK"
and "POKE" commands. This
eliminates the need t o use the data memory readlwrite system sub-
routines which are only processed when the "END" or "COM"
instruction is executed in the PC CPU.
Output Y29 from the PC CPU can be used as an interrupt signal t o
the AD51, see Section 7.5.

Advertisement

Table of Contents
loading

Table of Contents