Monthly Archives: March 2018

Repairing your Modicon Magelis HMI

Any amount of downtime is too much for most companies. Parts will break from time to time, and repairs will be necessary. Here at MRO Electric and Supply we are dedicated to providing the best service making sure that your downtime is minimal. Human Interface Terminals(HMIs) are a crucial part of any automation process nowadays, so it is important to make sure it is working correctly. Along with selling both new and remanufactured products, MRO Electric and Supply offers both repair and exchange services.

Modicon was the first manufacturer to release programmable logic controllers onto the market, and since have been one of the top brands for PLC’s. MRO Electric and Supply have all the parts necessary to run the Magelis HMI at it full potential, including panels, cables, controllers, adapters and any software that may be needed. Along with repairs, we handle installations and programming of drives and controllers so that you don’t have to.

We also offer the option to retrofit your old machines with newer interfaces for the most up-to-date applications and processes. By fitting existing HMI’s with new interfaces you are able to add years to the life span of your automation set up. It is a lot easier to update and fix your existing displays and HMIs than taking the time and money to purchase and fit new parts.

All of our repairs come with a 12 month guarantee. Our repair service is based on doing the right job, and getting your part back to you as soon as possible. Every part we refurbish is tested to make sure they work the way they are supposed to. Our factory-trained technicians have many years working with Modicon products.

For a free Modicon Magelis HMI repair quote, please email or call 800-691-8511.  For more information on our Modicon repair capabilities, you can visit our Modicon Repair page.
KUKA Controllers

KUKA Error Codes

The list below contains common KUKA Error Codes. These codes are applicable to all KUKA controllers, including the KRC1, KRC2, KRC3, and the KRC4.

Common KUKA Error Codes

  • Error Code 14 – SOFTPLC: @P1@
  • Error Code 284 – Accu–voltage at <kps number> below <voltage level> during last buffering
    • Cause
      • The accu voltage was too low at the last switch off to buffer the
      • The accu is not charged correctly anymore.
      • The accu is to old or broken.
    • Effect
      • Eventually loss of reference.
      • Cold boot.
      • Active commands inhibited
    • Remedy
      • Exchange accu.
  • Error Code 310 – Safety Circuit for drives not ready
    • Cause
      • Safety circuit is telling drives not to move.
      • Faulty X11
      • Faulty ESC board
      • Faulty KPS 600
    • Remedy
      • Check ESC monitor and other messages to narrow down the root cause with the safety circuit
      • Replace faulty components
  • Error Code 364 – Unknown operation mode
    • Possible Cause
      • Faulty KPS 600 Drive
    • Remedy
      • Replace KPS 600
  • Error Code 420 – Local protective stop (QE)
    • Possible Cause
      • Faulty KPS600 Drive
    • Remedy
      • Replace KPS600
  • Error Code 1033 – ERROR ON READING, DRIVER: ** **
  • Error Code 1034 – ERROR ON WRITING, DRIVER: ** **
    • Cause
      • The calculated gear torque is larger than the maximum permissible gear torque.
    • Monitor
      • Cyclic in interpolation cycle.
    • Effect
      • Motion and program are stopped.
    • Remedy
      • Reteach points.
    • Cause
      • A message which causes the active commands to be inhibited has been set.
    • Monitor
      • In command processing.
    • Effect
      • Command is not executed.
    • Remedy
      • Acknowledge active messages in the message window.
  • Error Code 6502 – Error during reading INI file init/iosys.ini 1
    • Remedy
      • Check iosys.ini file
      • Ensure correct DeviceNET driver is installed
      • Check data cable between robot / cabinet
  • Error Code 10053
    • Remedy
      • Check fan to ensure it isn’t vibrating. This could be causing the Mfc card to move into the motherboard’s slot.


MRO Electric carries replacement KUKA Robotics parts such as teach pendants, drives, motors, and more. To request a quote, please call 800-691-8511 or email

KUKA teach pendant

KUKA Teach Pendants

MRO Electric and Supply distributes a variety of KUKA Teach Pendants for KRC1, KRC2, and KRC3 controls. We also can supply the new KRC4 smartPAD. The smartPAD pendant  is the latest type of KUKA teach pendant, designed to allow users to perform even the most complex operating tasks with ease – even those with little experience.  It features an 8.4″ display size with a industrial touch screen.

