Denso RC5 Specifications Page 19

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 18
Chapter 7 PAC Language Configuration Elements
7.1 New Robot Language PAC............................................................................................................................. 7-1
7.2 Relation between PAC Robot Language and Conventional Languages ......................................................... 7-2
7.3 Language Element.......................................................................................................................................... 7-3
7.4 Name .............................................................................................................................................................. 7-3
7.5 Identifier ......................................................................................................................................................... 7-4
7.5.1 Variable ...................................................................................................................................................... 7-4
7.5.2 Function...................................................................................................................................................... 7-8
7.5.3 Label........................................................................................................................................................... 7-8
7.5.4 Program...................................................................................................................................................... 7-9
7.6 Data Type...................................................................................................................................................... 7-10
7.6.1 Character String........................................................................................................................................ 7-10
7.6.2 Numeric Value.......................................................................................................................................... 7-10
7.6.3 Vector ....................................................................................................................................................... 7-10
7.6.4 Pose .......................................................................................................................................................... 7-10
7.6.5 I/O (ON/OFF)........................................................................................................................................... 7-10
7.7 Data Type Conversion ...................................................................................................................................7-11
7.7.1 Numeric Value...........................................................................................................................................7-11
7.7.2 Character and Numeric Value....................................................................................................................7-11
7.7.3 Pose Type Data..........................................................................................................................................7-11
7.8 Constant........................................................................................................................................................ 7-12
7.8.1 Numeric Value Constant........................................................................................................................... 7-12
7.8.2 Character String Constant ........................................................................................................................ 7-14
7.8.3 Vector Type Constant ............................................................................................................................... 7-14
7.8.4 Pose Constant ........................................................................................................................................... 7-14
7.9 Expression and Operator .............................................................................................................................. 7-16
7.9.1 Assignment Operator................................................................................................................................ 7-16
7.9.2 Arithmetic Operator ................................................................................................................................. 7-16
7.9.3 Relational Operator .................................................................................................................................. 7-17
7.9.4 Logical Operator ...................................................................................................................................... 7-18
7.9.5 Character String Operator ........................................................................................................................ 7-18
7.9.6 Vector Operation ...................................................................................................................................... 7-19
7.9.7 Position Operation.................................................................................................................................... 7-19
7.9.8 Joint Operation......................................................................................................................................... 7-20
7.9.9 Homogeneous Transformation Array Operation ...................................................................................... 7-20
7.9.10 Operator Precedence (Version 1.5 or later) .............................................................................................. 7-20
7.10 Units for the PAC Language......................................................................................................................... 7-22
Chapter 8 PAC Language Syntax
8.1 Statement and Line ......................................................................................................................................... 8-1
8.2 Program Name and Declaration ..................................................................................................................... 8-2
8.3 Label............................................................................................................................................................... 8-3
8.4 Character Set .................................................................................................................................................. 8-4
8.5 Reserved Word ............................................................................................................................................... 8-5
8.6 Declaration Statement..................................................................................................................................... 8-6
8.6.1 Type Declaration ........................................................................................................................................ 8-6
8.6.2 Function/program Declaration ................................................................................................................... 8-9
8.6.3 User Coordinate System Declaration ......................................................................................................... 8-9
8.7 Assignment Statement .................................................................................................................................. 8-10
8.7.1 Numeric Value Assignment Statement ..................................................................................................... 8-10
8.7.2 Character String Assignment Statement ................................................................................................... 8-10
8.7.3 Vector Assignment Statement................................................................................................................... 8-10
8.7.4 Pose Assignment Statement.......................................................................................................................8-11
Page view 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 691 692

Comments to this Manuals

No comments