User`s manual
236
(2) Precautions when using user frames
(a) To send/receive data using the user frames, it is necessary to set the user frame
number to be used in the buffer memory prior to data transmission/reception
(receive user frames must be set at the startup of the Q series C24).
The user frame number to be used can be set from the programmable controller CPU. However, please try to
register frames using the utility package (GX Configurator-SC) of the Q series C24.
(b) Set the receive user frame number by the programmable controller CPU to show the
procedure to receive data.
Receive user frame data by performing the following operations sequentially.
• If an user frame used in data reception was registered from programmable controller CPU, restart
programmable controller CPU.
• When starting the Q series C24, set the receive user frame No. to the buffer memory and write [1] to buffer
memory user frame use enable/disable designation area (addresses: ADH/14DH).
*1
• After the value of the buffer memory user frame use enable/disable designation area changes to [2], start
receiving data.
*1
• Check if the data from the external device was received normally.
*1 For details, refer to Page 252, CHAPTER 11.
(c) If the Q series C24 receives additional code data while receiving data with the non
procedure protocol, it does not assume that the last byte of data is the following
control data.
• Data received as user frame first frame, last frame ( Page 220, Section 9.1, Page 231, Section 9.2)
• Receive complete code data
Therefore, do not set a user frame containing data receive additional code data as a non procedure protocol
receive user frame.
(d) The arbitrary data area of a message received from an external device cannot
include data with the same contents (same code) as the last frame.
(e) In the following cases, set the data bit length of the transmission specification to 8
bits.
(It is set in the "transmission setting" of switch setting by GX Developer on the Q series C24 side.)
• When transmitting and receiving the sum check code of the variable data as binary data (Write code: FFH,
EEH/FFH, F0H/FFH, F4H/FFH, F6H)
• When transmitting and receiving a user frame containing data codes 80H to FFH
User frame
(first frame)
Arbitrary
dat area
User frame
(last frame)