Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Limit switch problem
Hello DT Support !
if you have a chance, please tell me.
I have PMAC 1.5 + ACC8D. 1.17H
Limit switches are used NC-types:
Switching collected as follows:
[Image: 9d71a38f24f7b575d6059f5a66514f4f.jpeg]
I use an external power supply.

I have a problem with the definition of limit switches. system does not have reactions to triggering limit switches. Status window does not display the connector state change switches.
if I'm doing the installation search for "Home" limit switch flag - motor spins endlessly, without response to the state of the switch.
Limit switches are working properly. built-in LED indicates operation of switches. PMAС to change the switch is not responding.
I found a similar topic on the forum. but there PMAC Turbo Clipper card. My board does not have the variable ix24.
What am I doing incorrect?

Your PMAC 1.5 is a non-Turbo PMAC. You need to check the parameters Ix25 to enable the hardware over-travel limits for your motor. Check the PMAC and PMAC2 Software Reference Manual ( )

You need to set the bit 17 of Ix25 to zero.

Sina Sattari
Hardware Engineering Manager
Delta Tau Data Systems, Inc.
HI Sina!
I set the variable ix25 in the correct values. it has no effect. also I change variables i907 and i908 (second channel PMATS). it also has no effect.
if I set the ix25 $C004 the motor does not have any movement. Status window also displays no change in the state limit switches.
[Image: b732453e3dc2857a3de26125ca46d92f.jpeg] [Image: 6f04af829a430898800061a03e95ad97.jpeg]
Installing variable ix25 is set to $2C004 (do not use limit switches) motor is moving. but also a status window does not display the status change limit switch.

