stepRocker overwrite protection | Software | Forum
Topic RSS
6:46 am
November 25, 2011
OfflineThe axis parameters 12 and 13 do not have any influence on the WAIT REFSW and WAIT LIMSW commands. They always wait until the switch (connected bewteen ground and the input) has been opened, regardless of other settings.
I cannot reproduce the problem of the WAIT command exiting after 8 seconds. Maybe you have a problem with your switch contacts?
By the way, one can achieve such behaviour using a timeout value with the WAIT command: e.g. WAIT REFSW, 0, 800 will continue after 8 seconds when the switch has not been hit in that time.
2:18 pm
June 5, 2012
OfflineDear Stephan or to whoever it may concern,
I installed the new Firmware V1.04 and the overwrite protection problem I had has been solved, so that part of my last post is no problem anymore. However, I still have the limit switch problem that I will try to explain in detail below.
I have set Axis Parameters (AP) 12 and 13 to 1. The firmware manual that I have states for AP 12 "If set, deactivates the stop function of the right switch" and for AP 13 states "Deactivates the stop function of the left switch resp. reference switch if set", well what happens is the following:
When I animate the program with The IDE it follows the logic with no problem but when it gets to a "WAIT LIMSW, 0, 0" command, if I press right switch the program goes ahead but if I press the left switch there is absolutely no response. Also if I do not press any switch at all after about 8 sec. the program jumps to the next command when it should stay at the WAIT command until a switch is pressed. At least to my knowledge. Then what I did was to set AP 12 and 13 to 0 and you know what happens, exactly the same. This I do not understand.
I have seen in the manual under AP 11, that it is the logical state of the left switch in three switch mode. Is this what has to be done?, how is the three switch mode set? I have not seen any information about it anywhere. Could you please let me know how to do that. Thanks.
Why does the animate button in the IDE jumps the WAIT command after about 8 seconds without pressing any switch. What can I do to overcome this problem?.
I hope you can help me solve these two problems.
I look forward to your quick response.Thanks very much.
Best regards
Alberto González García
1:47 pm
June 5, 2012
OfflineThanks Stephan,
I'll try everything you say to overcome the overwrite protection.
About the pins of the board that I am using for the switches, I am using the 7-pin connection: GRN, Right, Left, R, L, R, L. Am I doing it right?
I look forward to your answer. Thanks.
Regards
Alberto González García
7:39 am
November 25, 2011
OfflineHello Alberto,
we were discussing your questions in the meantime.
Overwrite Protection: Basically, you can reset the bit to any allowed value. If you set it to "2" (= overwrite protection), you should be able to set it to "0" again. Now you should be able to disassemble again. If it was set to "1" or "3" and you reset to "0" then your program is deleted (because it is read protected).
If you cannot read or write in any case, you need to update the firmware of the stepRocker again via the update tool. This will remove all locks. In the Download Section you can find the required tools, files and manuals for the update.
Regarding the reference switches, which pins of the board do you exactly use? There are the reference switches and also the GPIOs of the controller.
Stephan
9:15 am
June 5, 2012
OfflineI realized my questions now are related to a different topic than the one Stephan answered to me last week so even I made them as a continuation of my last topic as I have not gotten any answer I am opening a new topic now.
Today I have a couple of different questions regarding the stepRocker module.
The first is that I downloaded part of my IDE program to the module and by mistake I set Global Parameter 81 to "2" protection against overwriting, thinking that I the owner could disassemble and complete the program, but it happens that I cannot. I believe there's got to be a way to rewrite the code in the module or it has to be thrown away. I need your help here.
My second question is that I want to use the limit switches just to change their logical state from 0 to 1 & viceversa when they are pressed and released and not to move the motor as a consequence, then based on the value of their logical state make decissions of specific movements of the motors, I do not need to use them as reference switches. I tryed to read Axis Parameters "10" & "11" by setting Axis Parameters "12" &"13" to 1 but it does not work, the only thing I can get the motor to do is to move continuosly to the right when I keep preessing one switch, but if I press the other switch absolutly nothing happens. I need your help here as well.
I hope someone can help me with these matters
Thank you very much.
Best regards
ALBERTO GONZÁLEZ GARCÍA
Most Users Ever Online: 44
Currently Online:
4 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Trinamic_OK: 47
matt.s: 27
Hellmut1956: 16
ALBERTOGG: 12
BHuijgens: 9
Wolfgang Hoffmann: 8
Member Stats:
Guest Posters: 2
Members: 389
Moderators: 1
Admins: 2
Forum Stats:
Groups: 1
Forums: 7
Topics: 109
Posts: 347
Newest Members: Tom N., ze12o, rmaggertdonn, esalesugg, jovi1989, nummonseras
Moderators: ubbo_ronhardt (1)
Administrators: sradmin (3), TRINAMIC_SK (101)

Log In
Register
Home


