IPA Software - Add-On Instructions
The Add-On Instructions for the IPA reply on data structures in the PLC and two programs on the IPA. Program1 in the IPA is designated to run on start-up (PBOOT) and must be running in order for the AOI commands from the PLC to execute properly. To verify Program1 is running, check the Watchdog bit of the Axis.Status data on the PLC or check the Common Status panel in ACR-View.
At start-up, Program1 will define the configuration data that is exchanged by the IPA and PLC on a cyclic basis. Use the CIP command in the IPA to check the status of the data configuration.
On the PLC, an IPA_Axis data type consists of 3 underlying data types: IPA_DataIn, IPA_DataOut and IPA_Status. The IPA_AxisManager AOI is required to populate the structures. DataIn and DataOut gives usable names to the cyclic data from the configuration data. Below are the Names and DataTypes used in the PLC, along with corresponding parameter and bits number from the IPA.
DataIn
 | Name | DataType | Parameter | Bit# | ConfigurationGroup | Start Parameter |
---|---|---|---|---|---|---|
1 | iCoordinatePosition | DINT | 12288 | Â | 0 | 12288 |
2 | iTargetPosition | DINT | 12289 | Â | Â | Â |
3 | iActualPosition | DINT | 12290 | Â | Â | Â |
4 | iFollowing_Error | DINT | 12291 | Â | Â | Â |
5 | iHardware_Capture | DINT | 12292 | Â | Â | Â |
6 | iSoftware_Capture | DINT | 12293 | Â | Â | Â |
7 | iPrimary_Setpoint | DINT | 12294 | Â | Â | Â |
8 | iCommandedPosition | DINT | 12295 | Â | Â | Â |
9 | Not_In_Position | BOOL | Â | 768 | 1 | 4120 |
10 | InErrorWindow | BOOL | Â | 769 | Â | Â |
11 | NA770 | BOOL | Â | 770 | Â | Â |
12 | NA771 | BOOL | Â | 771 | Â | Â |
13 | InTorqLimit | BOOL | Â | 772 | Â | Â |
14 | Not_InTorq_Band | BOOL | Â | 773 | Â | Â |
15 | NA774 | BOOL | Â | 774 | Â | Â |
16 | NA775 | BOOL | Â | 775 | Â | Â |
17 | Not_RefMarker | BOOL | Â | 776 | Â | Â |
18 | CaptureComplete | BOOL | Â | 777 | Â | Â |
19 | HSINTRegistered | BOOL | Â | 778 | Â | Â |
20 | HSINTAborted | BOOL | Â | 779 | Â | Â |
21 | SineMode | BOOL | Â | 780 | Â | Â |
22 | GearLock | BOOL | Â | 781 | Â | Â |
23 | GearAtSpeed | BOOL | Â | 782 | Â | Â |
24 | GearStopping | BOOL | Â | 783 | Â | Â |
25 | ClampOutputSignal | BOOL | Â | 784 | Â | Â |
26 | OpenServoLoop | BOOL | Â | 785 | Â | Â |
27 | FilterActivate | BOOL | Â | 786 | Â | Â |
28 | RENRequest | BOOL | Â | 787 | Â | Â |
29 | GearActivate | BOOL | Â | 788 | Â | Â |
30 | GearActive | BOOL | Â | 789 | Â | Â |
31 | CamActivate | BOOL | Â | 790 | Â | Â |
32 | BallscrewActivate | BOOL | Â | 791 | Â | Â |
33 | JogActive | BOOL | Â | 792 | Â | Â |
34 | JogDirection | BOOL | Â | 793 | Â | Â |
35 | JogAtSpeed | BOOL | Â | 794 | Â | Â |
36 | JogStopping | BOOL | Â | 795 | Â | Â |
37 | JogForward | BOOL | Â | 796 | Â | Â |
38 | JogReverse | BOOL | Â | 797 | Â | Â |
39 | JogLimitCheck | BOOL | Â | 798 | Â | Â |
40 | JogLockout | BOOL | Â | 799 | Â | Â |
41 | QAFlags | INT | Â | 8448 | 2 | 4360 |
42 | BIt8464 | BOOL | Â | 8464 | Â | Â |
43 | DriveEnable | BOOL | Â | 8465 | Â | Â |
44 | DriveReset | BOOL | Â | 8466 | Â | Â |
45 | KillAllMotion | BOOL | Â | 8467 | Â | Â |
46 | NA8468 | BOOL | Â | 8468 | Â | Â |
47 | ExcessErrorCheck | BOOL | Â | 8469 | Â | Â |
48 | NA8470 | BOOL | Â | 8470 | Â | Â |
49 | NA8471 | BOOL | Â | 8471 | Â | Â |
50 | DriveFault | BOOL | Â | 8472 | Â | Â |
51 | NA8473 | BOOL | Â | 8473 | Â | Â |
52 | NA8474 | BOOL | Â | 8474 | Â | Â |
53 | Completing_Drive_Reset | BOOL | Â | 8475 | Â | Â |
54 | DriveEnableState | BOOL | Â | 8476 | Â | Â |
55 | DriveFaultLatch | BOOL | Â | 8477 | Â | Â |
56 | NA8478 | BOOL | Â | 8478 | Â | Â |
57 | ExcessPositionError | BOOL | Â | 8479 | Â | Â |
58 | PositiveEOTState | BOOL | Â | 16128 | 3 | 4600 |
59 | NegativeEOTState | BOOL | Â | 16129 | Â | Â |
60 | HomeState | BOOL | Â | 16130 | Â | Â |
61 | NA16131 | BOOL | Â | 16131 | Â | Â |
62 | PositiveEOTEncountered | BOOL | Â | 16132 | Â | Â |
63 | NegativeEOTEncountered | BOOL | Â | 16133 | Â | Â |
64 | HomingSuccess | BOOL | Â | 16134 | Â | Â |
65 | HomingFailed | BOOL | Â | 16135 | Â | Â |
66 | PositiveSoftLimitState | BOOL | Â | 16136 | Â | Â |
67 | NegativeSoftLimitState | BOOL | Â | 16137 | Â | Â |
68 | NA16138 | BOOL | Â | 16138 | Â | Â |
69 | NA16139 | BOOL | Â | 16139 | Â | Â |
70 | PositiveSoftLimitEncountered | BOOL | Â | 16140 | Â | Â |
71 | NegativeSoftLimtEncountered | BOOL | Â | 16141 | Â | Â |
72 | NA16142 | BOOL | Â | 16142 | Â | Â |
73 | NA16143 | BOOL | Â | 16143 | Â | Â |
74 | PositiveEOTLimitLevelInvert | BOOL | Â | 16144 | Â | Â |
75 | NegativeEOTLimitLevelInvert | BOOL | Â | 16145 | Â | Â |
76 | HomeLevelInvert | BOOL | Â | 16146 | Â | Â |
77 | JogMoveInterrupt | BOOL | Â | 16147 | Â | Â |
78 | PositiveEOTEnable | BOOL | Â | 16148 | Â | Â |
79 | NegativeEOTLimitEnable | BOOL | Â | 16149 | Â | Â |
80 | PositiveSoftLimitEnable | BOOL | Â | 16150 | Â | Â |
81 | NegativeSoftLimitEnable | BOOL | Â | 16151 | Â | Â |
82 | HomeBackupEnable | BOOL | Â | 16152 | Â | Â |
83 | HomeNegativeEdgeSelect | BOOL | Â | 16153 | Â | Â |
84 | HomeNegativeFinalDirection | BOOL | Â | 16154 | Â | Â |
85 | NA16155 | BOOL | Â | 16155 | Â | Â |
86 | NA16156 | BOOL | Â | 16156 | Â | Â |
87 | NA16157 | BOOL | Â | 16157 | Â | Â |
88 | NA16158 | BOOL | Â | 16158 | Â | Â |
89 | NA16159 | BOOL | Â | 16159 | Â | Â |
90 | Input0 | BOOL | 4096 | 0 | 4 | 4096 |
91 | Input1 | BOOL | 4096 | 1 | Â | Â |
92 | Input2 | BOOL | 4096 | 2 | Â | Â |
93 | Input3 | BOOL | 4096 | 3 | Â | Â |
94 | Input4 | BOOL | 4096 | 4 | Â | Â |
95 | Input5 | BOOL | 4096 | 5 | Â | Â |
96 | Input6 | BOOL | 4096 | 6 | Â | Â |
97 | NA7 | BOOL | 4096 | 7 | Â | Â |
98 | NA831 | SINT | 4096 | Â | Â | Â |
99 | Outputs | DINT | 4097 | Â | Â | Â |
100 | MiscIn | DINT | 4098 | Â | Â | Â |
101 | MiscOut | DINT | 4099 | Â | Â | Â |
102 | StatusWord | DINT | 4100 | Â | Â | Â |
103 | Stat1 | DINT | 4101 | Â | Â | Â |
104 | Stat2 | DINT | 4102 | Â | Â | Â |
105 | Stat3 | DINT | 4103 | Â | Â | Â |
106 | MotorConfigWarning | BOOL | Â | 9472 | 5 | 4392 |
107 | MotorConfigError | BOOL | Â | 9473 | Â | Â |
108 | FirmwareError | BOOL | Â | 9474 | Â | Â |
109 | MotorConfigError9475 | BOOL | Â | 9475 | Â | Â |
110 | MotorConfigError9476 | BOOL | Â | 9476 | Â | Â |
111 | MotorConfigError9477 | BOOL | Â | 9477 | Â | Â |
112 | MotorConfigError9478 | BOOL | Â | 9478 | Â | Â |
113 | MotorConfigError9479 | BOOL | Â | 9479 | Â | Â |
114 | MotorConfigError9480 | BOOL | Â | 9480 | Â | Â |
115 | MotorConfigError9481 | BOOL | Â | 9481 | Â | Â |
116 | NA9482 | BOOL | Â | 9482 | Â | Â |
117 | NA9483 | BOOL | Â | 9483 | Â | Â |
118 | NA9484 | BOOL | Â | 9484 | Â | Â |
119 | MotorConfigError9485 | BOOL | Â | 9485 | Â | Â |
120 | MotorConfigError9486 | BOOL | Â | 9486 | Â | Â |
121 | NA9487 | BOOL | Â | 9487 | Â | Â |
122 | NA9488 | BOOL | Â | 9488 | Â | Â |
123 | NA9489 | BOOL | Â | 9489 | Â | Â |
124 | NA9490 | BOOL | Â | 9490 | Â | Â |
125 | NA9491 | BOOL | Â | 9491 | Â | Â |
126 | NA9492 | BOOL | Â | 9492 | Â | Â |
127 | NA9493 | BOOL | Â | 9493 | Â | Â |
128 | NA9494 | BOOL | Â | 9494 | Â | Â |
129 | NA9495 | BOOL | Â | 9495 | Â | Â |
130 | NA9496 | BOOL | Â | 9496 | Â | Â |
131 | NA9497 | BOOL | Â | 9497 | Â | Â |
132 | DriveFaulted | BOOL | Â | 9498 | Â | Â |
133 | BridgeFault | BOOL | Â | 9499 | Â | Â |
134 | BridgeTempFault | BOOL | Â | 9500 | Â | Â |
135 | OvervoltageFault | BOOL | Â | 9501 | Â | Â |
136 | UnderVoltageFault | BOOL | Â | 9502 | Â | Â |
137 | FoldBackWarning | BOOL | Â | 9503 | Â | Â |
138 | RegenFault | BOOL | Â | 9984 | 6 | 4408 |
139 | NA9985 | BOOL | Â | 9985 | Â | Â |
140 | DriveTempFault | BOOL | Â | 9986 | Â | Â |
141 | MotorThermalModelFault | BOOL | Â | 9987 | Â | Â |
142 | MotorTempFault | BOOL | Â | 9988 | Â | Â |
143 | BadHallState | BOOL | Â | 9989 | Â | Â |
144 | FeedbackFailure | BOOL | Â | 9990 | Â | Â |
145 | DriveDisabled | BOOL | Â | 9991 | Â | Â |
146 | OverCurrentFault | BOOL | Â | 9992 | Â | Â |
147 | RegenWarning | BOOL | Â | 9993 | Â | Â |
148 | NA9994 | BOOL | Â | 9994 | Â | Â |
149 | NA9995 | BOOL | Â | 9995 | Â | Â |
150 | NA9996 | BOOL | Â | 9996 | Â | Â |
151 | NA9997 | BOOL | Â | 9997 | Â | Â |
152 | NA9998 | BOOL | Â | 9998 | Â | Â |
153 | NA9999 | BOOL | Â | 9999 | Â | Â |
154 | NA10000 | BOOL | Â | 10000 | Â | Â |
155 | NA10001 | BOOL | Â | 10001 | Â | Â |
156 | HardwareError | BOOL | Â | 10002 | Â | Â |
157 | InternalError | BOOL | Â | 10003 | Â | Â |
158 | EncoderReadFault | BOOL | Â | 10004 | Â | Â |
159 | NA10005 | BOOL | Â | 10005 | Â | Â |
160 | EncoderLossFault | BOOL | Â | 10006 | Â | Â |
161 | NA10007 | BOOL | Â | 10007 | Â | Â |
162 | NA10008 | BOOL | Â | 10008 | Â | Â |
163 | PowerStageDisabled | BOOL | Â | 10009 | Â | Â |
164 | PowerStageInputOpen | BOOL | Â | 10010 | Â | Â |
165 | PowerStageInputMismatch | BOOL | Â | 10011 | Â | Â |
166 | NA10012 | BOOL | Â | 10012 | Â | Â |
167 | NA10013 | BOOL | Â | 10013 | Â | Â |
168 | NA10014 | BOOL | Â | 10014 | Â | Â |
169 | NA10015 | BOOL | Â | 10015 | Â | Â |
170 | Velocity | REAL | 12315 | Â | 7 | 12315 |
171 | Acceleration | REAL | 12316 | Â | Â | Â |
172 | SummationPoint | REAL | 12317 | Â | Â | Â |
173 | FilterOutput | REAL | 12318 | Â | Â | Â |
174 | TorqueOut | REAL | 12319 | Â | Â | Â |
175 | RPMFactor | REAL | 12370 | Â | 8 | 12370 |
176 | RPM | REAL | 12371 | Â | Â | Â |
177 | SmoothEncVel | REAL | 12372 | Â | Â | Â |
178 | StartRad | REAL | 12373 | Â | Â | Â |
179 | EndRad | REAL | 12374 | Â | Â | Â |
180 | PPU | REAL | 12375 | Â | Â | Â |
181 | ProgramFlags0 | DINT | 4128 | Â | 9 | 4128 |
182 | ProgramFlags1 | DINT | 4129 | Â | Â | Â |
183 | ProgramFlags2 | DINT | 4130 | Â | Â | Â |
184 | ProgramFlags3 | DINT | 4131 | Â | Â | Â |
185 | ProgramFlags4 | DINT | 4132 | Â | Â | Â |
186 | ProgramFlags5 | DINT | 4133 | Â | Â | Â |
187 | ProgramFlags6 | DINT | 4134 | Â | Â | Â |
188 | ProgramFlags7 | DINT | 4135 | Â | Â | Â |
189 | User0 | DINT | 38912 | Â | 10 | 38912 |
190 | User1 | DINT | 38913 | Â | Â | Â |
191 | User2 | DINT | 38914 | Â | Â | Â |
192 | User3 | DINT | 38915 | Â | Â | Â |
193 | User4 | DINT | 38916 | Â | Â | Â |
194 | User5 | DINT | 38917 | Â | Â | Â |
195 | User6 | DINT | 38918 | Â | Â | Â |
196 | User7 | DINT | 38919 | Â | Â | Â |
DataOut
Â
 | Name | DataType | Parameter | ConfigurationGroup | Start Parameter |
---|---|---|---|---|---|
1 | ControlWord0 | DINT | 4156 | 11 | 4156 |
2 | ControlWord1 | DINT | 4157 | Â | Â |
3 | ControlWord2 | DINT | 4158 | Â | Â |
4 | ControlWord3 | DINT | 4159 | Â | Â |
5 | JogVel | REAL | 12348 | 12 | 12348 |
6 | JogAcc | REAL | 12349 | Â | Â |
7 | JogDec | REAL | 12350 | Â | Â |
8 | JogJrk | REAL | 12351 | Â | Â |
9 | iData0 | DINT | 39000 | 13 | 39000 |
10 | iData1 | DINT | 39001 | Â | Â |
11 | iData2 | DINT | 39002 | Â | Â |
12 | iData3 | DINT | 39003 | Â | Â |
13 | iData4 | DINT | 39004 | Â | Â |
14 | iData5 | DINT | 39005 | Â | Â |
15 | iData6 | DINT | 39006 | Â | Â |
16 | iData7 | DINT | 39007 | Â | Â |
17 | fpData0 | REAL | 39200 | 14 | 39200 |
18 | fpData1 | REAL | 39201 | Â | Â |
19 | fpData2 | REAL | 39202 | Â | Â |
20 | fpData3 | REAL | 39203 | Â | Â |
21 | fpData4 | REAL | 39204 | Â | Â |
22 | fpData5 | REAL | 39205 | Â | Â |
23 | fpData6 | REAL | 39206 | Â | Â |
24 | fpData7 | REAL | 39207 | Â | Â |
25 | fpData8 | REAL | 39208 | 15 | 39208 |
26 | fpData9 | REAL | 39209 | Â | Â |
27 | fpData10 | REAL | 39210 | Â | Â |
28 | fpData11 | REAL | 39211 | Â | Â |
29 | fpData12 | REAL | 39212 | Â | Â |
30 | fpData13 | REAL | 39213 | Â | Â |
31 | fpData14 | REAL | 39214 | Â | Â |
32 | fpData15 | REAL | 39215 | Â | Â |
Status
Â
Name | DataType | Logic | Bit or Parameter |
---|---|---|---|
Enabled | BOOL | DriveEnable | Bit 8465 |
Faulted | BOOL | DriveFaulted | BIT9498 |
Ready | BOOL | DriveEnable and NOT KillAllMotion | BIT8465 and NOT BIT 8467 |
Watchdog | BOOL | ProgramFlags1.0 | BIT1056 |
Moving | BOOL | Jog Active or Gear Active or Cam Active | BIT792 or BIT789 or BIT790 |
Homing | BOOL | IPA_Home FB is active | Â |
DiscreteMotion | BOOL | not used | Â |
ContinuousMotion | BOOL | not used | Â |
SyncMotion | BOOL | not used | Â |
FBActive | BOOL | AOI command is in progress | Â |
FBDone | BOOL | AOI command is complete | Â |
FBRunning | BOOL | IPA_Move command in progress | Â |
FBActiveCommand | DINT | Designates which AOI is in progress | Â |
FBLastCommand | DINT | Designates which AOI was called last | Â |
FBNextCommand | DINT | Designates new AOI to be called | Â |
FBCurrentMove | DINT | Count of the AOIs called | Â |
ActualPosiiton | REAL | Actual Motor position in scaled units | P12290/P12375 |
jw-2015-08-27