Table of Contents - TG Drives
Table of Contents - TG Drives Table of Contents - TG Drives
54 Stack handling EXTENDED REGISTER GROUPS Group name Number Description Page XENDAT 56 Feedback interface for ENDAT sensor. 163 Counter 57 Count an external hardware event. 172 Identifier 58 Identify each DMC in a group. 175 RDPDATA 59 Generell access to PDATA tables 176 SAnyBus 60 Anybus-S interface (HMS modules) 178 ABInMail 61 Mail message handling with the Anybus-S modules ABOutMail 62 Mails received from the Anybus-S modules 189 ABFBus 63 Fieldbus specific information 190 EN1 64 Connection points for feedback sensors in the DMC2 system EN2 65 See EN1 191 EN3 66 See EN1 191 EN4 67 See EN1 191 IENC 69 Incremental encoder interface 193 ModEN3 72 Extension of EN3 with modula calculation 195 ModEN4 73 Extension of EN4 with modula calculation 195 GROUP MEMBERS. (GROUP XX) Each group is started with the following heading: Group Group No. Description Group is the PL name, Group number can be used when communicating in computer mode. The first Group.Member in each group is started with the following heading: Group.Member Member No. User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001 188 191 Range Ability Default Group.Member is the PL name, Member number can be used when communicating in computer mode. The range indicate the members numerical range and the Ability is read/write ability according to: R = Readable W = Write able RW = Read- and Write able. (W) = Write able under certain conditions NYI = Not Yet Implemented
EXTENDED REGISTER GROUPS STACK HANDLING Group Group No. Description Stack handling Stack 1 The register bank, Stack, is a circular stack that can accommodate 64 register values, 32 bits wide. Since the stack is circular, there is no error trap when pushing the 65th number on the stack; however, the 1st number is overwritten. GENERAL The stack group consists of 64 registers (32 bit) that can be used by the application program for temporary storage of data. The function is circular when data is taken (poped) from the stack and linear when data is pushed onto the stack. The system uses the stack for temporary storage of interrupt masks when Int.Mode = 1. FUNCTION Data is placed onto the stack with the PUSH statement where the argument can be a register or a constant. Data is taken from the stack with the POP statement where the argument must be a register. The value in Stack.63 is lost when a PUSH statement is executed. Reset status: After one entry: (PUSH Data1) After two entries: (PUSH Data2) Stack.63 0 0 0 Data2 . . . . . Stack.5 0 0 0 0 Stack.4 0 0 0 0 Stack.3 0 0 0 0 Stack.2 0 0 0 0 Stack.1 0 0 Data 1 0 Stack.0 0 Data 1 Data 2 Data 1 RELATED ITEMS PUSH or PUSH or POP Int.Mode = 1 See Group number 10 (Int) for information. EXAMPLE USAGE Transfer data to a subroutine for conversion. After one recall: (POP ) User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001 55
- Page 3 and 4: Table of Contents Table of Contents
- Page 5 and 6: Related items .....................
- Page 7 and 8: Related items .....................
- Page 9: Creating/Editing Source Code ......
- Page 12 and 13: 12 System architecture register val
- Page 14 and 15: 14 B002 Timing and execution flow T
- Page 16 and 17: 16 Function Block Diagram SOFTWARE
- Page 18 and 19: 18 Function Block Diagram Figure 5.
- Page 20 and 21: 20 Function Block Diagram Function
- Page 22 and 23: 22 Load a new firmware release SOFT
- Page 24 and 25: 24 User's Manual 5.1 Inmotion Techn
- Page 26 and 27: 26 Argument types executing results
- Page 28 and 29: 28 Mnemonic Operators PL2 NATIVE PO
- Page 30 and 31: 30 Compiler Symbols PL2 NATIVE POSI
- Page 32 and 33: 32 Compiler directives PL2 NATIVE P
- Page 34 and 35: 34 Compiler directives Warnings: No
- Page 36 and 37: 36 Spline function compilation dire
- Page 38 and 39: 38 Multiline Macro MACRO DEFINITION
- Page 41 and 42: PL2 Mnemonics GENERAL The general f
- Page 43 and 44: PL2 MNEMONICS Standard set Mnemonic
- Page 45 and 46: PL2 MNEMONICS TRACE RELATED MNEMONI
- Page 47 and 48: PL2 MNEMONICS Indexed Addressing Mn
- Page 49 and 50: PL2 MNEMONICS If r_length < r_Membe
- Page 51 and 52: PL2 MNEMONICS Text mode \000 Intern
- Page 53: Extended register groups INTRODUCTI
- Page 57 and 58: EXTENDED REGISTER GROUPS RD1, Resol
- Page 59 and 60: EXTENDED REGISTER GROUPS RD1, Resol
- Page 61 and 62: EXTENDED REGISTER GROUPS RD1.FiltSp
- Page 63 and 64: EXTENDED REGISTER GROUPS RD2, Resol
- Page 65 and 66: EXTENDED REGISTER GROUPS RD2, Resol
- Page 67 and 68: EXTENDED REGISTER GROUPS RD2.ChkLow
- Page 69 and 70: EXTENDED REGISTER GROUPS Pos Inc Pr
- Page 71 and 72: EXTENDED REGISTER GROUPS Pg.ASpeed
- Page 73 and 74: EXTENDED REGISTER GROUPS MOTOR, MOT
- Page 75 and 76: EXTENDED REGISTER GROUPS 2-Pole: 81
- Page 77 and 78: EXTENDED REGISTER GROUPS Motor.Base
- Page 79 and 80: EXTENDED REGISTER GROUPS REG, PID R
- Page 81 and 82: EXTENDED REGISTER GROUPS GROUP MEMB
- Page 83 and 84: EXTENDED REGISTER GROUPS Positive T
- Page 85 and 86: EXTENDED REGISTER GROUPS Reg, PID r
- Page 87 and 88: EXTENDED REGISTER GROUPS Gear.Incr
- Page 89 and 90: EXTENDED REGISTER GROUPS GROUP MEMB
- Page 91 and 92: EXTENDED REGISTER GROUPS Gear, Elec
- Page 93 and 94: EXTENDED REGISTER GROUPS TMR, SYSTE
- Page 95 and 96: EXTENDED REGISTER GROUPS Tmr, Syste
- Page 97 and 98: EXTENDED REGISTER GROUPS RELATED IT
- Page 99 and 100: EXTENDED REGISTER GROUPS SysIo.ADC1
- Page 101 and 102: EXTENDED REGISTER GROUPS Bit10 (102
- Page 103 and 104: EXTENDED REGISTER GROUPS INT, INTER
54<br />
Stack handling<br />
EXTENDED REGISTER GROUPS<br />
Group name Number Description Page<br />
XENDAT 56 Feedback interface for ENDAT sensor. 163<br />
Counter 57 Count an external hardware event. 172<br />
Identifier 58 Identify each DMC in a group. 175<br />
RDPDATA 59 Generell access to PDATA tables 176<br />
SAnyBus 60 Anybus-S interface (HMS modules) 178<br />
ABInMail 61 Mail message handling with the Anybus-S<br />
modules<br />
ABOutMail 62 Mails received from the Anybus-S modules 189<br />
ABFBus 63 Fieldbus specific information 190<br />
EN1 64 Connection points for feedback sensors in<br />
the DMC2 system<br />
EN2 65 See EN1 191<br />
EN3 66 See EN1 191<br />
EN4 67 See EN1 191<br />
IENC 69 Incremental encoder interface 193<br />
ModEN3 72 Extension <strong>of</strong> EN3 with modula calculation 195<br />
ModEN4 73 Extension <strong>of</strong> EN4 with modula calculation 195<br />
GROUP MEMBERS. (GROUP XX)<br />
Each group is started with the following heading:<br />
Group Group<br />
No.<br />
Description<br />
Group is the PL name, Group number can be used when communicating in<br />
computer mode. The first Group.Member in each group is started with the following<br />
heading:<br />
Group.Member Member<br />
No.<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />
188<br />
191<br />
Range Ability Default<br />
Group.Member is the PL name, Member number can be used when<br />
communicating in computer mode.<br />
The range indicate the members numerical range and the Ability is read/write<br />
ability according to:<br />
R = Readable<br />
W = Write able<br />
RW = Read- and Write able.<br />
(W) = Write able under certain conditions<br />
NYI = Not Yet Implemented