A-1-3: Sample Program In Host; A-1-4: Outline Of System Operations - Mitsubishi A953GOT-SBD-M3-H Hardware Manual

Table of Contents

Advertisement

A953 HANDY GOT

A-1-3: Sample program in host

Sample programs (C language) in the host are stored in the SW D5C-GOTR-PACKE.
By selecting a sample program for microcomputer connection as an option while installing the
software package, the sample program is available.
For the operating procedure (about how to select the option) during installation, refer to the
SW D5C-GOTR-PACKE(V)OPERATING MANUAL.

A-1-4: Outline of system operations

The table below explains the system operations while dividing them into processing in the host,
display/processing in the GOT and data transfer packets.
Processing item
Initial processing
Receive of response/
interrupt from GOT
Termination processing
(executed only when error
response is received)
Contents of processing in host
Executes the port opening processing.
Writes "1" to the screen changeover
device (D20).
Receives a response from the GOT.
Judges whether there is an error in the
response from the GOT.
Writes the initial value to a device (D21).
When receiving
Issues the request
from the GOT a
to acquire the
response to write to
present value of
the device (D21)
the device (D21).
Prepares the next
device value (D21).
When receiving
Calculates the
from the GOT a
sum check of the
response to read
send packet.
from the device
Issues the
(D21)
request to update
the device (D21).
When receiving the
interrupt request to
Sets the base
change over from
screen status to
the base screen 1 to
the base screen 2.
the base screen 2
When receiving the
interrupt request to
Sets the base
change over from
screen status to
the base screen 2 to
the base screen 1.
the base screen 1
Executes the port closing processing.
Packet used in
Contents of display
data transfer
processing in GOT
Batch write packet
Displays the base
for changeover to
screen 1.
*1
screen 1
Displays "0" in the
Batch write packet
numeric display on
for numeric display
the base screen 1.
*2
Batch read packet
for numeric
Increments the
*3
display
numeric display on
the base screen 1.
(As far as the base
screen 1 is
displayed, the host
executes the
processing shown
on the left
Batch write packet
repeatedly.)
for numeric
*2
display
Changes over to
the base screen 2
Interrupt receive
when the touch
*6
switch 1 is touched.
packet
Notifies the host
through interrupt.
Changes over to
the base screen 1
Interrupt receive
when the touch
*6
switch 3 is touched.
packet
Notifies the host
through interrupt.
A-3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

A953got-lbd-m3-h

Table of Contents