User`s manual
284
11.3.3 Application example for data reception using a combination
that does not specify the first frame
In the description of this program example, conditions for data reception using a user frame are as follows.
(1) The Q series C24 I/O signals
The Q series C24 is installed at QCPU I/O signal addresses X/Y80 to X/Y9F.
(2) Q series C24 interface used in data communications with the external device
The Q series C24 CH1 side RS-232 interface is used.
(3) Data to be registered on the GX Configurator-SC "Transmission control and
other system settings" screen and "Non procedure system settings" screen
used for data communication using a user frame.
Change default values for the items listed in the table below.
Use default values for other items.
*1 This program example gives the registered contents of the user frame No. specified as the first frame No. and the last
frame No.
[When receiving with a combination that does not specify the first frame]
Item Set contents
Buffer memory address to
store registration value
Remarks
Word/byte units designation Word/byte 96H The unit is set to "Word" in the example.
Receive transparent code
designation
Yes 120H
Additional code: 10H (DLE),
Transparent code: 02H (STX)
ASCII-BIN conversion designation Do not convert 121H Select "Do not convert" in the example.
Received data count 6 to 511 A4H Set according to the example.
Receive complete code None A5H
User frame use enable/disable
designation
Use ADH
Page 285, Section 11.3.3 (3) (a)
First frame No. designation
*1
None AEH to B1H
Last frame No. designation
*1
Yes B2H to B5H
User frame receive format
designation
Format-0 2020H to 2023H
Page 285, Section 11.3.3 (3) (a)
Specify Format-0 for a combination that
does not specify the first frame.
Exclusive format-1 received data
count designation
0H 2024H to 2027H
Item User frame No. Registered code Registered data contents
First frame No.
1st 0H (none)
2nd 0H (none)
3rd 0H (none)
4th 0H (none)
Last frame No.
1st 419H 3BH, 04H ;, E0T
2nd 0H (none)
3rd 0H (none)
4th 0H (none)