13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION
13.1 User Frame Types and Contents During Communication
253
13
■Calculating ranges for the registered codes
The following shows the calculating ranges for the registered codes.
*1 The additional code data for the transparent code designation shown below is excluded.
Page 326 TRANSPARENT CODES AND ADDITIONAL CODES
Variable data registered code
■C24 processing to the registered code FFH+00H
The following shows an example to describe the processing performed by C24 when it receives a user frame portion
corresponding to registered codes FFH and 00H.
When setting a user frame containing the data codes 02H, FFH, 00H, and 3BH for a receive user frame as user frame
number, 3EAH
• C24 performs the reception processing as the user frame, 3EAH has been received when it receives 3 bytes of data, "STX,
arbitrary data (for 1 byte), ;".
• C24 does not check the 2 bytes described above.
■C24 processing to the registered code FFH+01H
C24 transmits and receives the user frame portion corresponding to registered code, FFH+01H by representing the station
number set in the parameter as 1-byte binary data.
For the usage example, refer to the start frame portion in the figures below.
Page 254 C24 processing to registered codes FFH+04H, FFH+05H, FFH+0AH, and FFH+0BH
Calculating ranges Target range
*1
Range 1 When
transmitting
Range from the data following the start frame (the user frame (1st) when multiple user frames are designated) to the one
immediately before the registered code
When
receiving
Range from the data following the start frame to the one immediately before the registered code
Range 2 When
transmitting/
receiving
Range from the head of a message to the data immediately before the registered code
Range 3 When
transmitting
Range from the data following the start frame (the user frame (1st) when multiple frames are designated) to the one
immediately before the final frame (the user frame (nth) when multiple frames are designated)
When
receiving
Range from the data following the start frame to the one preceding the final frame
Range 4 When
transmitting/
receiving
Range from the head of a message to the data preceding the final frame
Range 4 Range 4
Range 3 Range 3
User frame
(First frame)
User frame
(Last frame)
User frame
(1st)
User frame
(2nd)
User frame
("n-1"th)
User frame
("n"th)
Arbitrary data
Register
code
Register
code
H
FFH H
FFH
Range 1 Range 1
Range 2 Range 2
(Calculation range when receiving data)
(Calculation range when transmitting data)
1
31
H
; AB
02
H
3B
H
42
H
41
H
S
T
X
Receive data
Receive data
code
Check
If the 02H and 3BH data portions match, they are processed as if
user frame No. 3EAH mentioned above was received