
Chapter 8 Exercising program
8-42
Remark
[Note1] HEX data of CONST segment can be set in an even number unit in frame edit. If ‘00’ is in CONST
data, setting is unavailable. In this case, set only ‘00’ area to ARRAY.
5) GMWIN programming
After frame edit and download are completed, prepare TX/RX program via SND_MSG/RCV_MSG in GMWIN for
TX/RX of the prepared frames. [Figure 8.21] shows TX/RX program to read data of temperature controller. It
requests Read by transmission of ‘Temperature’ Function Block in a cycle of 1 sec. and receives its response
frame to ‘Response’ Function Block to save HEX data of STAUTS and temperature data of 24 bytes among RX
data to RD_DATA area temporally. Temporal data of RD_DATA if STATUS value is ‘0’ saves 24 bytes of RX
data in starting %MB300 address in order through this program.