1. Home
  2. /
  3. Omron-cx-programmer
  4. /
  5. CTU Up Counter (CNT)

CTU Up Counter (CNT) - Omron-cx-programmer Typing CST Test

Loading…

CTU Up Counter (CNT) — Omron-cx-programmer Code

Counts rising edges on CIO 1.02. Turns ON CIO 0.02 at 10 counts.

CTU_1(CU := CIO102, PV := 10);
IF CTU_1.CV >= 10 THEN
	CIO002 := TRUE;
END_IF;

Omron-cx-programmer Language Guide

Omron CX-Programmer is Omron’s flagship IEC 61131-3 compliant PLC programming software for developing, testing, monitoring, and maintaining automation programs for Omron PLCs, including CP, CJ, CS, and NJ/NX series controllers.

Primary Use Cases

  • ▸PLC programming for Omron CJ/CS/CP platforms
  • ▸Automation logic design for manufacturing lines
  • ▸Real-time monitoring and debugging of PLC systems
  • ▸I/O and device communications configuration
  • ▸Maintenance and troubleshooting in industrial plants

Notable Features

  • ▸Ladder, ST, FBD, and IL support
  • ▸Online editing and live force/monitor mode
  • ▸Automatic addressing and symbol management
  • ▸Integrated debugger and simulator
  • ▸Smart FB library and instruction wizards

Origin & Creator

Developed by Omron Corporation (Japan), a global leader in automation and industrial control technologies.

Industrial Note

Widely used in factory automation, packaging machinery, assembly lines, SCADA-connected systems, and high-reliability Japanese manufacturing environments.

More Omron-cx-programmer Typing Exercises

Simple Output Control (ST)TON On-Delay Timer (TIMX Equivalent)Move Instruction (MOV Equivalent)Analog Scaling (0-4000 -> 0-100%)Motor Start/Stop Seal Circuit (ST)Rising Edge Detection (Differentiation UP)FOR Loop Summing RegistersPIDAT Block Example (Omron PID)Simple PWM Output (ST Logic)

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher