I am trying to follow a getting started tutorial on mapp motion and what I’m trying to do is test my code to turn on an axis with torque control. However I keep receiving the same error codes. When I look up the second error code it says that there is a problem with my parameters but I don’t know what they are. Is there a quick fix to this or am I better off starting again?
for an analysis you need to provide more information. Please check the logger (motion logger) of Automation Studio for more details. You can provide us than more details.
You can also send uns your parametrization, then we can check this.
Thanks for the Information in Logger (bottom right picture).
Here we can see an Error for a Functionblock Call of “BrTorqueControl”.
The Error Message tells that the currently used Simulation Mode of the Axis is not supported for this Functionblock.
a) You can use real Hardware to Test this Functionblock
b) You can change the used Simulation Mode of the Axis in the Configuration.
Simulation Mode in Axis Configuration
Please make sure you provide Motor Parameters if you use a Mode which requires them.
I tried using another simulation mode but I received another error in the watch window, this time before even turning on the axis. Would this issue be fixed if I used a different axis? Or is there some parameter I might have set wrong?
These are the Pages which the Logger points to…
This time i am not aware what he expects for this ParID as Value.
I think i would need time to program this aswell an make some tests, but currently i am very busy, i hope some one else is faster.
maybe one more note here… In AS4 you have to consider that the settingspage is switching here depending on the Simulation Setting. Only on AS6 there are both Settings visible on same time. If you are on a ARSim you neet to set up Simulation Mode for PLC.