Can you post a link to datasheet for your limit switches?
Sina Sattari
Hardware Engineering Manager
Delta Tau Data Systems, Inc.
When the OT feature is disabled by setting bit 17 to one there is no status to report as it has been disabled. When enabled with bit 17 set to zero kill and re enable the motor. This should show the proper state of the switches. If you change the state of the switch and still do not see a change in the software this may be due to improper wiring.
Sina, no :( I do not have a link to the technical documentation of end switches. :(
but they are intact and functioning properly.
I also try to replace one or more limit switches for "dry contact" switch. it just did not have the result: (

Steve.milich - Thanks. I understand correctly, you? - If bit 17 (i25) was set to off, the status of the state of the limit switches is to be displayed. and if bit 17 was ustnovlen to 0 to display the status of the switches must re-activate the motor. otherwise, the status of switches is undefined.

Today I'll be sure to try it. also check the wiring again.
I did the following:
pulled the computer out of the machine. disconnected the cable from the computer to the PMAС of AСС8D terminal board.
Connect the other does not use the terminal board ACC8D. connect +12 volt to 59-pin. I also joined the "dry contact" switch (
switch is set from 58 pin (AGND) to 52 and 54 pin. switch is normally closed.
Ix225 variable = $C004 and stored in the memory board.
I send a command "Jog" or command "Home".
in the status window, I see the connector pin status change (for motor 2) "motor enable" from red to yellow. when open microswitch status pin "end switches" does not change. :(

I also expect that there should be a red pin "amplifer fault". but it also remains yellow.
If the +/-12v and +5 is properly wired you can test the functionality of the OT inputs by resetting the PMAC with the “$$$***” command and activating all the motors by setting I100=1, I200=1, I300=1, and I400=1 note that I100=1 is set by default after the reset command. At this point you only need to wire the OT inputs to ground as a test.

+LIMn and -LIMn are direction-sensitive over travel limits, that must be actively held low to permit motion in their direction. To implement limit switches, wire the input (pin 53 and 51 for channel 1 +/- limits) to one side of the limit switch. Wire the other side of the limit switch to PMAC's AGND (pin 58).
If after Steve's test, you still do not see the limit switches, I would check the 60-pin ribbon cable for continuity, especially at the IDC connectors.
Thanks! Today I'll try it.

Gregs - previous experience I did with the other 60-pin flat cable.
I have two ribbon cable and two terminals ACC-8D.

later I'll write about the results. Regards!
This attempt was not successful :(
PMAС sees no the state of the limit switches
Please prompt me.
whether it is possible to configure the machine to work without sensors limit switches?
and is it possible to check the serviceability of the board? (channel limit switches)?

You can disable the position limits by changing bit 17 of Ix25 to a 1 (see page 97, PDF page 79 in the Software Reference manual). Or, tell me what Ix25 is now, and I will tell you what the new value should be.

If you disable the hard limits with Ix25, you could regain some level of safety by setting software limits with Ix13 and Ix14. Note that these limits will be in the wrong place before the machine is homed.

Do you see the limits if you simply remove/attach a wire between a LIM input and AGND? I would follow the instructions that Steve posted, except try a wire instead of the switch.

To return the board for evaluation/repair, contact your distributor or go to the website at Services \ Repair Request and fill out a repair request. You will need to "Create New Account" if you are not already registered. Enter my name (Greg) in the "Engineer Contacted" field.
Thanks Gregs!
I disabled the position limit. (set i225 = $ 2C004).
Now I will try to set up the software to run without limit switches.
If I attach/remove the wires for the limit input and AGND - I do not see any change in the status of Lim inputs.
Hello! I won it !

the problem was in the original solder contacts.
I repaired it. now everything works!

[Image: 03245451a17b5f9f3c366b03d8193a82.jpeg] [Image: d9acf7d88ee561d61a6984fca3a6b4c7.jpeg]

I thank everyone for their support and I have a few more questions :)

1. if I use as a control program Mach3 (as done here:
Will work s-curves function ? as I understand it, drive control functions should work with any command input method. or am I wrong?

2. Are there examples of PLC for simple control panel on the J2 connector?
(I have problems with programming and I can not get the remote to work :( )
I will be very grateful for your help.

You should be able to use all PMAC features with the MACH3 system.

For your control panel issue I would need to know what your remote device is?
Hello. Thanks!
In such a way PMAC delivers smooth and precise motion, regardless of the method of reception of the task.
I understand you correctly?
MACH is a temporary solution. You understand the impatience to see how the new machine. :)
I have NC2.36. and made the console:

[Image: d197fbdb718ffd1ef9a848a7286cf753.jpeg] [Image: 701ac54a5c56a37a39f9c0ccf04b836d.jpeg]

Console connect to "control panel" port.
functions that are necessary for me I mounted on the console.
others, such as the "axis of choice" for Jog movement, override, work mode, and another I hope to use the screen SC.

but I'm not the best programmer. I need a lot of time to understand and change PLC.
particularly hard for me to understand what variables are used in NC.

The NC 2.36 is an older obsolete version. We do however have the archived documentation and installation files on our FTP-site at:

See the “readme.txt” file for a description of the files in this folder.
Thanks! I found a lot of useful and I hope I can start the machine
you can tell me - what and where should I change for this to work without ASS34 ?
sorry - I'm a bad programmer :)
I see a lot of variables. I understand that to be changed addresses.
but I can not understand where this should be done.
If you are referring to the PMAC JPAN port this is at the address: Y$FFC0

Can you show me a schematic of how you are connecting to the PMAC port?
I'm using a direct connection to JPAN connector.
the scheme looks like this:

[Image: 11240e902d302880b0055bcbcf52c7c7.gif]

All buttons NC type.

I was trying to write his own PLC:



//JOG -



IF (M25=1)

IF (M26=1)


if I download it through PEWIN - everything works.
but if I try to use it at boot NC ...
there is no movement .. Why is that?
You cannot use M-variables below M800 as these are reserved by the CNC software. You will need to reload the NC configuration to replce the ones you have overwritten.
(04-03-2013, 01:15 PM)steve.milici Wrote: You will need to reload the NC configuration to replace the ones you have overwritten.
Hello Steve, can you explain detailed? In which way possible to do this? For newbie it is some difficult for understanding
+1! Steve, can you more detail ?
I see in the manual PMAC - variables be assigned to certain functions. For example, M20 displays the status of the 4-pin JPAN port....
if I can not use them - how do I get the status of my buttons?
You can make example for understand how I do it?

Relace the M-variable definitions with:

and then reload your standard NC programs and definitions.
and this is all ????
ohhhh... where were my brains ..

Thanks Steve! if you were close - I would give you a beer :)
Thank you! As i understood, no need to change or remap phisical addresses of I/0 bits, just enough to replace appropriate addresses and bits of DPRam? And M-variables can have any numbers (not reserved)?
Steve, I wonder - for what purpose it is done?
What for are defined variables, if they can not be used, and should be defined new. ?
Why in the manual specify the destination Control-Panel Port Input Bits, if they can be used anywhere ?

ps: I like this PMAK. I want to understand it...
The M-variables used in the NC system are described in the documentation I sent to you. These must be used for proper operation of the NC software. Also the NC PLCs amd motion programs must be used. Also note that DPRAM is used by the NC - so you should not use any of the predefined DPRAM locations as defined in the ADDRESS.H file.

If you use your own control panel you will need to modify the standard control panel PLC ADV600M.PLC to replace our panel hardware with your panel hardware. This PLC also provides the functionality for the control panel, i.e., Cycle Start, maual jogs and such.
Thanks Steve!
It is not very easy for a beginner, but I'm trying to understand. :)
Best regards!
Hello Steve!
Thanks for your help!
I got it to work.

Steve, can you explain to me. System uses multiple PLC files. For example ControlPanel.PLC, Home.PLC, Spindle.PLC etc.
I want to add the PLC file. (ESTOP.PLC).

is there a difference if I am:
1. will create a new PLC file and attach it like any other PLC file.
2. installed "estop"-script in Controlpanel.PLC file.
whether the differences in the work and what they will be shown?

You should add this as a separate PLC file. You should leave all the "standard" PLCs and motion programs unchanged.
why? what it would have an effect? I change only ControlPanel.plc file.
Since you have already modified this PLC it should not be an issue. It would be easier to use the example PLC as we have provided though.
I agree. use ready-made solution is always easier.
I could not do it. The original file "ControlPanel.PLC" written for use with an external operator panel.
I now realize I made a mistake at the beginning. I was counting the functions Control-Panel Port predetermined. and will function properly in any environment. this was not true :)
Now I would do another panel operator. but I am unable to change it. so I have to use something that is already done. this would have to change the original file "ControlPanel.PLC".
if there are other ways to get to work my plate - let me know, I'll try it.

Now I'm trying to organize a search for "Home" in two stages. (to limit movement and return to the index mark). The original "Home.PLC" does not made it. :(

please tell me. I ran into a problem. was made by the board reset. re-configure all the parameters. re-configured to the National Assembly. everything works. but if you move to G01 drive "is not hard." you move through the G00 everything works well. and when the code G01 axis very smoothly accelerated and slowed down just as smoothly. there is a big mismatch error. tell me - where can I find Poble? that I have missed? Regards !
I'm not sure from your description what exactly is your issue. Can you describe, with examples, your problem?

Forum Jump:

Users browsing this thread: 1 Guest(s)