KUKA smartPAD Teach Pendant

The ergonomic design of the KUKA smartPAD creates a pendant with reduced weight and an anatomically comfortable operation. It can be used to operate all KUKA robots that have a KR C4 controller. Its 6D mouse allows for movement and reorientation of the robot on all axes.

All smartPADs are programmed using the KRL – KUKA programming language. This easy to learn robotics language is very intuitive, and can be used to create customized robotic motions with ease. You can also synchronize your programming with up to 6 KUKA robots. The other major benefit of the smartPAD teach pendant is that  it can be hot swapped at any time from a KR C4 controller – just simply plug it in and use.

Legacy KUKA Teach Pendants

MRO Electric also distributes a number of legacy KUKA teach pendants. We recognize that there are still a variety of older KUKA controllers still in use today. Rather than having to upgrade your control system when one of your pendants fail, we can ship you a replacement pendant to minimize any downtime.

If for some reason our stock is depleted, we can usually repair your KUKA pendant in as little as 3-5 days. Visit our main KUKA product page to see all the KUKA teach pendants that we can supply or repair.

For more information or to request a quote on a replacement pendant or panel, please call 800-691-8511 or email


Siemens 6AV2124-0MC01-0AX0 TP1200 Comfort Panel

6AV2124-0MC01-0AX0 TP1200 Overview

The Siemens 6AV2124-0MC01-0AX0 is a 12 inch SIMATIC HMI with touch operation and a Widescreen TFT display. Its screen is a capable of 16 million colors.

Additionally, the 6AV2124-0MC01-0AX0 has a PROFINET interface, MPI/PROFIBUS DP interface, 12 MB configuration memory, Windows CE 6.0, and is configurable from WinCC Comfort V11.


6AV2124-0MC01-0AX0  Specifications

Design of display TFT
Screen diagonal 12.1 in
Display width 261.1 mm
Display height 163.2 mm
Number of colors 16777216
Resolution (pixels)
horizontal image resolution 1280
vertical image resolution 800
MTBF backlighting (at 25 °C) 80000 h
Backlight dimmable Yes ; 0-100 %
Number of function keys 0
Keys with LED No
System keys No
Numeric/alphabetical input
Numeric keyboard Yes ; Onscreen keyboard
alphanumeric keyboard Yes ; Onscreen keyboard
Touch operation Yes
Expansions for operator control of the process  
DP direct LEDs (LEDs as S7 output I/O)
F1…Fx 0
Direct keys (keys as S7 input I/O)
F1…Fx 0
Direct keys (touch buttons as S7 input I/O) 40
Installation type/mounting
Mounting in portrait format possible Yes
Mounting in landscape format possible Yes
Supply voltage
Type of supply voltage DC
Rated value (DC) 24 V
permissible range, lower limit (DC) 19.2 V
permissible range, upper limit (DC) 28.8 V
Input current
Current consumption (rated value) 0.85 A
Inrush current A²s 0.5 A²·s
Power consumption, typ. 20 W
X86 Yes
Flash Yes
usable memory for user data 12 Mbyte
Type of output
Info LED No
Power LED No
Error LED No
Buzzer No
Speaker Yes
Time of day
Hardware clock (real-time clock) Yes
Software clock No
battery-backed Yes ; Back-up duration typically 6 weeks
synchronizable Yes
Number of RS 485 interfaces 1 ; RS 422/485 combined
Number of USB interfaces 2 ; USB 2.0
Number of USB Mini B interfaces 1 ; 5-pole
Number of SD card slots 2
Number of parallel interfaces 0
Number of 20 mA interfaces (TTY) 0
Number of RS 232 interfaces 0
Number of RS 422 interfaces 1
Number of other interfaces 0
With software interfaces No
Industrial Ethernet
Number of industrial Ethernet interfaces 2
Industrial Ethernet status LED 2
Number of ports of the integrated switch 2
IRT, supported Yes ; As of WinCC V12
MRP supported Yes ; As of WinCC V12
Protocols (Ethernet)
WEB characteristics
Active X No
JavaScript Yes
Java VM No
Further protocols
EtherNet/IP Yes
Degree and class of protection
IP (at the front) IP65
Enclosure Type 4 at the front Yes
Enclosure Type 4x at the front Yes
IP (rear) IP20
Standards, approvals, certificates
CE mark Yes
KC approval Yes
cULus Yes
RCM (former C-TICK) Yes
Marine approval
Germanischer Lloyd (GL) Yes ; As of product version: 10
American Bureau of Shipping (ABS) Yes ; As of product version: 10
Bureau Veritas (BV) Yes ; As of product version: 10
Det Norske Veritas (DNV) Yes ; As of product version: 10
Lloyds Register of Shipping (LRS) Yes ; As of product version: 10
Nippon Kaiji Kyokai (Class NK) Yes ; As of product version: 10
Polski Rejestr Statkow (PRS) No
Use in hazardous areas
ATEX Zone 2 Yes
ATEX Zone 22 Yes
IECEx Zone 2 Yes
IECEx Zone 22 Yes
cULus Class I Zone 1 No
cULus Class I Zone 2, Division 2 Yes
FM Class I Division 2 Yes
Mounting position vertical
maximum permissible angle of inclination without external ventilation 35 °
Operating temperature
Operation (vertical installation)
in vertical mounting position, minimum 0 °C
in vertical mounting position, maximum 50 °C ; (55 °C, see entry ID:64847814)
Operation (max. tilt angle)
at maximum tilt angle, minimum 0 °C
at maximum tilt angle, maximum 40 °C
Operation (vertical installation, portrait format)
in vertical mounting position, minimum 0 °C
in vertical mounting position, maximum 40 °C
Operation (max. tilt angle, portrait format)
at maximum tilt angle, minimum 0 °C
at maximum tilt angle, maximum 35 °C
Storage/transport temperature
min. -20 °C
max. 60 °C
Relative humidity
Operation, max. 90%
Operating systems
Windows CE Yes
proprietary No
Executable with configuration operating system
other No
Message indicator Yes
With alarm logging system (incl. buffer and acknowledgment) Yes
Process value display (output) Yes
Process value default (input) possible Yes
Recipe administration Yes
Configuration software
STEP 7 Basic (TIA Portal) No
STEP 7 Professional (TIA Portal) No
WinCC flexible Compact No
WinCC flexible Standard No
WinCC flexible Advanced No
WinCC Basic (TIA Portal) No
WinCC Comfort (TIA Portal) Yes ; from V11
WinCC Advanced (TIA Portal) Yes ; from V11
WinCC Professional (TIA Portal) Yes ; from V11
Online languages
Number of online/runtime languages 32
Project languages
Languages per project 32
Project languages
D Yes
GB Yes
F Yes
I Yes
E Yes
Chinese traditional Yes
Chinese simplified Yes
DK Yes
GR Yes
J Yes
NL Yes
N Yes
PL Yes
P Yes
S Yes
CZ Yes
SK Yes
TR Yes
H Yes
Functionality under WinCC (TIA Portal)
Libraries Yes
Internet Explorer Yes
Pocket Word Yes
Pocket Excel Yes
PDF Viewer Yes
Media Player Yes
SIMATIC WinCC Sm@rtServer Yes
Number of Visual Basic Scripts Yes
Task planner
time-controlled Yes
task-controlled Yes
Help system
Number of characters per info text 70
Message system
Number of alarm classes 32
Number of bit messages 4000
Number of analog messages 200
S7 alarm number procedure Yes
System messages HMI Yes
System messages, other (SIMATIC S7, Sinumerik, Simotion, etc.) Yes
Number of characters per message 80
Number of process values per message 8
Acknowledgment groups Yes
Message indicator Yes
Message buffer
Number of entries 1024
Circulating buffer Yes
retentive Yes
maintenance-free Yes
Recipe administration
Number of recipes 300
Data records per recipe 500
Entries per data record 1000
Size of internal recipe memory 2 Mbyte
Recipe memory expandable Yes
Number of variables per device 2048
Number of variables per screen 400
Limit values Yes
Multiplexing Yes
Structures Yes
Arrays Yes
Number of configurable images 500
Permanent window/default Yes
Global image Yes
Start screen configurable Yes
Image selection by PLC Yes
Image number in the PLC Yes
Image objects
Number of objects per image 400
Text fields Yes
I/O fields Yes
Graphic I/O fields (graphics list) Yes
symbolic I/O fields (text list) Yes
Date/time fields Yes
Switch Yes
Buttons Yes
Graphic display Yes
Icons Yes
geometric objects Yes
Complex image objects
Number of complex objects per screen 20
Alarm view Yes
Trend view Yes
User view Yes
Status/control Yes
Sm@rtClient view Yes
Recipe view Yes
f(x) trend view Yes
System diagnostics view Yes
Media Player Yes
Bar graphs Yes
Sliders Yes
Pointer instruments Yes
Analog/digital clock Yes
Number of text lists per project 500
Number of entries per text list 500
Number of graphics lists per project 500
Number of entries per graphics list 500
Number of archives per device 50
Number of entries per archive 20000
Message archive Yes
Process value archive Yes
Archiving methods
Sequential archive Yes
Short-term archive Yes
Memory location
Memory card Yes
USB memory Yes
Ethernet Yes
Data storage format
Number of user groups 50
Number of user rights 32
Number of users 50
Password export/import Yes
Logging through printer
Alarms Yes
Report (shift log) Yes
Hardcopy Yes
Electronic print to file Yes ; pdf, html
Character sets
Keyboard fonts
US English Yes
Tahoma Yes
Arial Yes
Courier New Yes
WinCC Standard Yes
Ideographic languages Yes
Font size freely scalable Yes
additional character sets loadable Yes
Transfer (upload/download)
Ethernet Yes
using external storage medium No
Process coupling
S7-1200 Yes
S7-1500 Yes
S7-200 Yes
S7-300/400 Yes
WinAC Yes
SIMOTION No ; With WinCC, subsequent version
Allen Bradley (EtherNet/IP) Yes
Allen Bradley (DF1) Yes
Mitsubishi (MC TCP/IP) Yes
Mitsubishi (FX) Yes
OMRON (LINK/Multilink) Yes
Modicon (Modbus TCP/IP) Yes
Modicon (Modbus) Yes
OPC UA Client Yes
OPC UA Server No
Service tools/configuration aids
Clean screen Yes
Touch calibration Yes
Backup/Restore manually Yes
Backup/Restore automatically Yes
Simulation Yes
Device switchover Yes
Delta transfer Yes
Printer Yes
Multimedia Card Yes
SD card Yes
USB memory Yes
Network camera Yes
Type of housing (front)
Plastic No
Aluminum Yes
Stainless steel No
Width of the housing front 330 mm
Height of housing front 241 mm
Mounting cutout/device depth (W x H x D)
Mounting cutout, width 310 mm
Mounting cutout, height 221 mm
Overall depth 65 mm
Weight without packaging 2.8 kg
Weight incl. packaging 3.5 kg
Status Jul 30, 2014


MRO Electric and Supply as new and refurbished SIMATIC 6AV2124-0MC01-0AX0 HMIs available, as well as other Siemens HMIs. We can also repair most panels.

For more information to to request a quote, email or call 800-691-8511.

FANUC M-Codes List for 16i, 18i, and More

M-code are CNC program instructions which help machinists and CNC programmers control CNC hardware like chuck, tailstock, quill, coolant. Here are listed M-code which are mostly used on 16i and 18i FANUC Controls.

Auxiliary Function (M Function)

When a numeral is specified following address M, code signal and a strobe signal are sent to the machine. The machine uses these signals to turn on or off its functions. Usually, only one M code can be specified in one block.

In some cases, however, up to three M codes can be specified for some types of machine tools. Which M code corresponds to which machine function is determined by the machine tool builder.

The machine processes all operations specified by M codes except those specified by M98, M99,M198 or called subprogram(Parameter No.6071 to 6079), or called custom macro (Parameter No.6080 to 6089). Refer to the machine tool builder’s instruction manual for details.

The following M codes have special meanings:

  • M02, M03 (End of Program)
    • This indicates the end of the main program Automatic operation is stopped and the CNC unit is reset.
    • This differs with the machine tool builder. After a block specifying the end of the program is executed, control returns to the start of the program. Bit 5 of parameter 3404 (M02) or bit 4 of parameter 3404 (M30) can be used to disable M02, M30 from returning control to the start of the program.
  • M00 (Program Stop)
    • Automatic operation is stopped after a block containing M00 is executed. When the program is stopped, all existing modal information remains unchanged. The automatic operation can be restarted by actuating the cycle operation. This differs with the machine tool builder.
  • M01 (Optional Stop)
    • Similarly to M00, automatic operation is stopped after a block containing M01 is executed. This code is only effective when the Optional Stop switch on the machine operator’s panel has been pressed.
  • M98 (Calling of Sub-Program)
    • This code is used to call a subprogram. The code and strobe signals are not sent.
  • M99 (End of Subprogram)
    • This code indicates the end of a subprogram. M99 execution returns control to the main program. The code and strobe signals are not sent.
  • M198 (Calling a Subprogram)
    • This code is used to call a subprogram of a file in the external input/output function. See the description of the subprogram call function (III–4.7) for details.


Multiple M Commands in a Single Block

In general, only one M code can be specified in a block. However, up to three M codes can be specified at once in a block by setting bit 7 (M3B) of parameter No. 3404 to 1. Up to three M codes specified in a block are simultaneously output to the machine. This means that compared with the conventional method of a single M command in a single block, a shorter cycle time can be realized in machining.

CNC allows up to three M codes to be specified in one block. However, some M codes cannot be specified at the same time due to mechanical operation restrictions. For detailed information about the mechanical operation restrictions on simultaneous specification of multiple M codes in one block, refer to the manual of each machine tool builder. M00, M01, M02, M30, M98, M99, or M198 must not be specified together with another M code. Some M codes other than M00, M01, M02, M30, M98, M99, and M198 cannot be specified together with other M codes; each of those M codes must be specified in a single block.

Such M codes include these which direct the CNC to perform internal operations in addition to sending the M codes themselves to the machine. To be specified, such M codes are M codes for calling program numbers 9001 to 9009 and M codes for disabling advance reading (buffering) of subsequent blocks. Meanwhile, multiple of M codes that direct the CNC only to send the M codes themselves (without performing internal operations ) can be specified in a single block.

M Code Group Check Function

The M code group check function checks if a combination of multiple M codes (up to three M codes) contained in a block is correct.

This function has two purposes. One is to detect if any of the multiple M codes specified in a block include an M code that must be specified alone. The other purpose is to detect if any of the multiple M codes specified in a block include M codes that belong to the same group. In either of these cases, P/S alarm No. 5016 is issued. For details on group data setting, refer to the manual available from the machine tool builder.

  • M Code Setting
    • Up to 500 M codes can be specified. In general, M0 to M99 are always specified. M codes from M100 and up are optional.
  • Group Numbers
    • Group numbers can be set from 0 to 127. Note, however, that 0 and 1 have special meanings. Group number 0 represents M codes that need not be checked. Group number 1 represents M codes that must be specified alone.


KUKA Robot Arms | Available Now at MRO Electric and Supply

KUKA Robot Arm

Electronic Tutorials and Robotics Guide

MRO Electric and Supply distributes a variety of new and refurbished KUKA Robot arms.

We repaint and rebuild all of our refurbished robotics arms, as well as purge and replace the grease according to the manufacturer’s specifications.

We supply KUKA arms and wrists from a number of robots, including the following:

  • KR15
  • KR30
  • KR100
  • KR150
  • KR200
  • KR350
  • KR3
  • KR1000
  • KR10
  • KR16
  • KR120
  • KR60
  • KR140
  • KR360
  • KR16-2
  • KR30-3
  • KR90
  • KR180
  • KR60
  • KR500
  • Any Many More!


Most KUKA robotic arms are made up of 4-6 joints, and can be used for many different applications such as welding, material handling, material removal, and more.  Most KUKA robot arms are made from aluminum is built from the base up, ending with the wrist and whichever end effect is needed to help the arm perform its given application. KUKA was one of the first companies to use aluminum in robot arm design, which makes KUKA manipulators one of the fastest and lightest on the market.They also introduced a horizontal balancing spring on axis 2 before the other robot manufacturers, a design that has now been widely adopted.

Their large arms are typically used to lift heavy payloads are sometimes ran by hydraulic and pneumatic methods.

KUKA is known for their orange arms that have been used to build cars for Tesla and Porsche. They were also seen in the 2002 James Bond film Die Another Day.

MRO Electric and Supply has a warehouse full of many types of KUKA arms and wrists. Give us a call today if you need a replacement and we can usually ship you one same-day! You can also email for a quote.