
Chapter 7 Communication function
7-17
④
Transmission frame where setting of Header, Tail and Segment is completed is shown in [Figure 7.7].
To transmit transmission frame along with data, a transmission program is to be prepared in GMWIN
program via SND_MSG Function Block.
[Figure7.7] Setting screen of Write request frame.
(2)
Registration of Read data frame: Read data frame of frame structure as in [Table 7.7] is registered
according to the sequence below.
①
Select the 2
nd
item of frame list in Frame Editor and input ‘RD_DATA’ to frame name. And then select
RECEIVE in TX/RX, input ‘IMM_RESPONSE’ in immediate response frame and data below to Header.
Next is the input result.
②
Input segment : Since ‘RD24’ in receiving frame body area of [Table 7.7] is constant area unchanged,
set it to CONST and input ‘RD24’. Since data area is variable area changeable per receiving frame, set
type to ARRAY, input ‘RD1’ and input 24, the number of receiving data to size. As for receiving data
which is ASCII figure, select Convert to convert ASCII data to HEX.