7
6-3-2 Serial port configuration......................................................................................................280
6-3-3 Suitable occasion.................................................................................................................282
6-3-4 Free communication instruction.......................................................................................... 282
6-3-5 Free communication example ..............................................................................................286
6-4 COMMUNICATION FLAG AND REGISTER.......................................................................................292
6-5 READ WRITE SERIAL PORT PARAMETERS ......................................................................................296
6-5-1 Read serial port parameters [CFGCR] ................................................................................ 296
6-5-2 Write serial port parameters [CFGCW]...............................................................................297
6-5-3 Serial port parameter name and setting............................................................................... 298
7 PID CONTROL FUNCTION ...................................................................................................300
7-1 PID INTRODUCTION .....................................................................................................................300
7-2 INSTRUCTION FORM .................................................................................................................... 300
7-3 PARAMETERS SETTING .................................................................................................................302
7-3-1 Register and their functions.................................................................................................303
7-3-2 Parameters Description........................................................................................................307
7-4 AUTO TUNE MODE ...................................................................................................................... 309
7-5 ADVANCED MODE ........................................................................................................................312
7-6 APPLICATION OUTLINES ............................................................................................................... 313
7-7 APPLICATION................................................................................................................................313
8 C LANGUAGE FUNCTION BLOCK .................................................................................... 319
8-1 SUMMARY ....................................................................................................................................319
8-2 INSTRUCTION FORMAT .................................................................................................................319
8-3 OPERATION STEPS ........................................................................................................................320
8-4 IMPORT AND EXPORT THE FUNCTIONS ........................................................................................ 323
8-5 EDIT THE FUNC BLOCKS..............................................................................................................324
8-6 PROGRAM EXAMPLE....................................................................................................................326
8-7 NEW FUNCTIONS ..........................................................................................................................329
8-8 FUNCTION LIBRARY ..................................................................................................................... 331
8-8-1 New function....................................................................................................................... 332
8-8-2 Basic functions.................................................................................................................... 332
8-8-3 Newly build......................................................................................................................... 332
8-8-4 Edit ...................................................................................................................................... 336
8-8-5 Export.................................................................................................................................. 339
8-8-6 Import.................................................................................................................................. 340
8-8-7 Other functions.................................................................................................................... 341
8-9 APPLICATION NOTES .................................................................................................................... 347
8-10 Q&A OF C LANGUAGE .............................................................................................................. 350
8-11 FUNCTION TABLE .......................................................................................................................352
9 SEQUENCE BLOCK................................................................................................................356
9-1 CONCEPT OF THE BLOCK...........................................................................................................356
9-2 CALL THE BLOCK ...................................................................................................................... 357
9-2-1 Add the BLOCK ..................................................................................................................357
tudonghoatoancau.com