
Chapter 8 Exercising program
8-29
4) GMWIN programming
After frame edit and download are completed, prepare program in GMWIN to save TX/RX data of TX frames.
Next figure shows GMWIN program for TX/RX communication with MJ71UC24. With 1 sec. timer, ‘RD_REQ’
frame is transmitted in a cycle of 1 sec. and 24 bytes of data received are saved in variable area of ‘RD1’ if
‘RD_DATA’ frame is received.
RX data is saved in variable defined to
RD1 of RCV_MSG Function Block with
variable allocation set to %MB100 and with
25 ARRAY variables reserved to receive
24 bytes data.
As a RX checking flag of
RD_DATA frame, it turns on
if the frame registered as
No.1 frame is received via
RS-422 channel of No.0 slot
Cnet I/F module.
Содержание GLOFA-GM Series
Страница 355: ...Appendix A 12 A 3 Dimensions of appearance G3L CUEA Unit mm 118 0 130 5 35 0 250 0 ...
Страница 356: ...Appendix A 13 G4L CUEA 107 0 121 5 35 0 135 0 ...
Страница 357: ...Appendix A 14 G6L CUEB G6L CUEC Dimensions of G6L CUEB G6L CUEC are identical with each other 81 1 90 0 35 0 110 0 ...