19.7 System Configuration Examples
19 - 89
17
CONNECTION TO
ALLEN-BRADLEY PLC
18
CONNECTION TO
SIEMENS PLC
19
MICROCOMPUTER
CONNECTION
20
CONNECTION TO OMRON
TEMPERATURE
CONTROLLER
21
CONNECTION TO
YAMATAKE TEMPERATURE
CONTROLLER
22
CONNECTION TO RKC
TEMPERATURE
CONTROLLER
23
CONNECTION TO
FREQROL SERIES
INVERTER
24
SERVO AMPLIFIER
CONNECTION
3 Host side sample program
The sample program (written in C) on the host side is included in GT Designer2 and installed when GT
Designer2 is installed.
4 Outline of system operation
The following describes the processing on the host side, display/processing on the GOT side, and data
transfer packets.
Processing Processing on host side
Packet used for data
transfer
Display/Processing on GOT side
Initial processing
Opens the port.
Writes "1" to the screen switching device (D20).
Screen 1 batch
switchingWrite packet
*1
Displays base screen 1.
Receives a response from the GOT.
Judges whether or not there is an error in the
response from the GOT.
Writes an initial value to device (D21).
Batch numerical value
displayWrite packet*
2
Displays "0" on the numerical
value display on base screen 1.
Reception of response/
interrupt from GOT
When receiving a
response to writing to
device (D21) from the
GOT
Issues the current value
acquisition request to
device (D21).
Batch numerical value
displayRead packet*3
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.))
When receiving a
response to reading of
device (D21) from the
GOT
Creates the next device
value (D21).
Calculates the sum
check of the send
packet.
Issues the update
request of device (D21).
Batch numerical value
display
Write packet
*2
When receiving an
interrupt requesting the
base screen switching
from 1 to 2
Sets the state of the
base screen to base
screen 2.
Interrupt receive
packet
*6
Touch touch switch 1 to switch to
base screen 2. Notify the host by
an interrupt.
When receiving an
interrupt requesting the
base screen switching
from 2 to 1
Sets the state of the
base screen to base
screen 1.
Interrupt receive
packet
*6
Touch touch switch 3 to switch to
base screen 1. Notify the host by
an interrupt.
End processing
(only when receiving an error
response)
Close the port.