User`s manual

16
CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES
FOR DATA COMMUNICATION 220
9.1 User Frame Types and Contents During Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
9.1.1 User frames to be registered and used by the user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221
9.1.2 Default registration frame (read only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .230
9.2 Transmission/Reception Processing Using User Frame Register Data . . . . . . . . . . . . . . . . . 231
9.3 Precautions when Registering, Reading, Deleting and Using User Frames . . . . . . . . . . . . . 235
9.4 Register/Read/Delete User Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
9.4.1 Registering user frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240
9.4.2 Reading user frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241
9.4.3 Deleting user frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .242
CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES 243
10.1 User Frame Data Communications Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
10.2 User Frame Types and Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
10.3 User Frame On-Demand Data Transmission and Buffer Memory Used . . . . . . . . . . . . . . . . 244
10.4 On-Demand Function Control Procedure During User Frame Use . . . . . . . . . . . . . . . . . . . . 246
10.4.1 Data communication using the ASCII code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .246
10.4.2 Data communications using the binary code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .248
10.5 Example of an On-Demand Data Transmission Program Using User Frames. . . . . . . . . . . . 250
CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES 252
11.1 Overview of Data Communication Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
11.2 Data Reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
11.2.1 About reception data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .254
11.2.2 Timing for start/completion of data reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .262
11.2.3 Receive procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266
11.2.4 User frame setting for reception. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267
11.3 Receive Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
11.3.1 Sequence program example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .273
11.3.2 Application example for data reception using a combination that specifies the first frame
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278
11.3.3 Application example for data reception using a combination that does not specify
the first frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .284
11.4 Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
11.4.1 Send data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286
11.4.2 Transmission procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
11.4.3 Settings for transmission user frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .289
11.5 Transmission Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES 296
12.1 Handling the Transparent Code and Additional Code Data . . . . . . . . . . . . . . . . . . . . . . . . . . 296
12.2 Registering Transparent Codes and Additional Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298