Category — Products
Connector Annoyances: Micro-Fit Genders
Connectors can be very annoying. Right now, I’m annoyed by Molex’s Micro-Fit 3.0mm connector family.
Here’s the scenario: some motors we use come with the feedback cable wired with a Micro-Fit receptacle. We custom build a cable with a sub-D connector at one end and a Micro-Fit plug at the other (which connects to the feedback cable). I was investigating building a simple PCB to test the cable, and therefore needed a PCB mount receptacle.
That part doesn’t exist. All the standard Micro-Fit PCB headers are plugs. You can get Micro-Fit PCB receptacle headers if you use the Micro-Fit BMI (Blind Mate) series, but according to Molex, BMI parts only mate to other BMI parts.
That’s another reason I like sub-D connectors: they’re available from multiple sources, in all kinds of variants. And you can choose solder cup, crimp, or (for some sizes) IDC ribbon cable; Micro-Fit is only crimp.
November 5, 2009 No Comments
New Micro PLCs Go In Different Directions
It’s interesting to compare and contrast new micro PLCs from Siemens (S7-1200) and Panasonic (FP0-R). Both are compelling upgrades from the previous series (Siemens S7-200, Panasonic FP0), but while Siemens adds Ethernet connectivity, Panasonic adds a USB port.
The FP0-R series looks like a direct replacement for the FP0, but with more: more memory, faster instructions, faster counters, and faster pulse outputs. The biggest upgrade is a USB port, which is very nice: no custom programming cable required! Or save some money: I like to use PLCs with two comm ports, one for communicating with the PC, and one for debug. With the added USB port, I can use a PLC with one serial port, saving about $30, and use the USB port for debug.
I hope Panasonic has improved the USB port speed; I’ve heard that the FPX series uses an internal serial/USB bridge, so the USB port is limited to a wimpy 115,200 bps.
The FP0-R still isn’t as capable as the FPG (FP Sigma) series, but since it’s the same price as the FP0, I’m already looking at changing over from the FP0 to the FP0-R.
The Siemens S7-1200 models appear similar to the previous S7-200 models, but with more: more memory, more analog (even the base models have analog inputs), faster instructions, faster counters, more expansion (using signal boards) and faster pulse outputs.
What’s wonderful? Siemens added an Ethernet port with Profinet and standard TCP/IP capabilities. Networked devices are so much more convenient and useful than PC-connected USB devices. For example, Profinet should make it simple and inexpensive to create a peer to peer PLC network, in addition to high speed communications to HMIs. You have to add expensive networking modules to create a Panasonic PLC network.
The S7-1200 CPUs include other goodies, such as room for extra boards on the base CPU (for extra comm ports or wimpy (2DI/2DO or 1AO) I/O boards), 1M flash memory for extra (non-program) storage, and a proprietary memory slot.
Unfortunately, Siemen’s STEP7 Basic software currently only includes Relay Ladder Logic and Function Block programming; Panasonic’s FPWinPro supports all five IEC61131 languages, including my favorite: Structured Text.
Like the previous S7-200 series, base models have limited expansion: no signal modules for the 1211, 2 for the 1212, and 7 for the 1214.
The Panasonic FP0-R PLCs are much smaller; the transistor output models use high density box header connectors , while Siemens provides screw terminals. I much prefer the box headers, since I can easily make a cable to a custom PCB breakout board. It’s hard to wire directly with screw terminals without additional terminal blocks (for extra power and ground, etc).
The Panasonic FPX series are more like the S7-1200, since they also use screw terminals and provide room for plug in modules.
Excluding communications (USB vs Ethernet), the S7-1200, FP0-R, and FP-X are all similar in capabilities and price (IIRC, S7-1214 DC/DC/DC, FP0R-C32CT, and FPX-C30TD are all about $280, while the FP0R-C32T is about $245).
Which will I use? I’d love to try out the S7-1200, but for my current projects the FP0-R and FPG are a better fit, since they support Structured Text and use box header connectors.
The S7-1200 is pretty close to a no-brainer if you need Ethernet: Panasonic’s Ethernet module (FPWeb2; ~$430) alone costs more than a S7-1214 CPU; Automation Direct’s Ethernet modules start at $175, and you still have to add the PLC CPU.
I plan to write about this in more detail: I think micro PLCs are a great alternative to PC I/O options such as PCI boards from Advantech or USB modules from Measurement Computing. The PLC’s cost the same or less for 24V I/Os, and have the advantage of being programmable — it’s nice to have the PLC handle some I/O, while the PC handles the rest via serial, USB, or Ethernet communications to the PLC.
Final notes:
- Panasonic has gone backwards by not listing prices and requiring registration to download PDFs.
- If you’re interested in the S7-1200, talk to your local distributor to see if they have a package deal. For example, in Silicon Valley, E&M periodically offers 1 day introductions with a nice deal on the S7-1211.
October 29, 2009 2 Comments
Why Are Standard Servo Motors So Different?
Recently, I had to select a servo motor. We had already chosen to use a NEMA 23 mount with a 0.25″ shaft, and had other requirements such as maximum length, torque, speed, and voltage.
I was amazed at the different shaft diameters and lengths supposedly standard NEMA 23 motors have — I recall 0.25″, 8mm, and 0.375″ diameters, and can’t remember all the lengths. It was even worse when I had to select a NEMA 17 motor a while ago– at least one manufacturer’s supposedly NEMA 17 mount wasn’t the same as everyone else.
Then of course there are all the non-standard mount motors – but I only use those as a last resort, since I’ve already had motors go out of production twice; at least with a standard mount, there’s a possibility of finding a suitable replacement.
Maybe there are other standards: maybe the various European and Japanese 40mm, 60mm, and larger motors really do follow a standard, but I don’t have time to analyze them all.
Connectors are even worse. I can understand why manufacturers use different kinds of connectors, and I know there are no connector standards. A motor intended for harsh environments needs a tough but expensive connector, while a light duty motor is much better off with a cheap connector (such as Molex or Tyco/AMP crimp connectors) or flying leads. But, just like industrial Ethernet, it’s easy to think: do we really need all those choices? Couldn’t we have just three or four?
I personally like sub-D connectors a lot, since you can get high power (Combo-D), can use crimp pins or solder cups, and choose from a wide range of backshells (including straight, right angle, and 45 degree in metal, metalized plastic, and plastic) and manufacturers.
Of course, pin-outs are even more varied. For example, on the controller side, Galil (DMC-21×3/AMP205x0 combo), AMC (DX30, DX60, etc), and Copley (ADP series) all use HD15 connectors for feedback, but each one uses a different pin-out.
Oh, well, at least commutation and incremental encoder signals are pretty standard: three signals, either RS-422 differential or single ended (TTL or open collector) – except if you use some Japanese motors (e.g. Panasonic). And I’d better leave absolute encoders for another time…I’m not even sure how many “standards” there are for them.
October 8, 2009 3 Comments
Where are the inexpensive magnetic linear encoders?
In an article in Control Engineering, Steve Feketa of Rockwell claims that magnetic linear encoders are available for $200 for a 1 meter encoder, while optical linear encoders can cost up to $2000 for a 1 meter encoder.
If you’re paying $2000 for an optical linear encoder, you’re either getting a very high resolution encoder, a very rugged encoder, or some golf at the country club for the encoder manufacturer’s sales team. I can buy a nice optical linear encoder with a 1 meter scale for substantially less than $1000.
But I can’t find any information on inexpensive magnetic (or magnetorestrictive) linear encoders. I do know of inexpensive optical linear encoders from US Digital and Avago that are under $200 for 34″, but they are hard to mount and the resolution is only 12.7µm. I found that Heidenhain, Renishaw, Netzer, and Temposonics (magnetorestrictive) all make magnetic linear encoders. I couldn’t find any pricing, and I’m not going to spend a lot of time trying to get quotations when I’m not ready to buy one. I suspect that Netzer is the only one that might be close to $200 for a 1 meter length. OK, New Scale Technology’s Tracker is probably under $200, but its length is only 8mm.
Why am I interested in low cost linear encoders? Because the current cost of linear restricts their use to when I really need them (I’ve used linear encoders twice in > 10 years of machine building). Even a low resolution linear encoder is helpful to minimize problems from backlash, and to provide feedback for linear motors.
For the hobbyist, eBay is one solution. I recently bought two MicroE M2000 linear encoder read heads + electronics on eBay for a very reasonable price. True, I don’t have the scales, but I’m not sure where I’ll use them, so that’s OK.
July 10, 2009 1 Comment
CoCreate PE Tip: Fix for Intel X3100 Problems
I was having weird problems trying to run CoCreate PE on my Thinkpad: sometimes CoCreate would complain that the display resolution had changed, the model would disappear all the time (just from moving the mouse around), and such.
My Thinkpad has an Intel GMA X3100 integrated graphics chip (also known as the Mobile Intel 965 Express Chipset). It’s not the greatest mobile chipset, but I was more interested in a small laptop with long battery life, and the laptops with mobile Quadros (e.g. Lenovo W700) are large, heavy, and have short (OK, normal) battery life.
Anyway, I found a tip via the CoCreate Users forum: turn off hardware graphics acceleration by setting the SDPIXELFORMAT environment variable to SOFTWARE; detailed instructions are here. So far after making this change, CoCreate has been stable, and speed is still fine.
July 1, 2009 1 Comment
Stand Up Desk
Inspired by this post at Evolving Excellence, I decided to try a stand up desk at home. I can’t afford the fancy $1,000+ motorized desks, so instead I bought an Ikea Fredrik desk and a Summera keyboard shelf at a total cost of $160.
So far I like it, although I’m not sure I would want to stand all day at work. Ikea specifies a maximum desk height of 38.625″, but I have the desk at the next notch up (about 41″), and it still works. I do wish the desk was more adjustable — since it isn’t very adjustable, an adjustable height monitor would be a plus. But so far the current heights seem OK for me (but not so great for my wife, who is significantly shorter).
Also, the desk does wiggle a little bit. My guess is that some of that is from the carpet, and some of it from the construction (it’s not the world’s most solid desk). I’ll have to experiment with wedging the feet and such to see if I can make it a little more solid.
Update 2/17/09 — an additional advantage for those of us with small children: little kids find it harder to reach the keyboard and mouse on the stand up desk, which makes using the computer at home much more enjoyable.
February 3, 2009 4 Comments
Connecting Emoteq and PacSci Motors to Copley Drives
I’ve decided to document all the motor/drive connections that I make using my CANOpen drives. I hope that others will find this information useful. The first two are up on my trac site:
- Emoteq (Hathaway) BH02300E06HE BH series NEMA23 brushless DC servo motor to Copley ACP servo drive.
- Pacific Scientific N31HRHJ-LNK-NS-00 NEMA34 stepper motor to Copley Stepnet drive.
It was a lot easier to connect the stepper motor, but the servo motor is more fun. It maxes out at 7,500 RPM using my Logosol power supply.
November 17, 2008 No Comments
Making Copley Serial Cables

Copley RJ11 to DB9F serial cables
I have a new page here on my trac site describing how to make a RJ11 to DB9F serial cable for Copley Accelnet and Stepnet CANOpen drives.
November 7, 2008 No Comments
Running PortableApps
I’ve been using PortableApps a lot recently. PortableApps are open source, Windows applications that have been slightly modified so they can run off a removable drive (and thus do not need to be installed). A lot of the applications I use (Firefox, Thunderbird, Filezilla, PuTTY, and OpenOffice) are available.
The advantage of PortableApps is that you have a consistent set of applications (same applications, same versions) on every computer you use without having to install anything (assuming you have your PortableApps USB drive with you). You get the same browsing history on every PC (and ability to search it – a wonderful Firefox feature) when using PortableApp’s Firefox (Foxmarks works great for synchronizing bookmarks, but doesn’t synchronize history). It’s pretty lightweight (easy to start, applications run fast) and nothing is left on the host PC. Upgrading is easy, too – just copy over the new files.
I’ve tried PortableApps on a number of portable drives. Performance does matter, since some PortableApps frequently write to the hard drive. My experiences:
- Memorex 8G micro hard drive (3600 RPM) USB 2.0 portable drive — works, but can be a bit painful (e.g. a lot of pauses when browsing with Firefox)
- OCZ 4G Rally2 USB 2.0 flash memory stick – better than the Memorex 8G, but still a bit slow.
- Acomdata 80G USB 2.0 hard drive – works great. Now my normal PortableApps drive, since it’s fast enough, but less hassle than the 7200 RPM drive.
- Hitachi 100G 7200RPM 2.5″ USB 2.0/eSATA hard drive – works great. The best solution for portable Virtual Machines, but more of a hassle than the Acomdata, since it needs 2 USB ports for power (and an eSATA port for best performance).
However, only a limited number of applications are available, so PortableApps doesn’t help if, for example, you want to run EaglePCB portably.
Other options for creating a portable work environment include taking the whole computer with you (laptops – but I love my 20″ and 24″ monitors), web applications such as GMail (but again, many applications aren’t available or wouldn’t work well), file sharing such as Dropbox or a version control system such as Subversion or git (but this solution requires the applications to be installed on each computer, and keeps local copies of each file) , or running virtual machines from a portable hard drive.
The Virtual Machine solution lets you install almost any software, and you only have to have the VM server installed on each computer you use. VMWare Server 2.0 now supports USB 2.0 (very nice); in the near future, I hope to try VirtualBox. VM’s are more of a hassle than PortableApps, and requires a host PC with a hefty amount of memory (for example, my small laptop can handle PortableApps, but not VMWare).
November 3, 2008 No Comments
A Couple Cool Gadgets
I’ve come across a couple interesting devices recently.
- Icop VESA PC, the eBox 2300 and eBox 4300. These PC’s mount to the VESA mounting holes on the back of most LCD displays. The Icop models are actually affordable, unlike many mini PC’s. The 2300 is very cheap (starts at about $100), but not very powerful (200MHz or 300MHz CPU). The newer 4300 is much more interesting, with a 500MHz Via CPU, and a reasonable price (about $250). If you need a Panel PC, but don’t need a tough industrial case, these can make a great lower cost alternative – just get a regular monitor (<$200 for a pretty nice one) or touchscreen (~$650 for a 17″ Planar touchscreen LCD), and mount the eBox 4300 on the back. The 4300′s performance should be good enough for HMI use (assuming you’re not running Vista…)
- The Icop PC’s are availabe in the US from WDL Systems.
- Linux Devices has an eBox 4300 review.
- The Olympus Micro Four Thirds system could lead to some very interesting cameras – cameras that combine SLR performance, image quality, and interchangeable lenses with digicam size. Check out the pictures at DPReview. They won’t replace Digital SLR’s (heck, Leica is coming out with a “super-sized” D-SLR with 30x45mm sensor), but I’m very interested in one as a complement to my D-SLR for everyday picture taking (instead of a pocket digicam).
Comment 8/24/2011: the mirrorless interchangeable lens category is really taking off, with many models from Olympus, Sony (NEX series), Panasonic, Samsung, etc. However, with a decent zoom lens they’re still a lot bigger than a compact super-zoom. Sony also has an interesting twist with their SLT cameras: a SLR with fixed mirror that always direct some light for focusing and the EVF (electornic view finder). The smallest SLTs aren’t much bigger than a Sony NEX.
September 30, 2008 No Comments

