Problem with ResetMotorPosition()

Go down

Problem with ResetMotorPosition()

Post  theedge on Mon Jan 21, 2013 12:39 am

I have a problem with understanding metod ResetMotorPorition. I'm not able to reset TachoCount. What am I doing wrong? When ResetMotorPosition is called nothing happens. As if it would work fine, just TahcoCunt doesen't change. Sad
As I understand calling metod with false should put TachoCount to zero?

        public bool resetTachoB() {
            errorString = "";
            error = false;
            try {
            } catch (Exception) {
                error = true;
                errorCode = 1;
            return error;

I'm working on my school project, which connects SIEMENS plcsim and Lego Mindstorm. Idea is that you write your program in SIMATIC as you would for expensive PLC, but insted of PLC you use my aplication and Lego Mindstorm Smile

If someone could help me with my little problem I would be verry happy! Smile


Posts : 3
Join date : 2013-01-21

View user profile

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum