Omron CPM2A Manual
For Use With:CPM2A CPU'S; Voltage Rating AC, Vrms:280V
Part Numbers: CPM2A-BAT01, CPM2ABAT01
Here you can find all about Omron CPM2A, for example manual and programming manual, software. You can also write a review. [ Report abuse or wrong photo | Share your Omron CPM2A photo ]
OMRON CPM2A vs OMRON CP1L
User reviews and opinions
No opinions have been provided. Be the first and add a new opinion/review.
Micro Programmable Controller
The CPM2A brick-style controllers offer one of the most powerful, small-scale control solutions in the industry today. They provide 20, 30, 40 or 60 I/O point CPUs, pulse I/O for position control, multiple communications ports and a powerful instruction set.
Expandable up to 120 I/O points Peripheral and RS-232C ports standard for direct connection to serial devices and programming tools Removable terminals Synchronized pulse control coordinates input devices with control devices Auxiliary 24 VDC supply (AC type only) Relay or Transistor outputs Analog I/O expansion modules available Temperature sensor input expansion modules available Real-time clock 20 kHz high-speed counter input Two, 10 kHz pulse outputs for position control applications
D D D D D D D
Up to three Expansion I/O Modules or Special I/O Modules can be connected to any CPM2A CPU. The mounting order does not affect the number of modules that can be mounted.
Optional Serial Communications Adapters CPM1-CIF01/CIF11 modify the Peripheral Port for use as an additional serial port.
Expansion I/O Module or Special I/O Module
Expansion I/O Module Expansion I/O Module or Special I/O Module or Special I/O Module
Stock Note: Shaded models are normally stocked. Description p Input p i t points Output p i t points Power l supply Part number Relay outputs y p CPM2A-20CDR-A Transistor outputs NPN (Sinking) PNP (Sourcing)
CPUs with 20 I/O points
DC AC model DC models AC
CPUs with 30 I/O points
DC AC model DC models CPUs with 40 I/O points
DC AC model DC models CPUs with 60 I/O points
DC AC model DC models
J EXPANSION I/O AND SPECIAL I/O MODULES
Stock Note: Shaded models are normally stocked. Description Expansion I/O Max. number of Units 3 max. Inputs 12 Outputs 8 Output type Relay Transistor (NPN) Transistor (PNP) 8 Relay Transistor (NPN) Transistor (PNP) Analog I/O 3 max. Analog Part number CPM1A-20EDR1 CPM1A-20EDT CPM1A-20EDT1 CPM1A-8ED CPM1A-8ER CPM1A-8ET CPM1A-8ET1 CPM1A-MAD01 CPM1A-MAD11 Temperature Sensor Inputs p p 3 max. 1 (See Note.) 3 max. 1 (See Note.) CompoBus/S I/O Link 3 max. 4 1 analog Platinum resistance thermometer th t Thermocouple p CPM1A-TS001 CPM1A-TS002 CPM1A-TS101 CPM1A-TS101-DA CPM1A-TS102 CPM1A-SRT21
I/O Link of 8 input bits and 8 output bits
DeviceNet I/O Link Module
32 input bits from the Master and 32 output bits to the Master 16 bits (Inputs from the Master) 16 bits (Outputs to the Master)
Profibus-DP Slave Module
Shielded twisted pair cable, available commercially
Belden #3079A cable
Note: If a CPM1A-TS002/102 is connected, only one other module (and not a CPM1A-TS002/102) can be connected.
J PROGRAMMING CONSOLES AND CABLES
Stock Note: Shaded models are normally stocked. Product Programming console (2 m cable attached), connects directly to peripheral port Programming console (2 m cable attached); order CS1W-CN114 adapter for peripheral port Programming console (Requires separate cable. See below.) Connecting cable for C200H-PRO27-E g 2 m cable 4 m cable Part number CQM1H-PRO01-E CQM1-PRO01-E C200H-PRO27-E C200H-CN222 C200H-CN422
J SUPPORT SOFTWARE
Stock Note: Shaded models are normally stocked. Product CX-Programmer Jr. CX-Programmer Functions Windows-based programming software; reduced instruction set and networking commands. Full programming software package programs micro, small and larger controllers. Part number WS02-CXPC1-EJ-Vj.j WS02-CXPC1-E-Vj.j
J SERIAL COMMUNICATIONS ADAPTERS AND CABLES
Stock Note: Shaded models are normally stocked. CPM2A port Peripheral Name RS-232C Adapter Appearance Comments Cable-mounted communication adapter converts peripheral port to DB9-pin serial port. DIN mount communication adapter converts peripheral port to DB9-pin serial port. RS-232C RS-232C Cable Program download cable from computer to Omron DB9 serial port. Communication cable to other Omron devices with DB9 serial port d i ith i l t Communication cable to other Omron devices with DB9 serial port Communication cable for NT31C (port ( t B only). l ) Cable length 3.3 m (10.8 ft) Part number CQM1-CIF02
3.3 m (10.8 ft)
2 m (6.6 ft)
3 m (9.8 ft) ( ) 5 m (16.4 ft) 50 cm 3m 5m 2m
C200H-CN320-EU CBL-804* C200H-CN520-EU NT31C-CN510-EU NT31C-CN320-EU CBL-803* NT31C-CN520-EU C200H-CN229-EU CBL-202*
Communication cable for NT31C (port B only). Programmable download cable from D-sub 9-pin computer port to RS-232C port. Programmable download cable from D sub 25 pin computer port to D-sub 25-pin RS-232C port. Peripheral RS-422/ RS-485 Adapter Converts CPM2A peripheral port to RS-422/RS-485 communications.
2m 5m 3.3 m (10.8 ft)
XW2Z-200S XW2Z-500S CPM1-CIF11
* Available in Canada only.
Stock Note: Shaded models are normally stocked. Product Backup Battery Replacement Function Backs up memory in the CPM2A CPU Unit. (One battery is already installed in the unit.) Part number CPM2A-BAT01
J PROGRAM TRANSFER EQUIPMENT
Stock Note: Shaded models are normally stocked.
Product Expansion Memory Unit EEPROM (256 kbits)
Description Uploads and downloads program and setup memory areas to and from the controller. Used with the Expansion Memory Unit
Part number CPM1-EMU01-V1 EEPROM-CPM1-EMU01
Product Operation manual Programming manual Description CPM2A operation manual CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual Part number W352 W353
J GENERAL SPECIFICATIONS
Item Supply voltage pp y g Operating voltage p g g range Power consumption p Inrush current External power supply (AC power supplies only) Insulation resistance Dielectric strength Noise immunity Vibration resistance AC power DC power AC power DC power AC power DC power AC power DC power Supply voltage Output capacity CPUs with 20 I/O points 24 VDC 85 to 264 VAC 20.4 to 26.4 VDC 60 VA max. 20 W max. (See separate table following this one for details) 60 A max. 20 A max. 24 VDC 300 mA (See Notes 1, 2, 3.) 20 M min. (at 500 VDC) between the external AC terminals and protective earth terminals. 2,300 VAC 50/60 Hz for 1 min between the external AC and protective earth terminals, leakage current: 10 mA max. Conforms to IEC61000-4-4, 2 kV (power lines) 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z directions for 80 minutes each. (Time coefficient; 8 minutes coefficient factor 10 = total time 80 minutes) 147 m/s2 three times each in X, Y, and Z directions. Operating: 0 to 55C Storage: --20 to 75C Humidity Atmosphere Terminal screw size Power interrupt time CPU weight g Expansion weight AC power DC power 10% to 90% (with no condensation) Must be free from corrosive gas M3 AC power supply: 10 ms min. DC power supply: 2 ms min. 650 g max. 550 g max. 700 g max. 600 g max. 300 g max. 250 g max. 200 g max. 150 g max. 250 g max. 250 g max. 200 g max. 200 g max. 125 g 800 g max. 700 g max. 1,000 g max. 900 g max. CPUs with 30 I/O points CPUs with 40 I/O points CPUs with 60 I/O points
100 to 240 VAC, 50/60 Hz
Shock resistance Ambient temperature p
Units with 20 I/O points: Units with 8 output points: Units with 8 input points: MAD01 Analog I/O Unit: MAD11 Analog I/O Unit: Temperature Sensor Units: CompoBus/S I/O Link Unit: DeviceNet I/O Link Unit: Profibus-DP Slave Unit:
Note: 1. Use the external power supply as the power supply for input devices only. (It cannot be used to drive output devices.) 2. If the external power supply current exceeds the rated current, or there is a short-circuit, the external power supply voltage will drop and PLC operation will stop. 3. If there are 3 CPM1A-MAD11 modules mounted to a CPM2A-60CDR-A, the current for the external power supply must not exceed 200 mA.
Control method I/O control method Programming language Instruction length Instructions Execution time Program capacity User data memory I/O / it capacity CPU Unit only With Expansion I/O Modules Stored program method Cyclic scan with direct output (Immediate refreshing can be performed with IORF(97).) Ladder diagram 1 step per instruction, 1 to 5 words per instruction Basic instructions: 14 Special instructions: 105 instructions, 185 variations Basic instructions: 0.64 s (LD instruction) Special instructions: 7.8 s (MOV instruction) 4,096 words 2,048 words 20 points 80 points max. 30 points 90 points max. 40 points 100 points max. 60 points 120 points max.
Memory protection Memory backup
HR area, AR area, program contents, read/write DM area contents, and counter values maintained during power interruptions. Flash memory: Program, read-only DM area, and PC Setup Battery backup: The read/write DM area, HR area, AR area, and counter values are backed up by a battery. (Battery life is approximately 5 years.)
Self-diagnostic functions Program checks Communications functions
CPU failure (watchdog timer), I/O bus error, and memory failure, battery error No END instruction and programming errors are checked at the start of operation. Built-in peripheral port: Supports host link, peripheral bus, no-protocol, or Programming Console connections. Built-in RS-232C port: Supports Host Link, No-protocol, 1:1 Slave Unit link, 1:1 Master Unit link, or 1:1 NT Link connections.
Functions provided by Expansion Modules
Analog I/O Module: Provides 2 analog inputs and 1 analog output. CompoBus/S I/O Link Module: Provides 8 inputs and 8 outputs as a CompoBus/S Slave. Temperature Sensor Modules: Provide 2 or 4 thermocouple inputs, or 2 or 4 temperature-resistance thermometer inputs.
J I/O ALLOCATION
Input bits Output bits Work bits Special bits (SR area) Temporary bits (TR area) Holding bits (HR area) Auxiliary bits (AR area) Link bits (LR area) Timers/Counters IR 00000 to IR 00915 (Words not used for input bits can be used for work bits.) IR 01000 to IR 01915 (Words not used for output bits can be used for work bits.) 928 bits: IR 02000 to IR 04915 (Words IR 020 to IR 049) and IR 20000 to IR 22715 (Words IR 200 to IR 227) 448 bits: SR 22800 to SR 25515 (Words IR 228 to IR 255) 8 bits (TR0 to TR7) 320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19) 384 bits: AR 0000 to AR 2315 (Words AR 00 to AR 23) 256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15) 256 timers/counters (TIM/CNT 000 to TIM/CNT 255) 1-ms timers: TMHH(----) 10-ms timers: TIMH(15) 100-ms timers: TIM 1-s/10-s timers: TIML(----) Decrementing counters: CNT Reversible counters: CNTR(12) Data memory Read/Write: 2,048 words (DM 0000 to DM 2047) Error Log is contained in DM 2000 to DM 2021 Read-only: 456 words (DM 6144 to DM 6599) PC Setup: 56 words (DM 6600 to DM 6655) External interrupts: 4 (Shared by the external interrupt inputs (counter mode) and the quick-response inputs.) 1 (Scheduled Interrupt Mode or Single Interrupt Mode) One high-speed counter: 20 kHz single-phase or 5 kHz two-phase (linear count method) Counter interrupt: 1 (set value comparison or set-value range comparison) Four inputs (Shared with external interrupt inputs (counter mode) and quick-response inputs.) Counter interrupts: 4 (Shared by the external interrupt inputs and quick-response inputs.) Two points with no acceleration/deceleration, 10 to 10 kHz each, and no direction control. One point with waveform acceleration/deceleration, 10 to 10 kHz, and direction control. Two points with variable duty-ratio outputs using PWM(----). (Pulse outputs can be used with transistor outputs only, they cannot be used with relay outputs.) Synchronized pulse control One point: A pulse output can be created by combining the high-speed counter with the pulse output and multiplying the frequency of the input pulses from the high-speed counter by a fixed factor. (This output is possible with transistor outputs only, it cannot be used with relay outputs.) Quick-response inputs Analog controls Input time constant Clock function Four points (Min. input pulse width: 50 s min.) 2 controls, setting range: 0 to 200 Can be set for all input points. (1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms; default setting: 10 ms) Shows the year, month, day of the week, day, hour, minute, and second. (Battery backup)
Basic interrupts e up s
Interrupt processing Interval timer interrupts
High-speed counter Interrupt inputs (counter mode)
J I/O SPECIFICATIONS
Item Input voltage Input impedance p p Inputs All IN00000 to IN00001 IN00002 to IN00006 IN00007 and up Input current p IN00000 to IN00001 IN00002 to IN00006 IN00007 and up ON voltage/current g / OFF voltage/current ON delay OFF delay Circuit configuration IN00000 to IN00001 IN00002 and up All All All IN00000 to IN00001 10,000 pF Internal Circuits 2.7 k 680 Specification 24 VDC +10%/-- 15% 2.7 k 3.9 k 4.7 k 8 mA typical 6 mA typical 5 mA typical 17 VDC min., 5 mA 14.4 VDC min., 3 mA 5.0 VDC max., 1 mA 1 to 80 ms max. Default: 10 ms (See Note.) 1 to 80 ms max. Default: 10 ms (See Note.) Input LED
IN00002 to IN00006
Input LED Internal Circuits
750 3.9 k
IN00007 and up
750 4.7 k
Note: The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PLC Setup.
High-speed Counter Inputs
Inputs IN00000 through IN00002 can be used as high-speed counter inputs, as shown in the following table. The maximum count frequency is 5 kHz in differential phase mode and 20 kHz in the other modes. Input p IN00000 IN00001 IN00002 Function Differential phase mode A-phase pulse input B-phase pulse input Pulse + direction input mode Pulse input Direction input Up/down input mode Increment pulse input Decrement pulse input Increment mode Increment pulse input Normal input
Z-phase pulse input/Hardware reset input (IN00002 can be used as a normal input when it is not used as a high-speed counter input.)
Inputs IN00003 through IN00006 can be used as interrupt inputs (interrupt input mode or counter mode) and quick-response inputs. The minimum pulse width for these inputs is 0.05 ms.
Expansion I/O Module Input
Item Input voltage Input impedance Input current ON voltage OFF voltage ON delay OFF delay Circuit configuration Input LED Internal Circuits Specification 24 VDC +10%/-- 15% 4.7 k 5 mA typical 14.4 VDC min. 5.0 VDC max. 1 to 80 ms max. Default: 10 ms (See note.) 1 to 80 ms max. Default: 10 ms (See note.)
J OUTPUT SPECIFICATIONS (CPU AND EXPANSION I/O MODULE)
Item Max. switching capacity Specification 2 A, 250 VAC (cos = 1) 2 A, 24 VDC (4 A/common) 10 mA, 5 VDC Electrical: Mechanical: ON delay OFF delay Circuit configuration 15 ms max. 15 ms max. Output LED OUT 150,000 operations (30 VDC resistive load) 100,000 operations (240 VAC inductive load, cos = 4) 20,000,000 operations
Min. switching capacity Service life of relay
OUT COM Maximum 250 VAC: 2 A 24 VDC: 2 A
Transistor Output (Sinking)
Item Max. switching capacity Specification 20CDT-D 30CDT-D 40CDT-D 60CDT-D 8ET 20EDTVDC+10%/-- 5%, 0.3 A/output 0.8 A/common 4.8 A/Unit 0.9 A/common 1.8 A/Unit 0.9 A/common 1.8 A/Unit OUT01000, 01001: 4.5 to 30 VDC, 0.2 A/output OUT01002 and up: 4.5 to 30 VDC, 0.3 A/output 0.8 A/common 1.6 A/Unit Leakage current Residual voltage ON delay OFF delay 0.1 mA max. 1.5 V max. OUT01000 and OUT01001: OUT01002 and up: OUT01000 and OUT01001: OUT01002 and up: Fuse (See Note) Circuit configuration 1 fuse/output Output LED OUT 20 s max. 0.1 ms max. 40 s max. (4.5 to 26.5 V, 10 to 100 mA) 0.1 ms max. (4.5 to 30 V, 10 to 300 mA) 1 ms max. (4.5 to 30 V, 10 to 300 mA) 0.1 ms max. 1 ms max. 24 VDC +10%/-5%, 0.8 A/common 2.4 A/Unit 0.8 A/common 3.2 A/Unit
5 to 300 mA)
Note: Cannot be replaced by the user.
Transistor Output (Sourcing)
Item Max. switching capacity Specification 20CDT1-D 30CDT1-D 40CDT1-D 60CDT1-D 8ET1 20EDTVDC+10%/-- 5%, 0.3 A/output 0.8 A/common 4.8 A/Unit 0.9 A/common 1.8 A/Unit 0.9 A/common 1.8 A/Unit OUT01000, 01001: 4.5 to 30 VDC, 0.2 A/output OUT01002 and up: 4.5 to 30 VDC, 0.3 A/output 0.8 A/common 1.6 A/Unit Leakage current Residual voltage ON delay OFF delay 0.1 mA max. 1.5 V max. OUT01000 and OUT01001: OUT01002 and up: OUT01000 and OUT01001: OUT01002 and up: Fuse (See Note) Circuit configuration Output LED COM (+) Internal Circuits OUT 24 VDC 1 fuse/output 20 s max. 0.1 ms max. 40 s max. (4.5 to 26.5 V, 10 to 100 mA) 0.1 ms max. (4.5 to 30 V, 10 to 300 mA) 1 ms max. (4.5 to 30 V, 10 to 300 mA) 0.1 ms max. 1 ms max. 24 VDC+10%/-- 5%, 5 to 300 mA) 1 fuse/common 0.8 A/common 2.4 A/Unit 0.8 A/common 3.2 A/Unit
OUT Note: Cannot be replaced by the user.
J ANALOG I/O MODULE
Up to 3 Expansion I/O Modules or Expansion Modules (including the CPM1A-MAD01 Analog I/O Module) can be connected to a CPM2A CPU.
CPM1A--MAD01 Item Analog g inputs i t Number of inputs Input signal ranges Maximum rated input External input impedance Resolution Overall precision CPM1A-MAD01 Voltage I/O to 10 V or 1 to 5 V 15 V 1 M min. 1/256 1.0% of full scale 4 to 20 mA 30 mA 250 rated Current I/O CPM1A-MAD11 Voltage I/O 2 (allocated 2 words) 0 to 5 V, 1 to 5 V, 0 to 10 V, --10 to 10 V 15 V 1 M min. 1/6,000 (full scale) 25_C: 0.3% of full scale
Current I/O 0 to 20 mA, 4 to 20 mA 30 mA 250
0.4% of full scale
0 to 55_C: 0.6% of full scale Converted A/D data 8-bit binary
0 to 55_C: 0.8% of full scale
Binary data (4-digit hexadecimal) --10 to 10 V: F448 to 0BB8 Hex full scale Other: 0000 to 1770 Hex full scale Supported (set for each input with DIP switch) Supported 1 (allocated 1 word) 4 to 20 mA to 5 V, 0 to 10 V, --10 to 10 V 1 k min. 0 to 20 mA, 4 to 20 mA 600 max.
Analog g output t t (See Note 1 ) 1.)
Averaging Disconnected line detection Number of outputs Output signal ranges External output max. current External output allowed load resistance External output impedance Resolution Overall precision p Data setting D/A data setting
to 10 V or --10 to 10 V 5 mA
1/256 (1/512 when the output signal range is --10 to 10 V.) 1.0% of full scale 8-bit binary with sign bit
0.5 max. 1/6,000 (full scale) 25_C: 0.4% of full scale
0 to 55_C: 0.8% of full scale Binary data (4-digit hexadecimal) --10 to 10 V: F448 to 0BB8 Hex full scale Other: 0000 to 1770 Hex full scale 2 ms/point (6 ms/all analog I/O) Photocoupler isolation between analog I/O and internal circuits. (Individual analog I/O signals are not isolated.)
Conversion time (See Note 2.) Isolation method
10 ms/Unit max. Photocoupler isolation between I/O terminals and PC (There is no isolation between the analog I/O signals.)
Note: 1. The voltage output and current output can be used at the same time, but the total output current cannot exceed 21 mA. 2. The conversion time is the total time for 2 analog inputs and 1 analog output.
J TEMPERATURE SENSOR MODULES
By connecting a Temperature Sensor Module (CPM1A-TS001/TS002/TS101/TS101A/TS102) to the CPM2A, inputs can be received from thermocouples or temperatureresistance thermometers. Inputs converted to binary data (4-digit hexadecimal) and stored in the IR area.
Item Model Number of inputs Input types (See Note 1) Input resolution Input accuracy Specification CPM1A-TS001/TS002 TS001: 2; TS002: 4 Thermocouple types K or J, selectable 0.1C in 2s complement format 0.5% or 2% of the stored value whichever is larger 1 digit max. (See Note 2) None CPM1A-TS101/TS102 TS101: 2; TS102: 4 CPM1A-TS101-DA 2
Platinum resistance thermometer types Pt100 and JPt1100, selectable 0.1C in 2s complement format 0.5% or 1% of the stored value whichever is larger 1 digit max. (See Note 2) None 1.0% max. full scale
Number of outputs Output types Output resolution
1 Voltage or current output 1/256 (0 to 10 V) 1/512 (--10 to +10 V) 1/256 (4 to 20 mA) 1.0% max. full scale 60 ms max. for all points Binary data (8-digit hexadecimal)
Output accuracy Conversion cycle Converted temperature data Isolation method
250 ms for all points Binary data (4-digit hexadecimal)
Photocoupler isolation between I/O terminals and the PLC
Note: 1. The same input type must be used for all inputs. 2. Accuracy for K thermocouples at temperatures less than --100C: 4C 1 digit max.
Input Temperature Ranges
The input type is selected with a rotary switch. The ranges for each of the input types are shown in the following table. Model Input type Range in C Range in F CPM1A-TS001/TS002 Thermocouple type K --200 to 1,300, 0.0 to 500.0 --300 to 2300, 0.0 to 900.0 Thermocouple type J --100 to 850, 0.0 to 400.0 --100 to 1500, 0.0 to 750.0 CPM1A-TS101/TS101-DA/TS102 Platinum RTD Pt100 --200.0 to 650.0 --300.0 to 1200.0 Platinum RTD JPt100 --200.0 to 650.0 --300.0 to 1200.0
J COMPOBUS/S I/O LINK MODULE
The CPM2A PLC can function as a Slave to a CompoBus/S Master Module (or SRM1 CompoBus/S Master Controller) when a CPM1ASRT21 CompoBus/S I/O Link Module is connected. The CompoBus/S I/O Link Module establishes an I/O link of 8 inputs and 8 outputs between the Master Module and the CPM2A. Up to 3 Expansion I/O Modules or Expansion Modules can be connected to a CPM2A CPU. CompoBus/S Master Module (or SRM1 CompoBus/S Master Controller) CPM1A-SRT21 CompoBus/S I/O Link Module
CS1j, C200Hj, CQM1 (H), or SRM1 PC SCA1-4F10 flat cable or twisted pair Belden #9409 cable Up to 16 Slaves can be connected. (Up to 8 Slaves with the CQM1-SRM21-V1.)
Item Model number Master/Slave Number of I/O bits Number of words occupied in CPM2A I/O memory Node number setting Specification CPM1A-SRT21 CompoBus/S Slave 8 input bits, 8 output bits 1 input word, 1 output word (Allocated in the same way as other Expansion I/O Units or Expansion Units) Set using the DIP switch.
Note: See the CompoBus/S section of Omrons Remote I/O and Wiring Solutions Catalog (GC RIO1)for more details on CompoBus/S communications.
J CPM1A-DRT21 DEVICENET I/O LINK MODULE
The CPM1A-DRT21 DeviceNet I/O Link Module can be connected to the CPM2A to function as a slave under a DeviceNet Master Module. This enables an I/O Link with the Master Module via 32 input and 32 output points.
CPM2A CPU Module DeviceNet Master Module
CPM1A--DRT21 DeviceNet I/O Link Module
CS1j, C200Hj, CJ1j, CV-series or CVM1 PLC
Connect up to 63 nodes (with an CS1 Master Module)
Item Model number Master/slave I/O capacity to master I/O memory allocated in CPM2A Node address setting Maximum number of nodes (depending on the PC to which Master Unit is mounted) Specification CPM1A-DRT21 DeviceNet slave 32 input and 32 output points 2 input words and 2 output words (same as other Expansion Units) DIP switch (Set before turning ON power for the CPU Unit.) CS1: CJ1: CVM1/CV C200HX/HG/HE: C200HS 63 nodes 63 nodes 32nodes 25 nodes 16 nodes
J PROFIBUS-DP SLAVE MODULE
The CPM2A controller can function as a Slave to a Profibus-DP Master Module when a CPM1A-PRT21 Profibus-DP Slave Module is connected. The Profibus-DP Slave Module establishes an I/O link of 16 inputs and 16 outputs between the master and the controller. A maximum of 3 Profibus-DP Slave Modules can be connected to a CPM1A or CPM2A to create I/O links for up to 96 points (48 inputs and 48 outputs). Profibus-DP Master Module
PLC supporting Profibus-DP Master, e.g., CSI, C200Hj, CJ1j
CPM2A CPU Module
CPM1A-PRT21 Profibus-DP Slave Module
Each module enables remote I/O communications for 16 inputs and 16 output points as a Profibus-DP Slave.
Shielded twisted pair Belden #3079A cable
Up to 124 nodes (using repeaters)
Storage temperature Ambient temperature Ambient humidity EMC compliance Current consumption Weight Control data Status data I/O data (in bytes) --20 to +75C 0 to +55C 10 to 90% (non-condensing) EN 50081-2, EN 61131-mA from the PLC I/O bus 125 g (typical) From CPU to unit: none From unit to CPU: none 2 bytes input, 2 bytes output
J COMMUNICATIONS ADAPTER
RS-232C Adapter and RS-422 Adapter
Part number Functions CPM1-CIF01 Level conversion between the CMOS level (CPU side) and the RS-232C (peripheral device side) The RS-232C (peripheral device side) is insulated by a DC/DC converter and photocoupler. Power is supplied by the CPU. 0.3 A max. 38.4 kbits/s max.
Level conversion between the CMOS level (CPU side) and the RS-422 (peripheral device side) The RS-422 (peripheral device side) is insulated by a DC/DC converter and photocoupler.
Insulation Power supply Power consumption Transmission speed Vibration resistance Shock resistance Ambient temperature p Ambient humidity Ambient environment Weight Operating Storage Operating Operating
10 to 57 Hz with an amplitude of 0.075 mm, and 57 to 150 Hz with an acceleration of 1 G in the X, Y and Z directions for 80 minutes each (i.e. for 8 minutes each, 10 times). 1.5 G in the X, Y and Z directions 3 times each. 0C to 55C (32F to 131F) --20C to 75C (--4F to 167F) 10% to 90% RH (with no condensation) With no corrosive gas 200 g max. 0C to 55C (32F to 131F) --20C to 75C (--4F to 167F)
Unit: mm (inch)
CPUs with DC Power CPUs with AC Power
150 (5.91) 55 (2.17) 90 (3.54)
CPM1A-20EDj Expansion I/O Modules CPM1A-8jjj Expansion I/O Modules
CPM1A-MAD01 Analog I/O Module
CPM1A-MAD11 Analog I/O Module
100 0.2 90
76 0.50 (1.97)
5 Two, 4.5 dia.
Two, 10 dia. hole
Temperature Sensor Input Modules
43 (1.69) 86 (3.39) 50 (1.97)
CPM1A-SRT21 CompoBus/S I/O Link Module
CPM1A-DRT21 DeviceNet I/O Link Module
J COMMUNICATION ADAPTER MODULES
30 (1.18) (2.20) 50
30 (1.18) (2.40) 50
90 (3.54) 81
The CPM2A PLCs incorporate a variety of features, including synchronized pulse control, interrupt inputs, pulse outputs, analog settings, and a clock function. Use the CPM2A CPU as a stand-alone controller for a broad range of machine control applications. The CPM2A easily communicates with personal computers, other OMRON PLCs, and OMRON Programmable Terminals. These communications capabilities allow the user to design a low-cost distributed production system. The CPU contains 20, 30, 40, or 60 I/O points and Expansion I/O blocks can be added to provide a total I/O capacity of up to 120 I/O points. Analog I/O modules, Temperature Sensor modules, and CompoBus/S I/O Link modules can also be connected.
Peripheral Port Use this port for programming devices (compatible with other OMRON PLCs) as well as Host Link and no-protocol communications.
RS-232C Port This port can be used for a Host Link, no-protocol, 1:1 data link, or 1:1 NT Link communications.
J TIME-PROPORTIONAL CONTROL
The CPM2A performs simple-to-program, time-proportional control using up to three Analog I/O modules (maximum 6 analog inputs and 3 analog outputs) and the PID and PWM expansion instructions. These instructions set the parameters for PID control and a pulse output with variable duty ratio. For increased reliability, an open-circuit detection function can be used with the 1 to 5 VDC and 4 to 20 mA analog input settings. For temperature monitoring applications, CPM2A accepts up to 6 inputs (two per module) from Temperature Sensor Input modules. The PID instruction can manipulate the input from either thermocouple or platinum resistance thermometer sensors.
J DISTRIBUTED I/O CONTROL
Omrons CompoBus/S Network provides distributed CPU control based on a PLC + compact PLC configuration which provides improvements over distributed control based on PLC + remote I/O configurations. The distributed CPU control makes equipment module, so designs can be standardized, special needs can be addressed and modules can be replaced easily in the event of breakdown without affecting the main CPU.
Master PLC CompoBus/S Master Module CPM2A (Slave) CompoBus/S I/O Link Module
Distributed CPU control
J BUILT-IN MOTOR CONTROL CAPABILITY
Synchronized Pulse Control (transistor output models only)
Synchronized output pulse control provides an easy way to coordinate the operation of a peripheral piece of equipment with the main equipment. The output pulse frequency can be controlled as a multiple of the input pulse frequency, allowing the speed of a peripheral piece of equipment (such as a supply conveyor) to be synchronized with the speed of the main piece of equipment.
3G3MV Drive Encoder CPM2A Motor
Pulses are output as a fixed multiple of the input frequency.
J HIGH-SPEED COUNTERS AND INTERRUPTS
The CPM2A has a total of five high-speed counter inputs. The one high-speed counter input has a response frequency of 20 kHz/5 kHz, and the four interrupt inputs (in counter mode) have a response frequency of 2 kHz.
Easy Position Control with Pulse Outputs (transistor output models only)
The CPM2A PLCs with transistor outputs have two outputs that can produce 10 Hz to 10 kHz pulses (single-phase outputs). When used as single-phase pulse outputs, there can be two outputs with a frequency range of 10 Hz to 10 kHz with a fixed duty ratio or 0.1 to 999.9 Hz with a variable duty ratio (0 to 100% duty ratio). When used as pulse plus direction or up/down pulse outputs, there can be just one output with a frequency range of 10 Hz to 10 kHz.
Four Input Modes
The high-speed counter can be used in any one of the four input modes: differential phase mode (5 kHz), pulse plus direction input mode (20 kHz), up/down pulse mode (20 kHz), or increment mode (20 kHz). Interrupts can be triggered when the count matches a set value or falls within a specified range.
The interrupt inputs (counter mode) can be used for incrementing counters or decrementing counters (2 kHz) and trigger an interrupt (executing the interrupt program) when the count matches the target value. Use this for target-value comparison or range comparison control that is unaffected by the cycle time.
Reset inputs (for differential phase inputs)
Rotary encoder (such as E6C2-C)
Response frequency 5 kHz 20 kHz
Input mode (count value) Differential phase input mode (-8,388,608 to 8,388,607) Pulse + direction input mode (-8,388,608 to 8,388,607) Up/down pulse input mode (-8,388,608 to 8,388,607) Increment mode (0 to 16,777,215)
Control method Target value comparison interrupts g p p Range comparison i t R i interrupts t
J PULSE OUTPUTS
The CPM2A has two pulse outputs. You can configure these outputs as two single-phase outputs without acceleration and deceleration, two variable duty-ratio pulse outputs, or pulse outputs with trapezoidal acceleration/deceleration (one pulse + direction output and one up/down pulse output). The pulse outputs PV coordinate system can also be specified in the PLC Setup as either relative or absolute.
SmartStep Servodriver Pulse outputs
Single-phase pulse output without t out l i /d l i acceleration/deceleration PULS(65) and SPED(64) Pulse output 0 (See Note.) Pulse output 1 (See Note.) 10 Hz to 10 kHz 10 Hz 50%
Variable duty-ratio pulse output pu se PWM(----) Pulse output 0 (See Note.) Pulse output 1 (See Note.) 0.1 Hz to 999.9 Hz 0.1 Hz 0 to 100%
Single-phase pulse output with trapezoidal acceleration/deceleration Pulse + direction output PULS(65) and ACC(----) Pulse output 0 ou pu Pulse output Direction output 10 Hz to 10 kHz 10 Hz 50% Pulse output 0 ou pu CW pulse output CCW pulse output 10 Hz to 10 kHz 10 Hz 50% Up/down pulse output
Controlling instruction(s) Output number u be Output frequency range Pitch Duty ratio
Note: With single-phase pulse outputs, pulse outputs 0 and 1 can each be output independently.
Application Example: Adjusting Film/Paper Web Speed in Packaging and Printing
Encoder CPM2A PLC
Main Motor W-Series Servo Motor/Servo Drive
J HIGH-SPEED INPUT CAPABILITIES FOR MACHINE CONTROL
High-speed Interrupt Input Function
There are four inputs used for interrupt inputs (shared with quickresponse inputs and interrupt inputs in counter mode) with a minimum input signal width of 50 s and a response time of 0.3 ms. When an interrupt input goes ON, the main program is stopped and the interrupt program is executed.
J OTHER FUNCTIONS
There are two controls on the CPU that can be turned to change the analog settings (0 to 200 BCD) of timers and counters. These controls can be used to easily change or fine-tune machine settings such as a conveyor belts pause time or feed rate.
The built-in clock (accuracy within 1 minute/month) can be read from the program to show the current year, month, day, day of the week, and time. The clock can be set from a programming device (such as a Programming Console) or the time can be adjusted by rounding up or down to the nearest minute.
Quick-response Input Function
There are four inputs used for quick-response inputs (shared with interrupt inputs and interrupt inputs in counter mode) that can reliably read input signals with a signal width as short as 50 s. Quick-response inputs are received into an internal buffer, so signals that change status within a cycle can be processed.
The long-term timer provides an easy way to control equipment scheduling. Use two instructions to set this up. The long-term timer instruction (TIML) lets you set values up to 99,990 seconds (27 hours, 46 minutes, 30 seconds) and the Seconds-to-Hours conversion instruction (HMS) lets you schedule this with other clock functions.
Stabilizing Input Filter Function
The input time constant for all inputs can be set to 1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms. The effects of chattering and external noise can be reduced by increasing the input time constant.
Interval Timer Interrupts
The interval timer offers a 0.5 and 319,968 ms range and can be set to generate just one interrupt (one-shot mode) or periodic interrupts (scheduled interrupt mode) to match the application.
J NT LINK FOR PROGRAMMABLE TERMINALS
The CPM2A can be connected directly to an OMRON NT-Series Programmable Terminal in NT Link mode (1:1) for high-speed transmission of data. No separate drivers are required Use the RS-232C port for the NT Link connection.
CBL-804* CBL-803* Operator Interface C200H-CN_0-EU, Terminal NT31C-CN_0-EU, (for NT31C Port B only) * Available in Canada only.
J HOST LINK
A Host Link connection can be made through the CPM2As RS-232C port or Peripheral port. A personal computer or Programmable Terminal connected in Host Link mode can be used for operations such as reading/writing data in the CPM2As I/O memory or reading/changing the controllers operating mode. 1:1 Host Link Communications
Peripheral port connection*
1:N Host Link Communications
Computer with RS-422/RS-485
CPM2A using direct RS-232C port connection.
CPM2A (RS-232C port connection)
*Optional communications adapter converts the Peripheral port to RS-232C.
*Optional communications adapter converts the Peripheral Port to RS-422/RS-485. (Up to 32 CPM2As can be connected.)
The transmit TXD (48) and receive RXD (47) instructions can be used in No-Protocol mode to exchange data with standard serial devices. For example, data can be received from a bar code reader or transmitted to a serial modem. The serial devices can be connected directly to the RS-232C port or the Peripheral port using the CPM1-CIF01 serial communications adapter.
! WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a PC system. 1 Intended Audience. 2 General Precautions. 3 Safety Precautions. 4 Operating Environment Precautions. 5 Application Precautions. 6 EC Directives. xii xii xii xiii xiii xv
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). Personnel in charge of installing FA systems. Personnel in charge of designing FA systems. Personnel in charge of managing FA systems and facilities.
The user must operate the product according to the performance specifications described in the operation manuals. Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms. This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation. ! WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
The Communications Switch determines whether the peripheral port and RS-232C port operate with the standard communications settings or the communications settings in the PC Setup.
1-3-2 Operating Modes
CPM2A CPU Units have 3 operating modes: PROGRAM, MONITOR, and RUN. PROGRAM Mode The program cannot be executed in PROGRAM mode. This mode is used to perform the following operations in preparation for program execution Changing initial/operating parameters such as those in the PC Setup Writing, transferring, or checking the program Checking wiring by force-setting and force-resetting I/O bits The program is executed in MONITOR mode and the following operations can be performed from a Programming Device. In general, MONITOR mode is used to debug the program, test operation, and make adjustments. Online editing Monitoring I/O memory during operation Force-setting/force-resetting I/O bits, changing set values, and changing present values during operation The program is executed at normal speed in RUN mode. Operations such as online editing, force-setting/force-resetting I/O bits, and changing set values/ present values cannot be performed in RUN mode, but the status of I/O bits can be monitored.
1-3-3 Operating Mode at Startup
The operating mode of the CPM2A when the power is turned on depends upon the PC Setup settings and the Programming Consoles mode switch setting if a Programming Console is connected.
PC Setup setting Word DM6600 Bits 08 to 15 Setting 00 Startup mode determined Startup mode is RUN by the mode switch mode. (See note.) setting. 01 Startup mode is the same as the operating mode before power was interrupted. 02 Startup mode is determined by bits 00 to 07. 00 PROGRAM mode 01 MONITOR mode 02 RUN mode Programming Console connected Programming Console not connected
00 to 07
Note The default setting is 00. With this default setting, the startup operating mode is determined by the Programming Consoles mode switch setting if a Programming Console is connected to the Peripheral port. If a Programming Console is not connected, the PC will automatically enter RUN mode.
SR (Special Relay) area TR (Temporary Relay) area HR (Holding Relay) area AR (Auxiliary Relay) area LR (Link Relay) area Timer/Counter area DM (Data Memory) area Read/write area Read-only area PC Setup
Program area, read-only DM area (including PC Setup) Read/write DM area, HR area, AR area, and counters
Interrupt inputs (interrupt input mode) Interrupt inputs (counter mode) Counter mode Counter upper limit SR 244 to SR 247 Method(s) to read counter PV
Method to change counter PV Interval timer Quick-response inputs One-shot mode Scheduled interrupt mode Setting the quick-response function INT(89) (Mask) INT(89) (Read mask) INT(89) (Clear) Minimum pulse width
Item High-speed counter Count mode CPM2A Differential-phase (up/down) mode Pulse plus direction mode Up/down pulse mode Increment mode 5 kHz in differential-phase (up/down) mode 20 kHz in pulse plus direction mode, up/down pulse mode, and increment mode 8,388,608 to 8,388,607 in differential-phase (up/down) mode, pulse plus direction mode, and up/down pulse mode 0 to 16,777,215 in increment mode Same direction, same SV not possible Comparison of all values in the table, regardless of order of appearance in table Check AR 1100 to AR 1107 or execute PRV(62). Check AR 1108 (comparison in progress), check AR 1109 (high-speed counter PV overflow/underflow), or execute PRV(62). Supported. Supported with ACC(). The initial frequency can be set. Supported. 2 max. 10 kHz max. 10 Hz 16,777,215 to 16,777,215 Supported. Supported. No effect Read SR 228 through SR 231 or execute PRV(62). Supported. Accelerating/decelerating PV overflow/underflow Pulse quantity set Pulse output completed Pulse output status 2 Internal AR 17 to AR 21 Analog I/O Units can be connected.
Differential-phase (up/down) mode Increment mode
Max. counter frequency
2.5 kHz in differential-phase (up/down) mode, 5 kHz in increment mode
Counter PV range
32,768 to 32,767 in differential-phase (up/down) mode 0 to 65,535 in increment mode
Check when registering target value match table Method used to reference the target value match interrupt table Reading range-comparison results Reading status
Same direction, same SV possible Comparison in order of appearance in table Check AR 1100 to AR 1107. ---
Pulse synchronization Pulse output control Trapezoidal acceleration/ deceleration PWM() output Number of simultaneous pulse outputs Maximum frequency Minimum frequency Pulse output quantity Direction control Positioning to absolute positions Bit status while pulses are being output Reading PV Resetting PV Status outputs
Not supported. Not supported. Not supported. 1 max. 2 kHz max. 20 Hz 0 to 16,777,215 Not supported. Not supported. Turned ON/OFF by pulse output Not supported. Not supported. Pulse output status
Analog controls Clock function Words containing time info. Analog I/O
Relay Output Transistor Output (Sinking) CPM2A
OUT COM Diode
Relay Output Transistor Output (Sourcing) OUT CPM2A COM Diode
The diode should satisfy the following requirements: Peak reverse-breakdown voltage must be at least 3 times the load voltage. Average rectified current must be 1 A. Inrush Current Considerations When switching a load with a high inrush current in the CPM2A relay output or transistor output model, such as an incandescent lamp, suppress the inrush current as shown below.
Countermeasure 1 OUT R COM Providing a dark current of approx. one-third of the rated value through an incandescent lamp COM Providing a limiting resistor OUT Countermeasure 2 R
Fuse Insertion The CPM2A with transistor output may burn if the load is short-circuited, therefore, insert a protective fuse in series to the load. Crimp Terminals ! Caution Always use crimp terminals for the CPM2As I/O lines or use solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Stray wire strands can short-circuit and cause a fire. Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
3-4-7 Programming Device Connections
The CPM2A CPU Unit can be connected to a Programming Console or a host computer running SYSMAC Support Software (SSS) or SYSMAC-CPT Support Software. Programming Console The CPM2A CPU Unit can be connected to a C200H-PRO27-E Programming Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connecting Cable. The CPM2A CPU Unit can be also connected to a CQM1-PRO01-E. A 2-m Connecting Cable is attached to the CQM1-PRO01-E.
CQM1-PRO01-E Connection CPM2A CPU Unit
C200H-PRO27-E Connection CPM2A CPU Unit
Peripheral port CQM1-PRO01-E C200H-PRO27-E
Peripheral port Connecting Cable C200H-CN222 (2 m) C200H-CN422 (4 m)
Connect the Programming Console to the CPU Units Peripheral port; a Programming Console cannot be connected to the RS-232C port. The PC will automatically communicate with the Programming Console in Programming Console mode, regardless of the communications method selected on the CPU Units Communications Switch. Support Software An IBM-compatible personal computer running the SSS or SYSMAC-CPT Support Software can be connected to the CPU Units Peripheral port or RS-232C port. The Peripheral port can operate in Peripheral bus mode or Host Link mode. The RS-232C port operates in Host Link mode only. The setting on the CPU Units Communications Switch determines whether the RS-232C port will operate with the communications settings in the PC Setup or the standard settings, as shown in the following table.
This section shows how to perform basic SYSMAC-CPT Support Software operations with the CPM2A PC. (The software is operating in a Windows 95 environment in these examples.) Starting the Software The SYSMAC-CPT Support Software is a Windows 3.1/Windows 95 application. Refer to the SYSMAC-CPT Support Software User Manual (W333) for details on computer requirements and the software installation procedure. 1. Select Programs (P) from the Start Menu, SYSMAC-CPT, and then SYSMAC-CPT to start the software.
2. Read the notes provided in the startup messages and click OK.
3. The SYSMAC-CPT Support Software will start.
Note To exit from the SYSMAC-CPT Support Software, select File (F) from the menu bar and Exit (X) from the File menu.
Creating a New Project
Follow this procedure when using SYSMAC-CPT Support Software for the first time or creating a new project. Specify the PC model and CPU version of the PC being used. 1. Select File (F) from the menu bar and New (N) from the File menu.
2. Input the name of the new project, set the PC model to CQM1, set the CPU version to CPU43, and click OK.
a) Input the project name.
d) Click OK.
b) Set the PC model to CQM1.
c) Set the PC model to CQM1.
3. The new projects ladder diagram will be displayed.
Writing and Editing the Ladder Program
The SYSMAC-CPT Support Software can display programs in ladder-diagram format or mnemonic format. To switch the display/editing format, select View (V) from the menu bar, Program editor (P), and then Ladder (L) or Mnemonic (M).
Transferring the Program
There are three steps involved in transferring the program. Connect the CPM2A with the computer in which the SYSMAC-CPT Support Software has been installed. Switch the SYSMAC-CPT Support Software to online operation. Transfer the program.
Connecting the CPM2A with the Computer Securely insert the computer Connecting Cable to the CPM2As peripheral port and then turn on the CPM2As power supply.
IBM PC/AT or compatible personal computer
Connecting Cable S CQM1-CIF01 (25-pin D-Sub Connector) S CQM1-CIF02 (9-pin D-Sub Connector)
Operating Modes If power is turned ON to the CPM2A without anything connected to the peripheral port, the CPM2A will start operation in RUN mode. If operation starts in RUN mode when power is turned ON even though a Connecting Cable is correctly connected to the peripheral port, check the settings in the PC Setup in the CPM2A. The CMP2A has three operating modes: PROGRAM, MONITOR, and RUN. When the CPT is offline, the CPM2A will operate in PROGRAM mode. When the CPT is online, the CPM2A operating mode can be controlled from the CPT. PROGRAM Mode The CPM2A program isnt executed in PROGRAM mode. Use PROGRAM mode to create and edit the program, clear memory, or check the program for errors. MONITOR Mode The CPM2A program is executed in MONITOR mode and I/O is processed just as it is in RUN mode. Use MONITOR mode to test system operations, such as monitoring CPM2A operating status, force-setting and resetting I/O bits, changing the SV/PV of timers and counters, changing word data, and online editing. RUN Mode This is the CPM2As normal operating mode. The CPM2As operating status can be monitored from a Programming Device, but bits cant be force-set/force-reset and the SV/PV of timers and counters cant be changed.
PC Setup setting (DM 6600) 0000 Programming Console connected The startup mode determined by the mode switch setting. Programming Console not connected RUN mode if no Programming Device is connected. PROGRAM mode if another Programming Device is connected. The startup mode is the same as the operating mode before power was interrupted. PROGRAM mode MONITOR mode RUN mode
Note The default setting is 0000. If a Programming Console is not connected, the PC will automatically enter RUN mode. Be sure that it is safe for the PC to operate before turning on the PC without a Programming Console connected.
4-3-3 Connecting the Programming Console
Connect the Programming Consoles connecting cable to the CPM2As peripheral port, as shown below.
The C200H-PRO27-E Programming Console can be installed in a control panel as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold separately.)
Mounting Bracket Two screws
Mounting hole dimensions (DIN43700 standards)
Panel thickness: 1.0 to 3.2 mm
92 +0.8 0
Allow at least 80 mm for the cable connector above the Programming Console.
At least 80 mm is required. Either connector may be used.
About 70 mm is required.
4-3-4 Preparation for Operation
This section describes the procedures required to begin Programming Console operation when using the Programming Console for the first time. ! Caution Always confirm that the Programming Console is in PROGRAM mode when turning ON the PC with a Programming Console connected unless another mode is desired for a specific purpose. If the Programming Console is in RUN mode when PC power is turned ON, any program in Program Memory will be executed, possibly causing a PC-controlled system to begin operation. The following sequence of operations must be performed before beginning initial program input. 1, 2, 3. 1. Be sure that the PC is OFF. 2. Connect the Programming Console to the CPU Units peripheral port. See 4-3-3 Connecting the Programming Console for details. (The CPU Units Communications Switch setting has no effect on communications with the Programming Console.) 3. Set the mode switch to PROGRAM mode. 4. Turn ON the PC. 5. Enter the password. See 4-3-5 Entering the Password for details. 6. Clear (All Clear) the PCs memory. See 4-4-2 Clearing Memory for details. 7. Read and clear all errors and messages. See 4-4-3 Reading/Clearing Error Messages for details. 8. Start programming.
4-3-5 Entering the Password
To gain access to the PCs programming functions, you must first enter the password. The password prevents unauthorized access to the program. The PC prompts you for a password when PC power is turned on or, if PC power is already on, after the Programming Console has been connected to the PC. To gain access to the system when the Password! message appears, press CLR and then MONTR. Then press CLR to clear the display.
RUN OK OK MONITOR OK PROGRAM
Before inputting a new program, any error messages recorded in memory should be cleared. It is assumed here that the causes of any of the errors for which error messages appear have already been taken care of. If the buzzer sounds when an attempt is made to clear an error message, eliminate the cause of the error, and then clear the error message. (Refer to Section 5 Test Runs and Error Processing for troubleshooting information.) Key Sequence 1, 2, 3. Follow the procedure below to display and clear messages. 1. Press the CLR Key to bring up the initial display. 2. Press the FUN and then the MONTR Key to begin the operation. If there are no messages, the following display will appear:
ERR/MSG CHK OK
If there are messages, the most serious message will be displayed when the MONTR Key is pressed. Pressing MONTR again will clear the present message and display the next most serious error message. Continue pressing MONTR until all messages have been cleared. These are some examples of error messages: A memory error:
A system error:
SYS FAIL FAL01
A message (displayed with MSG(46)):
MATERIAL USED UP
All messages cleared:
4-4-4 Buzzer Operation
This operation is used to turn on and off the buzzer that sounds when Programming Console keys are pressed. This buzzer will also sound whenever an error occurs during PC operation. Buzzer operation for errors is not affected by this setting. This operation is possible in any mode.
Key Sequence 1, 2, 3.
Follow the procedure below to turn the key-input buzzer on and off. 1. Press the CLR, SHIFT, and then the CLR Key to bring up the mode display. In this case the PC is in PROGRAM mode and the buzzer is ON.
CLR SHIFT CLR
2. Press the SHIFT and then the 1 Key to turn off the buzzer.
The buzzer will not sound when BZ is not displayed.
3. Press the SHIFT and then the 1 Key again to turn the buzzer back ON.
4-4-5 Assigning Expansion Instruction Function Codes
This operation is used to display or change the expansion instructions assigned to expansion instruction function codes. The assignments can be displayed in any mode, but can be changed in PROGRAM mode only.
Operation Read assignment Change assignment OK No RUN OK No MONITOR OK OK PROGRAM
Assign expansion instruction function codes before inputting the program. The CPM2A will not operate properly if expansion instructions arent assigned correctly. An expansion instruction can be assigned to one function code only. The PC Setup must be set for user-defined expansion instruction assignments. Set bits 8 to 11 of DM 6602 to 1 and turn the PCs power off and then on again to enable the new setting. There is a table on page 85 showing the default function code assignments in the CPM2A. 1, 2, 3. 1. Press the CLR Key to bring up the initial display. 2. Press the EXT Key to display the assignment for the first function code (17).
00201READ NOP (000)
If a mistake was made inputting the instruction, press the Up Arrow Key to return to the previous program address and input the instruction again. The mistaken instruction will be overwritten To specify the Completion Flag for a timer or counter, press the LD, AND, OR, or NOT Key followed by the TIM or CNT Key, and then input the timer/ counter number last. 6. Input the second instruction and operand. (In this case it isnt necessary to enter the timer number, because its 000.) Press the WRITE Key to write the instruction to Program Memory.
00201 TIM DATA #0000
7. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key. The next program address will be displayed.
00202READ NOP (000)
If a mistake was made inputting the operand, press the Up Arrow Key to return to display the mistaken operand and input the operand again. Note a) Counters are input in the same basic way as timers except the CNT Key is pressed instead of the TIM Key. b) Timer and counter SVs are input in BCD, so it isnt necessary to press the CONT/# Key.
8. Input the third instruction and its operands. First input the instruction by pressing the FUN Key and then the function code (21 in this case).
00202 MOV (021)
To input the differentiated version of an instruction, press the NOT Key after the function code (FUN NOT). The @ symbol will be displayed next to differentiated instructions. Press the NOT Key again to change back the instruction back to a non-differentiated instruction. The @ symbol will disappear. To change an instruction after it has been entered, simply scroll through the program until the desired instruction is displayed and press the NOT Key. The @ symbol should be displayed next to the instruction. 9. Press the WRITE Key to write the instruction to Program Memory. The input display for the first operand will be displayed.
00202 MOV DATA A 000
Writing Hexadecimal, BCD Constant 10. Input the first operand. The operands of MOV (21) are normally word addresses, but a constant can be input by pressing the CONT/# Key first. When the CONT/# Key is pressed, the display will change to #0000, indicating that a constant can be entered.
CONT # B
00202 MOV DATA A #0100
Press the WRITE Key to write the instruction to Program Memory. The input display for the second operand will appear.
Indicates the address of END instruction.
00397SRCH END (001)00.4KW
Indicates the amount used by the user program in units of 0.1 Kwords.
4-4-9 Bit Operand Search
This operation is used to find occurrences of the specified operand bit in the program and is possible in any mode.
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3. 1. Press the CLR Key to bring up the initial display. 2. Input the operand address. It is not necessary to input leading zeroes.
SHIFT CONT # F
00000CONT SRCH LD 00005 00123CONT SRCH LD 00005 00255CONT SRCH AND NOT 00005
3. Press the SRCH Key to begin the search.
4. Press the SRCH Key to search for the next occurrence of the operand bit.
5. The search will continue until an END instruction or the end of Program Memory is reached. In this case, an END instruction was reached.
00397CONT SRCH END (001)00.4KW
4-4-10 Inserting and Deleting Instructions
This operation is used to insert or delete instructions from the program. It is possible in PROGRAM mode only.
To demonstrate this operation, an IR 00105 NO condition will be inserted at program address 00206 and an IR 00103 NO condition deleted from address 00205, as shown in the following diagram.
Delete 00105 Delete
AND AND NOT OUT END(01)
Insertion 1, 2, 3.
Follow the procedure below to insert the IR 00105 NO condition at address 00206. 1. Press the CLR Key to bring up the initial display. 2. Input the address where the NO condition will be inserted and press the Down Arrow Key. It is not necessary to input leading zeroes.
00206READ AND NOT
3. Input the new instruction and press the INS Key.
00206INSERT? AND 00105 00207INSERT END AND NOT 00104
1. Monitor the word that is to be used for decimal monitor with sign. During multiple address monitoring, the leftmost word will be converted. c200 cL0020000 FFF0 0000^ OFF
(Multiple address monitor)
2. Press the SHIFT+TR Keys to display the leftmost word as signed decimal.
At this point, the contents of the displayed word can be changed with a signed-decimal input. Refer to 4-4-22 Signed Decimal Data Modification. 3. Press the CLR Key or the SHIFT+TR Keys to end the unsigned decimal display and return to normal monitoring.
c200 cL0020000 FFF0 0000^ OFF
4-4-17 Unsigned Decimal Monitor
This operation is used to convert hexadecimal data in a word to unsigned decimal for display. The operation can be executed while using I/O monitoring, multiple address monitoring or 3-word monitoring.
1. Monitor the word that is to be used for decimal monitor without sign. During multiple address monitoring, the leftmost word will be converted. c200 cL0020000 FFF0 0000^ OFF
Multiple address monitoring
2. Press the SHIFT+TR+NOT Keys to display the leftmost word as unsigned decimal.
SHIFT TR NOT
At this point, the contents of the displayed word can be changed with an unsigned-decimal input. Refer to 4-4-23 Unsigned Decimal Data Modification. 3. Press the CLR Key or the SHIFT+TR Keys to end the unsigned decimal display and return to normal monitoring.
4-4-18 Three-Word Data Modification
This operation is used to change the contents of one or more of the 3 consecutive words displayed in the Three-Word Monitor operation. It is possible in MONITOR or PROGRAM mode only.
RUN No OK MONITOR OK PROGRAM
Before changing the contents of I/O memory, be sure that the changes will not cause equipment to operate unexpectedly or dangerously. In particular, take care when changing the status of output bits. The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so devices connected to output points on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unexpectedly. 1. Monitor the status of the desired words according to the procedure described 4-4-15 Three-Word Monitor. D0002D0001D4567 89AB
This operation is used to read or set the CPUs clock. The clock can be read in any mode, but can be set in MONITOR or PROGRAM mode only.
Operation Read clock Set clock OK No RUN OK OK MONITOR OK OK PROGRAM
1. Press the CLR Key to bring up the initial display. 2. Press the FUN Key, SHIFT Key, and then the MONTR Key to display the date and time.
FUN SHIFT MONTR
TIM 990222 11:04:32 MON(1)
3. Press the CHG Key to change the date and/or time.
TIM CHG?990222 11:04:32 MON(1)
The digit that can be changed will flash. If necessary, input a new value with the Up and Down Arrow Keys or Numeric Keys. Press the CHG Key to move the cursor to the next digit. The following table shows the setting ranges for each value.
Year 00 to 99 Month 01 to 12 Day 01 to 31 Hour 00 to 23 Minute 00 to 59 Second 00 to 59 Day-of-week 0 to 6 (SUN to SAT)
4. Press the WRITE Key to write the new value.
Press the CLR Key to return to the initial display.
This section demonstrates all of the steps needed to write a program with the Programming Console.
4-5-1 Preparatory Operations
Use the following procedure when writing a program to the CPM2A for the first time. 1, 2, 3. 1. Set the Programming Consoles mode switch to PROGRAM mode and turn on the CPM2As power supply. The password input display will appear on the Programming Console.
MONITOR RUN PROGRAM
<PROGRAM> PASSWORD! 2. Enter the password by pressing the CLR and then the MONTR Key.
3. Clear the CPM2As memory by pressing the CLR, SET, NOT, RESET, and then the MONTR Key. Press the CLR Key several times if memory errors are displayed.
00000 00000MEMORY CLR? HR CNT DM 00000MEMORY CLR END HR CNT DM
4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key. Continue pressing the MONTR Key until all error messages have been cleared.
FUN (0??) ERR/MSG CHK OK
5. Press the CLR Key to bring up the initial programming display (program address 00000). The new program can be written at this point.
Check the system thoroughly before starting or stopping the CPM2A to prevent any accidents that might occur when the program is first started.
4-5-2 Example Program
The following ladder program will be used to demonstrate how to write a program with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON.
NO END INST I/O BUS ERR
An error has occurred during data transfer between the CPU Unit and an Expansion Unit or an Expansion I/O Unit. Check the Units connecting cable. I/O UNIT OVER E1 Too many Expansion Units or Expansion I/O Units have been connected. Check the Unit configuration. SYS FAIL FALS** 01 to 99 A FALS(07) instruction has been executed in the program. Check the FALS number to (** is 01 to 99 or 9F.) determine the conditions that caused execution, correct the cause, and clear the error. 9F The cycle time has exceeded the Maximum (Watch) Cycle Time setting (DM 6618). Check the cycle time and adjust the Maximum Cycle Time setting if necessary.
5-2-5 Communications Errors
The COMM indicator will be turned OFF and AR 0812 will be turned ON if an error occurs in communications through the peripheral port or AR 0804 will be turned ON if an error occurs in communications through the RS-232C port. Check the connecting cables and restart. There are no error messages or error codes generated by this error and the ERR/ALM indicator is not affected.
Programming Console Operation Errors
The following error messages may appear when performing operations on the Programming Console. Correct the error as indicated and continue operation.
Message REPL ROM Meaning and appropriate response
An attempt was made to write to write-protected memory. Set bits 00 to 03 of DM 6602 to 0. PROG OVER The instruction at the last address in memory is not NOP(00). Erase all unnecessary instructions after END(01). ADDR OVER An address was set that is larger than the highest memory address in Program Memory. Input a smaller address. SETDATA FALS 00 has been input, and 00 cannot be input. Reinput the ERR data. I/O NO. ERR A data area address has been designated that exceeds the limit of the data area, e.g., an address is too large. Confirm the requirements for the instruction and re-enter the address.
Note Refer to the relevant Support Software Operation Manual for details on errors that may appear when operating the SSS or SYSMAC-CPT Support Software.
These errors in program syntax will be detected when the program is checked using the Program Check operation. Three levels of program checking are available. The desired level must be designated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only.
1200D Explorer AT-130E OFX 800 WD-12WD W2261VP-PF WAG200G-EU 26556 EU NN-CT776 DWL-G810 HR-J268EU SB-27 Easynote MX PDP-V402EA KDC-5090R DVD-937 Tuner Software Satellite 2610 BC95XLT 1000-2 S Set-TOP HM 412 LAV88840 RC-1580 Linea 24 UF-1264 D5065 SC-DC173U Programming Manual XQB42-128 WS-32M164N BAR321HGA ML-2855ND LF 70 MF-FM33e2K ML7 60 Ekhbrd014AAY1 32PF7320-10 DEH-P800BT MP5000 P2L97S CS-21M21ZQQ LS-J0963CL 32LX2R EX1200 Extensa-5620 YP-U3JZP L-328 4X4-1998 UC3030A TZR50-2007 Computer 6 5 Pv-dv102 GX-1001 14SH654 LXT435 Fluence FX-50F Plus NAD HTR2 EQ-3000 HGS-10 EB 271 PD-S604 Mark II PMA-1500AE HQ7300 CQ-FX65 IC-27H CDE-111RM KDL-40EX505 Office RS2000-2D HDR-XR106E 3000A Wanted-1-800D Mk2 YP-U3QBD EF4124 AVR-2307CI Lafinion 72 Mf4270 TI-84 Plus QB6210I Array H55-GD65 DB 510 VP-D70 Cabrio 291 S3200 D-copia 18MF Hyundai PG-C20XE HF-200 Microtower Zelda V-2600E WIP330 PSR-540 CFD-G500 CRW-F1 830 DUO
manuel d'instructions, Guide de l'utilisateur | Manual de instrucciones, Instrucciones de uso | Bedienungsanleitung, Bedienungsanleitung | Manual de Instruções, guia do usuário | инструкция | návod na použitie, Užívateľská príručka, návod k použití | bruksanvisningen | instrukcja, podręcznik użytkownika | kullanım kılavuzu, Kullanım | kézikönyv, használati útmutató | manuale di istruzioni, istruzioni d'uso | handleiding, gebruikershandleiding
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101