
6ES7318-2AJ00-0AB0 SIMATIC S7-300 CPU 318-2
The Siemens SIMATIC S7-300 CPU 318-2, part number 6ES7318-2AJ00-0AB0, is a high-performance central processing unit belonging to the SIMATIC S7-300 programmable logic controller family. It represents one of the most powerful CPUs in the S7-300 range, designed for complex automation tasks requiring large program memory, fast processing, and extensive I/O capacity. The CPU 318-2 is manufactured by Siemens and is fully integrated into the SIMATIC automation ecosystem.
The 6ES7318-2AJ00-0AB0 features a substantial work memory of 512 KB for code and 512 KB for data, enabling execution of large and complex control programs. It is equipped with two integrated PROFIBUS-DP interfaces, allowing it to operate simultaneously as a DP master and DP slave on separate networks, which facilitates distributed I/O architectures. The CPU supports MPI (Multi-Point Interface) communication, S7 communication, and global data communication. It offers a processing speed of approximately 0.1 ms per 1000 binary instructions and supports up to 65536 digital I/O and 4096 analog I/O points. A Micro Memory Card (MMC) slot is provided for program storage and data retention without a battery.
The SIMATIC S7-300 CPU 318-2 is widely deployed in demanding industrial automation applications such as automotive manufacturing, machine tool control, process automation in chemical and pharmaceutical plants, and large-scale material handling systems. Its dual PROFIBUS-DP interfaces make it particularly suitable for installations requiring simultaneous control of multiple distributed I/O networks or integration with field devices such as drives, sensors, and remote I/O stations. The high memory capacity and processing speed make it appropriate for applications with complex sequencing, data logging, and real-time control requirements.
Technical Specifications
| Work Memory (Code) | 512 KB |
|---|---|
| Work Memory (Data) | 512 KB |
| Load Memory | Up to 8 MB (via Micro Memory Card) |
| Processing Speed (Binary Instructions) | 0.1 ms per 1000 instructions |
| Integrated Interfaces | 1x MPI/PROFIBUS-DP, 1x PROFIBUS-DP |
| PROFIBUS-DP Role | DP Master and DP Slave (simultaneous) |
| Max. Digital I/O | 65536 |
| Max. Analog I/O | 4096 |
| Input Voltage | 24 V DC |
| Current Consumption (from backplane bus) | 1.2 A |
| Operating Temperature | 0 °C to +60 °C |
| Storage Temperature | -40 °C to +70 °C |
| Relative Humidity | 10% to 95% (non-condensing) |
| Memory Card Type | Micro Memory Card (MMC) |
| Mounting | DIN rail (S7-300 rack) |
| Certifications | CE, UL, cULus, ATEX (Zone 2) |
Common System Fault Codes
- Fault Code 1
- Hardware interrupt OB not loaded — a hardware interrupt was triggered but the corresponding OB (e.g. OB40) is not present in the CPU program.
Load the required interrupt OB into the CPU program or disable the interrupt source causing the trigger. - Fault Code 2
- Diagnostic interrupt OB not loaded — a module reported a diagnostic event but OB82 is missing from the user program.
Load OB82 into the CPU program to handle diagnostic interrupts, or acknowledge the fault via STEP 7. - Fault Code 3
- I/O access error — the CPU attempted to access a module that is not present or not responding in the configured slot.
Check module seating and rack connections. Verify hardware configuration in STEP 7 matches the physical setup. Replace faulty module if necessary. - Fault Code 121
- Programming error — an instruction was executed with an invalid or out-of-range parameter (e.g. illegal timer or counter number).
Review the user program for incorrect parameter usage. Correct the offending instruction in STEP 7 and reload the program. - Fault Code 122
- Module access error during I/O update — the CPU detected an error while updating process image inputs or outputs.
Identify the faulty module using the diagnostic buffer in STEP 7. Check wiring, module status LEDs, and replace the module if defective. - Fault Code 401
- PROFIBUS-DP slave failure — one or more configured DP slaves have failed to respond within the monitoring time.
Check PROFIBUS cable continuity, termination resistors, and slave device power. Verify bus address settings and replace faulty slave or cable segment. - Fault Code 405
- Interrupt lost — too many interrupts occurred simultaneously and the CPU could not process all of them in time.
Review interrupt source configuration and reduce interrupt frequency. Optimize OB execution time or restructure the interrupt handling in the user program. - Fault Code 80A
- Time error — the maximum cycle time was exceeded, triggering OB80 (time error OB).
Load OB80 to prevent CPU STOP. Optimize the user program to reduce cycle time, or increase the maximum cycle time setting in the CPU properties in STEP 7.
Frequently Asked Questions
What is the maximum program memory available on the 6ES7318-2AJ00-0AB0?
The CPU 318-2 provides 512 KB of work memory for code and 512 KB for data. Load memory can be extended up to 8 MB using a Siemens Micro Memory Card inserted into the onboard MMC slot.
How many PROFIBUS-DP interfaces does the CPU 318-2 have?
The 6ES7318-2AJ00-0AB0 has two integrated PROFIBUS-DP interfaces. One interface (MPI/DP) can be configured as MPI or PROFIBUS-DP, and the second is a dedicated PROFIBUS-DP port, allowing the CPU to act as DP master and DP slave simultaneously on separate networks.
Is a battery required for program and data retention on this CPU?
No battery is required for program retention, as the Micro Memory Card (MMC) provides non-volatile storage. However, a backup battery can be used to retain the real-time clock and RAM data during power loss if needed.
Which programming software is used to configure and program the CPU 318-2?
The CPU 318-2 is programmed using Siemens STEP 7 (version 5.x), which supports LAD, FBD, and STL programming languages. It is not natively compatible with TIA Portal without additional migration tools.
What is the maximum number of I/O points supported by this CPU?
The CPU 318-2 supports up to 65536 digital I/O points and up to 4096 analog I/O points when using distributed I/O via PROFIBUS-DP in addition to centrally mounted S7-300 I/O modules.
Troubleshooting
CPU goes to STOP mode immediately after startup
Check the diagnostic buffer in STEP 7 (accessible via PLC > Module Information > Diagnostic Buffer) to identify the specific fault code and event that caused the STOP. Common causes include missing OBs, configuration mismatches, or I/O access errors.
Load any missing organization blocks (e.g. OB82, OB85, OB86) required by the hardware configuration. Ensure the STEP 7 hardware configuration matches the physical rack layout exactly, then perform a memory reset (MRES) and reload the program.
PROFIBUS-DP slave devices not communicating
Check the BF (Bus Fault) LED on the CPU — a steady red BF LED indicates a PROFIBUS configuration or hardware fault. Use STEP 7 diagnostic tools to identify which slaves are failing. Measure bus voltage and check cable termination at both ends of the PROFIBUS segment.
Verify that termination resistors are active only at the physical ends of the PROFIBUS cable. Check that all slave addresses match the STEP 7 hardware configuration. Inspect connectors for damage and replace faulty cable segments or connectors as needed.
CPU does not recognize the Micro Memory Card
Remove and reinsert the MMC while the CPU is powered off. Inspect the MMC slot contacts for contamination or damage. Try a known-good Siemens-branded MMC to determine if the card itself is faulty.
Use only Siemens-approved Micro Memory Cards, as third-party cards are not supported. If the slot contacts are damaged, the CPU module will require repair or replacement. Ensure the MMC is fully seated before powering on.
Cycle time overrun causing OB80 calls or CPU STOP
Monitor the actual cycle time in STEP 7 under PLC > Module Information > Performance Data. Identify program blocks or communication tasks consuming excessive scan time. Check if large data transfers or PROFIBUS polling are contributing to cycle overruns.
Optimize time-critical program blocks by reducing unnecessary calculations or moving non-critical tasks to lower-priority OBs. Increase the maximum cycle time in the CPU properties if operationally acceptable. Load OB80 to allow the CPU to continue running and log the overrun events.
MPI communication lost between CPU and programming device or HMI
Check the MPI cable and connector integrity. Verify that the MPI address of the CPU matches the address configured in STEP 7 and the HMI project. Confirm that no two devices on the MPI network share the same address.
Replace the MPI cable or PC adapter if damaged. Reset the MPI address via the CPU front panel or STEP 7 if it has been inadvertently changed. Ensure the MPI network has correct termination and that the baud rate is consistent across all connected devices.
| Condition | Repair, Used, Refurbished, New in box (sealed) |
|---|
Related products
-
Siemens Simatic S7 6ES7405-0KA02-0AA0
€ 419,00Select options This product has multiple variants. The options may be chosen on the product page -
Siemens Simatic S5 6ES5460-4UA12
€ 279,00Select options This product has multiple variants. The options may be chosen on the product page -
Siemens Simatic S5 6GK1901-0AA00-0AA0
€ 16,45 – € 277,00Price range: € 16,45 through € 277,00Select options This product has multiple variants. The options may be chosen on the product page
