Mitsubishi Electric GOT2000 Series Connection Manual page 151

Graphic operation terminal
Hide thumbs Also See for GOT2000 Series:
Table of Contents

Advertisement

■3. Outline of system operation
The following describes the processing on the host side, display/processing on the GOT side, and data transfer
packets.
(Assuming that host side programs use programs which perform the processing on host side shown below.)
Processing
Opens the port.
Writes "1" to the screen switching device (D20).
Receives a response from the GOT.
Initial processing
Judges whether or not there is an error in the response
from the GOT.
Writes an initial value to device (D21).
When receiving a response
to writing to device (D21)
from the GOT
When receiving a response
to reading of device (D21)
from the GOT
Reception of
response/interrupt from GOT
When receiving an interrupt
requesting the base screen
switching from 1 to 2
When receiving an interrupt
requesting the base screen
switching from 2 to 1
End processing
(only when receiving an error
Close the port.
response)
*1
Displays the send packet structure of the screen 1 batch switching write packet.
*2
Displays the send packet structure of the numerical value display batch write packet.
*3
Displays the send packet structure of the numerical value display batch read packet.
*4
Displays the receive packet structure of the batch write response packet.
Processing on host side
Issues the current value
acquisition request to
device (D21).
Creates the next device
value (D21).
Calculates the sum check
of the send packet.
Issues the update request
of device (D21).
Sets the state of the base
screen to base screen 2.
Sets the state of the base
screen to base screen 1.
Number of
STX
Command
Address
points
W
D
0
0
2
0
0
02
57
44
30
30
32
30
30
H
H
H
H
H
H
H
H
(H)
(L)
(H)
(L)
(H)
Sum check is performed in this range.
Number of
STX
Command
Address
points
W
D
0
0
2
1
0
02
57
44
30
30
32
31
30
H
H
H
H
H
H
H
H
(H)
(L)
(H)
(L)
(H)
Sum check is performed in this range.
STX
Command
Address
R
D
0
0
2
02
52
44
30
30
32
H
H
H
H
H
H
(H)
(L)
(H)
Sum check is performed in this range.
When normally operated
ACK
06
H
Packet used for data
transfer
――
Screen 1 batch switching
*1
Write packet
――
――
Batch numerical value
*2
display write packet
Batch numerical value
*3
display read packet
――
――
Batch numerical value
*2
display write packet
Interrupt
*6
receive
Interrupt receive
*6
packet
――
Sum
Data 1 (D20)
ETX
Check
1
0
0
0
1
8
2
31
30
30
30
31
03
38
32
H
H
H
H
H
H
H
H
(L)
(H)
(L)
(H)
(L)
Sum check
ETX
Data 1 (D21)
(Changes
1
(any value)
according to
31
03
data section.)
H
H
(L)
(H)
(L)
(H)
(L)
Number of
Sum
ETX
points
Check
1
0
1
B
D
31
30
31
03
42
44
H
H
H
H
H
H
(L)
(H)
(L)
(H)
(L)
When an error occurred
NAK
15
H
2.7 System Configuration Examples
Display/Processing on GOT side
――
Displays base screen 1.
――
――
Displays "0" on the numerical
value display on base screen 1.
Increments the numerical value
displayed on base screen 1.
(The host side repeats the
processing on the left as long as
base screen 1 is displayed.))
Touch touch switch 1 to switch to
base screen 2.Notify the host by
an interrupt.
Touch touch switch 3 to switch to
base screen 1.Notify the host by
an interrupt.
――
2 - 89
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents