K-WANG



The official English operating manual (W303-E1-09) for OMRON C200HX/HG/HE series rack mounted medium-sized PLCs is written around nine modules: hardware configuration, storage zoning, programming specifications, instruction set, program scanning timing, communication, troubleshooting, and equipment debugging. It is aimed at electrical design, on-site debugging, and equipment maintenance personnel, and is labeled with CE compliance, safety usage standards, and version compatibility rules. It supports seamless porting of C200H/C200HS programs.
Hardware specifications and system architecture
1. Hardware differences among the three CPU models
Model Program Capacity DM Memory EM Expansion Memory Clock Expansion Rack Upper Limit
C200HE-CPU11-E 3.2K word 4K none 2 expansion racks
C200HG full series 7.2K/15.2K 6K 1 group 6144 words built-in 2 expansion racks
C200HX full series 15.2/31.2K 6K 3 sets x 6144 words, with up to 3 built-in expansion racks
Calculation speed: The minimum basic instructions are 0.1 μ s (HX), 0.15 μ s (HG), and 0.3 μ s (HE).
2. Rack structure
The system consists of a CPU motherboard, an expansion I/O rack, and a remote slave rack. The motherboard is divided into 3/5/8/10 slot specifications, and each slot is assigned one IR I/O word by default; Remote rack with SYSMAC BUS remote I/O. Module types: General I/O modules, high-density I/O, special I/O (temperature control/high-speed counting/positioning), various LINK communication modules (PC Link, Host Link, SYSMAC NET/LINK).
3. CPU body hardware
Interface: Peripheral port (taking over programmer CQM1-PRO01 and upper SSS software), built-in RS232C port, optional communication board COM;
DIP DIP DIP switch 6-position: controls program write protection, automatic loading of memory card power on, switching between Chinese and English, enabling extended instructions, default serial port parameters, terminal mode;
Storage medium: Optional EEPROM/EP program storage card (4K~32K), capable of backing up UM programs and DM data, achieving battery free operation;
Status indicator lights: RUN running, ERR fault, INH output disabled, COMM communication.
4. Battery free operation plan
Paired with read-only memory card and parameter shielding settings, disable low battery alarm, power-off hold register, and cancel backup lithium battery power supply.
Detailed explanation of full memory partitioning (core)
The PLC memory is divided into user program area UM and nine major data storage areas, each with different addressing rules and power-off holding characteristics:
IR zone (input/output relay)
IR000~IR235、IR300~IR511, Corresponding to the physical I/O points of the rack slot, unoccupied addresses can be used as internal intermediate bits and reset when powered off; Subdivide general I/O, high-density I/O, special I/O, and remote I/O to allocate addresses.
SR special relay area (system flag)
SR236~SR299, System read-only+partially writable flags: system clock pulse (0.02s/0.1s/1s/1min), operation flag CY/GR/EQ/LE/N/OF, fault flag (low battery, cycle exceeding, I/O verification error), communication status, memory card control bit, clock register.
AR auxiliary relay
AR00~AR27, Power outage data retention, storing various module fault codes, system cycles, calendar clocks (year, month, day, week), communication node status, and program tracking parameters.
HR holding relay: HR00~HR99, addressable by bit/word, fully power-off holding, commonly used for self-locking and formula storage.
LR link relay: LR00~LR63, PC-LINK network cross station data exchange, idle can be used as internal software components.
TC Timer/Counter Area (TC000~511): Distinguish between contacts (bits) and current values (words) with the same number, save the PV of the counter when powered off, and reset the timer when powered on.
DM data storage
DM0000~DM6143 regular read and write; DM6000~DM6030 fault history storage (storing 10 error messages); DM6144~DM6655 system settings area (PC Setup, serial port parameters, scan time, interrupt configuration, only rewritable for peripherals); DM7000~DM9999 are assignable extended DMs (allocating space from UM).
EM Extended DM (HX/HG exclusive): Multi bank paging storage, requiring EMBC/BXF2 instruction to switch pages, cannot be directly addressed, suitable for large batch formulations.
TR temporary relay (TR0~TR7): only used for temporary storage of ladder diagram branches and internal temporary variables in the program.
UM area: stores ladder programs, and can manually allocate some space as an extension DM and I/O annotation area.

Programming Fundamentals and Ladder Diagram Specification
1. Overall programming steps
Sort out the on-site I/O point allocation; 2. Plan the DM address for special modules; 3. Draw a ladder diagram; 4. Convert mnemonic symbols; 5. Download verification; 6. Online debugging; 7. Program backup.
2. Basic instructions
Basic logic: LD/LDN, AND/ANDN, OR/ORN, AND-LD, OR-LD block instructions (essential for complex serial parallel mnemonic conversion);
Output: OUT/OUT NOT;
END (01): The program ends and the entire machine cannot run without END.
3. Program editing method
Two programming tools: handheld programmer (mnemonic input), SS upper level programming software (ladder diagram online editing, program download, I/O annotation); Support online editing, but device security must be confirmed before making modifications. Three operating modes:
Program: Stop running, program changes;
MONITOR: Program runs, can change parameters, force points;
RUN: Normal production operation, unable to rewrite program.
4. Key programming considerations
The same output coil cannot be OUT multiple times (the last one takes effect);
IL/ILC interlocking and JMP/JME jump specification are used to avoid program omission;
Differential instruction for DIFU rising edge and DIFD falling edge; KEEP latch instruction.
Full Instruction Classification (Section 5)
The manual fully includes the entire series of instructions, divided into 29 categories:
Position operation: reset, interlock jump, NOP/END basic;
Timed counting: TIM ordinary, TIMH high-speed, CNT reversible counter;
Data shifting and data transfer MOV system;
BCD four rules, binary signed four rules operation;
Data conversion and comparison instructions;
Subroutines, interrupt instructions, step instructions;
Special functions: FAL fault alarm, FALS fatal shutdown, TRACE tracking, FPD fault detection;
Serial port/HOST LINK, various network specific commands;
Special I/O module specific instructions (positioning, temperature control, AD/DA).
Program scanning cycle and timing
PLC cycle: input sampling → program operation → output refresh;
Periodic monitoring: DM can set the maximum scanning time, set the timeout SR flag, and trigger an alarm;
I/O response time: Distinguish between hardware filtering and program scanning delay. The manual provides the execution time of each instruction for device safety distance calculation;
Interrupt: Hardware interrupt, timed interrupt, can be set to high-speed interrupt mode to interrupt the execution of the main program.
Communication function
Host Link upper communication: RS232/485 networking, the upper computer reads and writes PLC memory through Host commands, and remotely downloads. The manual comes with a complete set of Host command codes and return error codes;
1: 1 PC-LINK: point-to-point data exchange between two PLCs;
SYSMAC NET/SYSMAC LINK: Fiber optic large-scale PLC LAN, multi site data link;
Optional communication board COM: expands multiple serial ports and multiple bus protocols;
NT touch screen communication: 1: N multi screen networking.
Program Monitoring and Debugging (Section 7)
Both handheld and SS software can monitor point locations and DM values online;
Mandatory ON/OFF position: Before operation, it is necessary to confirm that there are no personnel on site to prevent equipment misoperation;
Tracking function: TRSM captures operational data for occasional troubleshooting.
Fault diagnosis (Section 9)
Quick positioning of panel indicator light: ERR constantly on, fatal shutdown, flashing non fatal alarm;
SR/AR has various built-in fault indicators: I/O error, communication error, low battery, program error;
DM6000~DM6030 automatically records fault codes and occurrence time (year, month, day, hour, and minute), with a maximum of 10 entries, and can be set to overwrite/not overwrite;
Host communication error classification: frame error, parity error, overflow, and no response from the slave station.
Storage card usage
Type: EEPROM (rewritable), EPROM (requires dedicated writer, read-only);
Function: Save UM programs, IOM full memory (IR/HR/DM, etc.);
Operation: In Program mode, the SR corresponding control bit triggers card storage/reading/verification; DIP2 pin ON automatically loads the program from the card when powered on;
The whole machine is battery free: the program solidifies the EP card, automatically loads when powered on, and cancels the backup battery.
Program compatibility (emphasis)
The C200HS program can be used directly, while the old C200H program can be transferred through SS software. Please note:
Original C200H incorrect storage address change;
The scanning speed of the new model is faster, and programs that rely on periodic timing need to be modified;
The SYS system instruction parameters are automatically written into the new version DM setting area.

K-JIANG
Add: Jimei North Road, Jimei District, Xiamen, Fujian, China
Tell:+86-15305925923