XW2Z-070T-1 Omron, XW2Z-070T-1 Datasheet

no-image

XW2Z-070T-1

Manufacturer Part Number
XW2Z-070T-1
Description
Special Nissan
Manufacturer
Omron
Series
XW2Zr
Type
DB09r
Datasheet

Specifications of XW2Z-070T-1

1st Connector
Plug, Male Pins
2nd Connector
Plug, Male Pins
Number Of Positions
9
Length
2.3' (701.0mm)
Color
Beige, Individual (Round)
Usage
Communication
Contact Finish
Gold
Contact Finish Thickness
15µin (0.38µm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Shielding
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
XW2Z070T1
Cat. No. W399-E1-1
SYSMAC
CPM2B-S001M-DRT
Programmable Controller
OPERATION MANUAL

Related parts for XW2Z-070T-1

XW2Z-070T-1 Summary of contents

Page 1

Cat. No. W399-E1-1 SYSMAC CPM2B-S001M-DRT Programmable Controller OPERATION MANUAL ...

Page 2

SYSMAC CPM2B-S001M-DRT Programmable Controller Operation Manual Produced May 2001 ...

Page 3

iv ...

Page 4

... OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice ...

Page 5

vi ...

Page 6

TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 ...

Page 7

SECTION 5 Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 8

About this Manual: The CPM2B-S001M-DRT is a compact, high-speed board Programmable Controller (PC) that is equipped with all of the functions of the CPM2C-S100C-DRT PC. This manual describes the features, specifications, and installation of the CPM2B-S001M-DRT (referred to as the ...

Page 9

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 ...

Page 10

... 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 applica- tions ...

Page 11

Operating Environment Precautions ! Operating Environment Precautions ! ...

Page 12

Application Precautions ! Application Precautions ! xiv The operating environment of the PC System can have a ...

Page 13

Application Precautions • Do not apply voltages or connect loads to the output terminals in excess of the maximum switching capacity. Excess voltage or loads may result in burning. • Be sure that all the mounting screws, terminal screws, and ...

Page 14

... Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-5 One-to-one Computer Connections . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-6 One-to-N Computer Connections . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-7 OMRON PT Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2-8 One-to-one PC Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3-1 CPU Board Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 15

... CPM2B-S Features and Functions 1-1 CPM2B-S Features and Functions 1-1-1 CPM2B-S Features Peripheral Port Programming Devices are compatible with other models of OMRON PCs. This port can also be used for Host Link or no-protocol communications. Basic Functions CPU Board I/O Expansion I/O Boards Share Programming Devices ...

Page 16

CPM2B-S Features and Functions CompoBus/S Master Functions Example System Configuration DeviceNet Unit (Master) DeviceNet Slave CPM2B-S I/O control DeviceNet Slave Functions CompoBus/S Slaves can be connected to create a Remote I/O Link with up to 256 I/O ...

Page 17

CPM2B-S Features and Functions Built-in Motor Control Capability Synchronized Pulse Control High-speed Counters and Interrupts Easy Position Control with Pulse Outputs High-speed Input Capabilities for Machine Control High-speed Interrupt Input Function Quick-response Input Function Stabilizing Input Filter Function Other Functions ...

Page 18

CPM2B-S Features and Functions Expansion Memory Unit Expansion Memory Unit EEPROM Indicator UPLOAD+DM Button Note Complete Communications Capabilities Host Link 1:1 Host Link Communications Peripheral port IN000CH IN001CH OUT010CH OUT011CH The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for ...

Page 19

... Bar code reader Outputting data to a serial printer Serial printer In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected directly to the CPM2B-S. The PT must be connected to the RS-232C port; it cannot be connected to the Peripheral port. OMRON PT A CPM2B-S can be linked directly to another CPM2B-S, CQM1, CPM1, CPM1A, CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC ...

Page 20

CPM2B-S Features and Functions 1-1-2 Overview of CPM2B-S Functions Main function • Remote I/O devices can be allocated up to 256 I/O points (128 inputs and 128 outputs) in CompoBus/S Master func- tions • The node numbers can be set ...

Page 21

System Configurations Note 1-2 System Configurations 1-2-1 CPU Board CPU Board 74 I/O points 32 in input connector I/O connector (38 inputs, 36 outputs) 1-2-2 Expansion I/O Boards 8 1. These four inputs are shared by interrupt inputs, ...

Page 22

System Configurations Expansion I/O Boards Note When an NT-AL001-E Adapter is connected to the RS-232C port, only one 1-2-3 Connecting a Programming Console CQM1H-PRO01-E Attached cable (2 m) CQM1-PRO01-E C200H-CN222 ( C200H-CN422 (4 m) Connecting Cable CS1W-CN224 (2 ...

Page 23

... IN000CH IN001CH IN002CH OUT010CH OUT011CH OUT012CH Connecting Cable XW2Z-200S XW2Z-500S The CQM1-CIF11 Connecting Cable cannot be used. 2. Refer to Appendix A Standard Models for details on the Support Software that can be used with the CPM2B-S. Communications settings RS-232C port PC Setup settings in DM 6645 and DM 6646 CQM1-CIF02 (3 ...

Page 24

... If an NT-AL001-E is connected to the CPM2B-S’s RS-232C port, only one Expansion I/O Board can be connected to the CPU Board because the NT- AL001-E draws its 5-V DC power from the CPU Board. Use an XW2Z-070T-1 (0 XW2Z-200T cable to connect the NT-AL001-E to the CPM2B-S’s RS-232C port. 2. The 3G2A9-AL004-E requires an external AC power supply (110 220 V AC) ...

Page 25

... RS-422 CPM1-CIF01 connection RS-232C Adapter NT-AL001-E RS-232C Adapter XW2Z-070T-1 (0.7 m) XW2Z-200T 1:1 NT Link, a CPM2B-S can be connected directly to a Programmable Terminal through the RS-232C port. (The Programmable Terminal cannot be connected directly to the peripheral port.) An OMRON PT can also be connected to the CPM2B-S with a host link con- nection ...

Page 26

... A CPM2B-S can be linked to another CPM2B-S, a CQM1, CPM1, CPM1A, CPM2A, CPM2C, CPM2C-S, CPM2B, SRM1 (-V2 C200HS or C200HX/ HG/HE PC. The PCs must be connected through the RS-232C ports; they cannot be connected through the Peripheral ports. Connecting Cable XW2Z-200T (2 m) XW2Z-500T (5 m) Section 1-2 1:1 Link Slave RS-232C port (D-sub 9-pin) IN000CH ...

Page 27

Structure and Operation 1-3 Structure and Operation 1-3-1 CPU Board Structure DeviceNet Master External input devices RS-232C port Peripheral port I/O Memory Note Refer to SECTION 4 Memory Areas for more details on I/O memory. Program PC Setup Note Refer ...

Page 28

Structure and Operation 1-3-2 Operating Modes PROGRAM Mode ! MONITOR Mode RUN Mode 1-3-3 Operating Mode at Startup Note The startup mode depends upon the setting of DIP Switch Pin 4 and the ...

Page 29

Structure and Operation 1-3-4 PC Operation at Startup Time Required for Initialization Power OFF Operation 1,2,3... Note If the power supply voltage fluctuates around 85% of the PC’s rated voltage, 16 The time required for startup initialization depends on several ...

Page 30

Structure and Operation 1-3-5 Cyclic Operation and Interrupts Basic CPU Operation Initialization processing is performed when the power is turned ON. If there are no initialization errors, the overseeing processes, program execution, I/O refreshing, and communications port servicing are performed ...

Page 31

Structure and Operation Program Execution in Cyclic Operation Note A fatal error will occur and PC operation will stop if a maximum cycle time has Cycle time 18 The cycle time will vary slightly depending on the processing being performed ...

Page 32

Structure and Operation Interrupt Program Execution ! Immediate Refreshing When an interrupt is generated during execution of the main program, main program execution is interrupted immediately and the interrupt program is executed. The ...

Page 33

Structure and Operation Cycle time 20 When IORF(97) is used, the cycle time is extended by the time required to refresh the specified I/O words. Overseeing processes Main program I/O refreshing RS-232C port servicing Peripheral port servicing Section 1-3 IORF(97) ...

Page 34

This section provides the technical specifications of the CPM2B-S Boards and describes the main components of the Boards. 2-1 Specifications . . . . . . . . . . . . . . . . . . . . ...

Page 35

Specifications 2-1 Specifications 2-1-1 General Specifications Note Refer to the CPM2B Operation Manual (W371) for details on Expansion I/O 22 Item Supply voltage (Allowable range: 20.4 to 26.4 V DC) Power consumption 4.5 W max. (CPU Board ...

Page 36

Specifications 2-1-2 Characteristics Item Control method I/O control method Programming language Instruction length Instructions Basic instructions Special instructions Execution time Basic instructions Special instructions Program capacity Max. I/O capac- CPU Board only ity With Expansion I/O Boards Input bits Output ...

Page 37

Specifications Item Pulse output Synchronized pulse control Quick-response inputs Input time constant (ON response time = OFF response time) Communications functions Memory protection (See notes 1 and 2.) Memory backup (See notes 1 and 2.) Self-diagnostic functions Program checks Note ...

Page 38

Specifications 2-1-3 I/O Specifications CPU Board Input Specifications (For the Input Connector and I/O Connector) Item Inputs Input voltage All Input impedance IN00000 to IN00001 IN00002 to IN00004 IN00005 IN00100 to IN00115 IN00200 to IN00215 Input current IN00000 to IN00001 ...

Page 39

Specifications High-speed Counter Inputs Input Differential phase mode IN00000 A-phase pulse input IN00001 B-phase pulse input IN00002 Z-phase pulse input or hardware reset input (IN00002 can be used as a normal input when it is not used as a high-speed ...

Page 40

Specifications Item OFF delay OUT01000 and OUT01001: OUT01002 and OUT01003: OUT01100 to OUT01115 OUT01200 to OUT01215 Fuse 1 fuse/output (cannot be replaced by user) Circuit configuration Sinking Outputs Note ! Specification 40 µs ...

Page 41

Board Components and their Functions 2-2 Board Components and their Functions 2-2-1 CPU Board Components CPU Boards 11 DeviceNet terminals 6 DeviceNet Indicators 15 Rotary switches 14 DIP switches 16 Battery holder 18 Battery connector 17 Battery low detection switch ...

Page 42

Board Components and their Functions Indicator Status PERI ON Data is being transferred via the peripheral port. (yellow) OFF The peripheral port is not being used. RD Flashing Data is being received via CompoBus/S. (yellow) OFF Data isn’t being received ...

Page 43

Board Components and their Functions Output Indicators The output indicators are lit when the corresponding output terminal is ON. The indicators are lit during I/O refreshing. When an output is being used as a pulse output, the ...

Page 44

Board Components and their Functions Note 15. Rotary Switches The rotary switches set the PC’s node number in the DeviceNet network. The allowed setting range 63. (Settings are not allowed.) 16. Battery Holder The ...

Page 45

This section provides information on installing and wiring a CPM2B-S PC. Be sure to follow the directions and precautions in this section when installing the CPM2B panel or cabinet, wiring the power supply, or wiring I/O. 3-1 Design ...

Page 46

Design Precautions 3-1 Design Precautions 3-1-1 Power Supply Wiring 3-1-2 Power Supply Voltage ! 3-1-3 Interlock and Limit Circuits ! Observe the following precautions when ...

Page 47

Selecting an Installation Site 3-2 Selecting an Installation Site ! 3-2-1 Installation Site Conditions Note Do not install the CPM2B-S under any of the following conditions. Note Provide proper shielding when installing in ...

Page 48

Assembling the CPM2B-S Boards Electrical Noise Accessibility 3-3 Assembling the CPM2B-S Boards Board Assembly Note 36 Power lines and high-voltage equipment can cause electrical noise in the PC. • Do not install the CPM2B panel or cabinet with ...

Page 49

Assembling the CPM2B-S Boards Note Some of the CPM2B-S’s electrical components such as leads are sharp, so Note The CPM2B-ATT01 Mounting Bracket is required when the system must meet UL/CSA standards. Board or Bracket CPU Board Four M3 standoffs (short) ...

Page 50

Installing the CPM2B-S Installing the Expansion I/O Connecting Cables 1,2,3... 3-4 Installing the CPM2B Insert the Expansion I/O Cable into the connectors on the CPU Board and Expansion I/O Board. Expansion I/O Board The cable from the CPU ...

Page 51

Wiring and Connections Example Installations Note 3-5 Wiring and Connections General Precautions for Wiring ! I/O Line Noise Screw and nut installation 1. When attaching the Mounting Bracket, use M4 screws and tighten ...

Page 52

... The power supply terminal specifications are shown below. Supply the power supply terminals with Item Screw size M3 Recommended torque 0.5 to 0.6 N•m Recommended screwdriver: OMRON XW4E-00C Wire/terminal Solid wire 0.2 to 2.5 mm Strip 7 mm (1/4 inch) of insulation. Stranded wire 0.2 to 2.5 mm Strip 7 mm (1/4 inch) of insulation. Two-conduc- Solid 2 × ...

Page 53

... The test might damage the PC’s internal components. The output terminal specifications are provided below. CPM2B-S CPU Board Input connector (32 inputs) The following tables provide specifications of compatible OMRON I/O connec- tors. Strain Relief Socket Note The max. rated current for flat cable sure that the current at the common terminal does not exceed 1A ...

Page 54

... Name Socket AWG 24 AWG Full Cover (2 required for each Socket) Partial Cover (2 required for each Socket) OMRON Pressing Tools Pressing Tool Set (Handy Press) Simple Pressing Tool A G79-A C (Loose-wire Connecting Cable) can be used to connect Relay Terminal. (A pressure connector must be attached on the PC side of the cable ...

Page 55

Wiring and Connections to completely remove just one side at a time. Remove the hooks from just one tab on both sides of the connector and then remove the cover. 2. Insert the flat cable’s wires into the socket that ...

Page 56

Wiring and Connections Inserting and Removing I/O Connectors Note Refer to the CPM2B Operation Manual (W371) for details on wiring inputs to 3-5-2-1 CPU Board I/O Connector Wiring 44 When inserting a cable, first open the lock levers on each ...

Page 57

Wiring and Connections 3-5-2-2 CPU Board Input Connector Wiring IR 002 24 VDC 3-5-2-3 CPU Board Output Connector Wiring IR 011 24 VDC ...

Page 58

Wiring and Connections 3-5-2-4 Wiring Input Devices Device Relay output NPN open collector NPN current output Constant current circuit PNP current output Voltage output Note Do not use the following wiring with voltage-output devices: Output The following ...

Page 59

Wiring and Connections High-speed Counter Inputs (I/O Connector) Differential Phase Mode (Count frequency: 5 kHz) Encoder Up/Down Mode (Count frequency: 20 kHz) Sensor Sensor Sensor or switch Note *CW is clockwise and CCW is ...

Page 60

Wiring and Connections High-speed Counter Input Connection Examples Differential Phase Mode (Count frequency: 5 kHz) E6B2-CWZ6C Encoder Black (NPN open-col- lector output) White Orange Brown Blue Leakage Current 48 Special functions for input bits IR 00003 through ...

Page 61

Wiring and Connections Inductive Loads 1,2,3... 3-5-2-5 Wiring Output Devices ! When connecting an inductive load to an input, connect a diode in parallel with the load. The diode should satisfy the following ...

Page 62

Wiring and Connections Using Pulse Outputs (I/O Connector) Single-phase pulse output (Fixed duty ratio) CPM2B-S Pulse output 0: 01000 COM Pulse output 1: 01001 COM Pulse plus direction output CPM2B-S Pulse output 0: 01000 COM Direction output: 01001 COM Note ...

Page 63

Wiring and Connections 3-5-3 Wiring CompoBus/S Transmission Lines 1,2,3... Note When VCTF cable is being used, cover the end of the cable sheathing with The diode should satisfy the following requirements: Peak reverse-breakdown voltage must be at least 3 times ...

Page 64

Wiring and Connections CompoBus/S Terminals Note Before inserting the signal wires, loosen the terminal set screws sufficiently. If Maximum Transmission Line Length Master Branch line length Total branch line length = L Item VCTF cable Trunk line length 100 m ...

Page 65

... OMRON XW4B-05C4-TF-D Connector for multi-drop connections (see note 1) 1. Use the XW4B-05C4-T1-D Connector when wiring multi-drop connections with thick cable. 2. Phoenix Contact connectors can be purchased through OMRON Tsufo Service Company. Use the following OMRON screwdriver when wiring DeviceNet connectors. XW4Z-00C XW4B-05C4-TF-D ...

Page 66

Wiring and Connections 3-5-5 Connecting a Programming Device to the Peripheral Port 3-5-5-1 Connecting a Programming Console CQM1H-PRO01-E Attached cable (2 m) CQM1-PRO01-E C200H-CN222 ( C200H-CN422 (4 m) Connecting Cable CS1W-CN224 ( CS1W-CN624 (4 m) Connecting ...

Page 67

... Wiring and Connections 3-5-5-2 Computer Connections 3-5-6 Connecting to the RS-232C Port RS-232C Port Connector Peripheral Port Connection IBM PC/AT or compatible computer Connecting Cable XW2Z-200S CPM1-CIF01 XW2Z-500S RS-232C Adapter The following table shows the pin allocation of the RS-232C port connector Pin No. Signal abbreviation (TXD) 3 ...

Page 68

... The settings in PC Setup words DM 6645 to DM 6654 are used. ON The following standard settings are used. Start bits: Data length: Stop bits: Parity: Baud rate: Host Link unit No.: 0 Connecting Cable XW2Z-200S XW2Z-500S RS-232C port (D-sub 9-pin) CPM2B CPU Board ON 1bit 7 bits 2 bits Even 9,600 bps Section 3-5 ...

Page 69

This section describes the structure of the PC memory areas and explains how to use them. 4-1 Introduction . . . . . . . . . . . . . . . . . . . . . . ...

Page 70

Introduction 4-1 Introduction 000 IR 001 IR 010 IR 011 Data area IR Input area IR 000 to IR 009 area (10 words) Output area IR 010 to IR 019 (10 words) ...

Page 71

Introduction Data area 1 DM Read/write DM 0000 to DM 1999 area DM 2022 to DM 2047 (2,026 words) Error log DM 2000 to DM 2021 (22 words) 3,4 Read-only DM 6144 to DM 6599 (456 words) 3,4 PC Setup ...

Page 72

Introduction CompoBus/S I/O Areas Work Bits SR Area TR Area HR Area AR Area LR Area Timer/Counter Area 60 2. Output bits IR 01000 and IR 01001 can operate as normal inputs or they can be used for pulse outputs ...

Page 73

Introduction DM Area Note DM 6600 through DM 6655 contain the PC Setup. Refer to 4-6 PC Setup for word data, it will access the present value (PV used for bit data, it will access the Completion ...

Page 74

Introduction 4-1-2 I/O Memory Area Attributes Area Exter- nal I/O alloca- tion Input area Yes (IR 000 to IR 009) Output area Yes (IR 010 to IR 019) CompoBus/S input area No (IR 020 to IR 027) CompoBus/S output area ...

Page 75

I/O Allocation for CPM2B-S PCs 4-2 I/O Allocation for CPM2B-S PCs CPU Board I/O Allocation Bits 15 14 Inputs IR 000 Do not use. IR 001 IR 002 Outputs IR 010 IR 011 IR 012 Note Expansion I/O Board I/O ...

Page 76

I/O Allocation for CPM2B-S PCs CPU Board and Three Expansion I/O Boards Input Connector (32 inputs) IN00100 to IN00115 IN00200 to IN00215 Bits Inputs IR 000 Do not use. IR 001 IR 002 IR 003 IR ...

Page 77

I/O Allocation to CompoBus/S Slaves 4-3 I/O Allocation to CompoBus/S Slaves Note The CompoBus/S input area (IR 020 to IR 027) and CompoBus/S output area (IR 030 to IR 037) are allocated for the CompoBus/S Terminal’s I/O. The fol- lowing ...

Page 78

SR Area 4-4 SR Area These bits mainly serve as flags related to CPM2B-S operation or contain present and set values for various functions. The functions of the SR area are explained in the following table. Note “Read-only” words and ...

Page 79

SR Area Word(s) Bit(s) SR 252 00 High-speed Counter Reset Bit Not used. 04 Pulse Output 0 PV Reset Bit Turn ON to clear the PV of pulse output 0. 05 Pulse Output 1 PV Reset Bit ...

Page 80

SR Area Word(s) Bit(s) SR 253 FAL Error Code The error code (a 2-digit number) is stored here when an error occurs. The FAL number is stored here when FAL(06) or FALS(07) is executed. This word is ...

Page 81

AR Area 4-5 AR Area These bits mainly serve as flags related to CPM2B-S operation such as error flags, high-speed counter flags, pulse output operation flags, and cycle time values. These bits retain their status even after the CPM2B-S power ...

Page 82

AR Area Word(s) Bit( RS-232C Port Error Code 0: Normal completion 1: Parity error 2: Frame error 3: Overrun error 04 RS-232C Communications Error Flag Turns ON when an RS-232C port communications error occurs. 05 ...

Page 83

AR Area Word(s) Bit( High-speed Counter Range Comparison Flags 00 ON: Counter PV is within comparison range 1 (Note 1) 01 ON: Counter PV is within comparison range 2 02 ON: Counter PV is within ...

Page 84

AR Area Word(s) Bit( Power-up PC Setup Error Flag Turns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup area that is read at power-up). 01 Start-up PC ...

Page 85

PC Setup Note 4-6 PC Setup 4-6-1 Overview Changing PC Setup Settings CPU Unit Access of PC Setup Settings PC Setup Errors 1. The same data can be read immediately with PRV(62). 2. The units for the maximum and current ...

Page 86

PC Setup 4-6-2 PC Setup Settings Word(s) Bit(s) PC Startup Processing (DM 6600 to DM 6614) The following settings are read by the CPU when the PC is turned ON. DM 6600 Startup mode (effective when bits ...

Page 87

PC Setup Word(s) Bit(s) DM 6608 DeviceNet I/O Link Read (IN) area settings (CPM2B-S → Master 6609 6610 Not used. DM 6614 Note The startup ...

Page 88

PC Setup Word(s) Bit(s) Interrupt Processing (DM 6620 to DM 6639) The following settings are read by the CPU when program execution is started. DM 6620 Input time constant for IR 00000 to IR 00002 0 (Hex): ...

Page 89

PC Setup Word(s) Bit(s) RS-232C Port Communications Settings The following settings are read regularly by the CPU while the PC is ON. If pin 3 of the CPM2B-S CPU Unit’s DIP switch is ON, communications through the CPM2B-S’ RS-232C port ...

Page 90

... DM 6650 through DM 6654. When connecting a computer running OMRON Support Software to the peripheral bus, turn OFF pin 3 of the DIP switch and set DM 6650 to 0001 (host link port settings specified in DM 6651). The computer cannot be connected to the periph- eral bus if bits 6650 are set to 0 (standard port settings) ...

Page 91

Basic PC Operation and I/O Processes Word(s) Bit(s) Error Detection and Error Log Operation (DM 6655) The following settings are read regularly by the CPU while the PC is ON. DM 6655 Style 0 (Hex): Shift after ...

Page 92

Basic PC Operation and I/O Processes 4-7-2 Hold Bit Status 4-7-3 Program Memory Write-protection Note DM 6602 itself can still be changed after the program memory has been write- 80 Make the settings shown below to determine whether, when the ...

Page 93

Basic PC Operation and I/O Processes 4-7-4 RS-232C Port Servicing Time 4-7-5 Peripheral Port Servicing Time 4-7-6 Cycle Monitor Time The following settings are used to determine the percentage of the cycle time devoted to servicing the RS-232C port. Servicing ...

Page 94

Basic PC Operation and I/O Processes Note 4-7-7 Minimum Cycle Time 4-7-8 Input Time Constants 82 The cycle monitor time is used for checking for extremely long cycle times, as can happen when the program goes into an infinite loop. ...

Page 95

Basic PC Operation and I/O Processes 4-7-9 Error Detection and Error Log Settings Note Low battery detection is enabled only when the low battery detection switch is Input Time Constants for IR 000 Time constant for IR 00005 (1 digit ...

Page 96

Error Log 4-8 Error Log Error log pointer DM 2000 DM 2021 Error log record 1 DM 2022 (3 words used.) DM 2023 to DM 2019 Error log record 7 DM 2020 (3 words used.) DM 2021 Note An error ...

Page 97

The CPM2B-S PCs have large a programming instruction set that allows for easy programming of complicated control processes. This section provides a brief summary of the instruction set. 5-1 CPM2B-S Function Codes . . . . . . . . ...

Page 98

CPM2B-S Function Codes 5-1 CPM2B-S Function Codes Left digit NOP END IL NO END INTER- OPERA- LOCK TION 1 SFT KEEP CNTR SHIFT KEEP REVERS- REGISTER IBLE COUNTER 2 CMP (@) MOV (@) MVN COMPARE MOVE MOVE ...

Page 99

Alphabetic List by Mnemonic 5-2 Alphabetic List by Mnemonic Dashes (“– –”) in the Code column indicate expansion instructions, which do not have fixed function codes. “None” indicates instructions for which function codes are not used. Mnemonic Code Words ACC ...

Page 100

Alphabetic List by Mnemonic 88 Mnemonic Code Words INC (@) 38 2 INI (@) 61 4 INT (@) 89 4 IORF (@) 97 3 JME 05 2 JMP 04 2 KEEP None 1 LD NOT None 1 ...

Page 101

Alphabetic List by Mnemonic Mnemonic Code Words SLD (@) 74 3 SNXT 09 2 SPED (@) 64 4 SRCH (@) – – 4 SRD (@) 75 3 STC (@) 40 1 STEP 08 2 STIM (@) 69 4 STUP – ...

Page 102

Expansion Instructions 5-3 Expansion Instructions Function Codes for Expansion Instructions Mnemonic Code ASFT (@) 17 (open) 18 (open) 19 RXD (@) 47 TXD (@) 48 CMPL 60 INI (@) 61 PRV (@) 62 CTBL (@) 63 SPED (@) 64 PULS ...

Page 103

This section explains how to exchange data with CompoBus/S Slaves when using the CPM2B CompoBus/S Master. Read this section when using CompoBus/S I/O link communications. 6-1 Initial Settings . . . . . . . . . . ...

Page 104

Initial Settings 6-1 Initial Settings 6-1-1 Setting the Maximum Number of Nodes CPM2B-S Word Bits DM 6603 Sets the max. number of Compo- Bus/S Slaves 32. Note 6-1-2 Setting the CompoBus/S Communications Mode Word ...

Page 105

Remote I/O Communications 6-2 Remote I/O Communications 6-2-1 Slaves The following table lists the commonly used Slaves. Refer to the CompoBus/S Operation Manual for more details. The SRT1-series Slaves support high- speed communications mode only. The SRT2-series Slaves support both ...

Page 106

Remote I/O Communications 6-2-2 I/O Allocation Note 94 Name Bit-chain Terminal Environment Resistive Terminals In the CPM2B-S, CompoBus/S input words IR 020 to IR 027 and CompoBus/ S output words IR 030 to IR 037 are allocated for the CompoBus/S ...

Page 107

Communications Status 6-3 Communications Status Word Uppermost bits: Slave Communications Error Flags AR04 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 AR05 IN7 IN6 IN5 IN4 AR06 OUT ...

Page 108

Communications Status 96 • Example of Countermeasure in Ladder Program AR0508 AR0500 (IN0's Error Flag) (IN0's Active Flag) 02800 00000 AR0510 AR0502 (IN2's Error Flag) (IN2's Active Flag) 02900 00100 Section 6-3 02800 (Slave 1 communications normal) 20000 02900 (Slave ...

Page 109

This section explains how data is exchanged between the CPM2B-S100M-DRT and a DeviceNet Master. Refer to this section when using remote I/O communications or explicit message communications from a DeviceNet Master. 7-1 Initial Settings . . . . . . ...

Page 110

Initial Settings 7-1 Initial Settings 7-1-1 Setting the Node Number 7-1-2 Setting the Communications Speed 7-1-3 Attaching Status Information 7-2 Remote I/O Communications Allocating Read/Write Areas with the PC Setup 98 Set the DeviceNet node number with the rotary switches ...

Page 111

Remote I/O Communications Word Bits DM 6605 DeviceNet Read/Write area setting 0 (Hex): Read (IN) IR 020 to IR 027; Write (OUT) IR 030 to IR 037 1 (Hex): Use settings in DM 6606 to DM 6609. ...

Page 112

... Areas with the DeviceNet Configurator 1,2,3... 100 An OMRON DeviceNet Configurator (version 2.0 or higher) can be used to specify the DeviceNet Read and Write areas. Contact your OMRON repre- sentative if you are using a Configurator version earlier than 2.0. (The version can be displayed in the Configurator’s Help menu.) 1 ...

Page 113

Explicit Message Communications CPM2B-S) 7-3 Explicit Message Communications 7-3-1 DeviceNet Explicit Message Functions a) Double-click the parameter to be changed. b) Enter the desired value and press the Enter Key. 7. When all parameters are set as required, click the ...

Page 114

... The number of bytes occupied by the “Class ID” and “Instance ID” param- eters varies from Master to Master. These parameters are specified in 2 bytes (4 digits) in commands sent from OMRON DeviceNet Masters. (CV- series PCs use the CMND instruction and C200HX/HG/HE PCs use the IOWR instruction.) Reads the specified node’ ...

Page 115

Explicit Message Communications Response Format Service code Source node number Number of bytes received Parameters Destination node number (command) Specify the node number of the CPM2B-S containing the desired data in 1 byte (2-digit hexadecimal). Service code (command, response) Specify ...

Page 116

Explicit Message Communications WRITE BYTE DATA Service code Destination node number 104 Precautions The range of data specified by the data area (instance ID), starting address (Address L and Address H), and number of bytes parameters must not exceed the ...

Page 117

Explicit Message Communications READ WORD DATA Address L: The rightmost two digits of the 4-digit starting address. Address H: The leftmost two digits of the 4-digit starting address. Write data (command) Contains the data that will be written in the ...

Page 118

Explicit Message Communications WRITE WORD DATA 106 Instance ID (command) Specify the data area containing the desired data in 1 byte (2-digit hexadeci- mal). Use one of the codes listed in the following table. Code Area name 01 (Hex) IR ...

Page 119

Explicit Message Communications Response Format Number of bytes received Parameters Destination node number (command) Specify the node number of the CPM2B-S where the data will be written. Specify the node number in 1 byte (2-digit hexadecimal). Service code (command, response) ...

Page 120

Explicit Message Communications ERROR RESPONSE 7-3-3 Examples of DeviceNet Explicit Messages CS1, CVM1, and CV-series PCs: Reading Data with CMND(194) Example Network Conditions 108 The CPM2B-S returns an error response when there is an error in the explicit message command ...

Page 121

... HH LL These words contain the data read from slave words IR 010 to IR 029. When the READ BYTE DATA command is executed to : from an OMRON Master, the bytes are stored in the same order D+ (HH LL) in which they were stored in the Slave. • Control Words ...

Page 122

... HH LL These words contain the data to be written to slave words IR 010 to IR 029. When the WRITE BYTE DATA command executed from an OMRON Master, the bytes are written to the S+ Slave in the same order (HH LL) in which they appear in the Master. • Response Words (The results are stored as follows ...

Page 123

... These words contain the data read from slave words IR 010 to IR 029. When the READ BYTE DATA command is exe cuted from an OMRON Master, the bytes are stored in the DM 2023 HH LL same order (HH LL) in which they were stored in the Slave. Section 7-3 ...

Page 124

... HH LL These words contain the data to be written to slave words IR 010 to IR 029. When the WRITE BYTE DATA command executed from an OMRON Master, the bytes are written to the S+ Slave in the same order (HH LL) in which they appear in the Master. • Destination Information ...

Page 125

Status Information 7-4 Status Information 7-4-1 LED Indicators Indicator Color Status MS Green Lit Flashing Red Lit Flashing --- Not lit NS Green Lit Flashing Red Lit Flashing --- Not lit The status of DeviceNet communications is indicated by the ...

Page 126

Status Information 7-4-2 AR Area Flags indicating DeviceNet Status Word Bit( DeviceNet switch settings error (ON when a settings error occurred, OFF when normal.) 01 Node number duplication or Bus off error (ON when an error occurred, ...

Page 127

Status Information Transmitted Status Information Word Bits Leading word The error code (2 digits) that is output to AR 253 bits output. 08 and 09 CPM2B-S operating mode 10 Not used ...

Page 128

This section explains the cycle time and I/O response time in CPM2B-S PCs. Refer to this section when writing the user program to improve operation and reduce response delays. 8-1 Cycle Time . . . . . . . . ...

Page 129

Cycle Time 8-1 Cycle Time 8-1-1 Cyclic Operation and Interrupts Basic CPU Operation Note 118 Initialization is performed when the power is turned ON. If there are no initial- ization errors, the overseeing processes, program execution, I/O refreshing, and communications ...

Page 130

Cycle Time Process Overseeing Set cycle watchdog timer, check I/O bus, check UM, refresh clock, refresh bits allocated to new functions. Wait for completion Wait for completion of the CompoBus/S commu- of CompoBus/S nications started in the CompoBus/S output communications ...

Page 131

Cycle Time 8-1-2 Cycle Time and Operations Cycle time longer TMHH(– –) may be inaccurate when TC 000 through TC 003 or TC 008 through TC 255 are used (operation will be normal for TC 004 through ...

Page 132

Cycle Time 8-1-4 Instruction Execution Times Basic Instructions Code Mnemonic ON execution time (µs) --- LD 0.64 --- LD NOT --- AND 0.52 --- AND NOT --- OR --- OR NOT --- AND LD 0.26 --- OR LD --- OUT ...

Page 133

Cycle Time Special Instructions Code Mnemonic ON execution time (µs) 00 NOP 0.15 01 END 6 1.1 03 ILC 1.6 04 JMP 0.95 05 JME 2.1 06 FAL 20.5 07 FALS 2.9 08 STEP 7.3 09 SNXT 5.1 ...

Page 134

Cycle Time Code Mnemonic ON execution time (µs) 25 ASL 8.6 15.8 26 ASR 8.4 15.6 27 ROL 7.3 14.5 28 ROR 7.3 14.5 29 COM 8.9 16.1 30 ADD 14.7 16.0 37.6 31 SUB 14.6 15.8 37.5 32 MUL ...

Page 135

Cycle Time Code Mnemonic ON execution time (µs) 50 ADB 14.1 15.6 37.4 51 SBB 14.4 15.9 37.7 52 MLB 16.8 18.5 41.2 53 DVB 16.9 18.6 41.3 54 ADDL 25.3 48.6 55 SUBL 25.3 48.6 56 MULL 79.1 102.1 ...

Page 136

Cycle Time Code Mnemonic ON execution time (µs) 62 PRV 36.9 44.7 36.6 44.3 38.5 46.2 20.2 27.4 24.4 32.4 39.9 47.8 20.1 27.1 Conditions (Top: min.; bottom: max.) Reading high-speed counter PV via word Reading high-speed counter PV * ...

Page 137

Cycle Time Code Mnemonic ON execution time (µs) 63 CTBL 186.0 807.5 185.8 781.9 410.0 418.9 380.6 399.7 183.4 810.3 182.4 776.3 351.0 359.1 331.2 335.9 64 SPED 44.6 53.8 42.9 52.0 34.1 39.8 126 Conditions (Top: min.; bottom: max.) ...

Page 138

Cycle Time Code Mnemonic ON execution time (µs) 65 PULS 38.4 46.6 40.0 48.1 66 SCL 37.9 39.2 59.9 67 BCNT 24.9 4. BCMP 35.3 38.3 58.1 69 STIM 25.7 47.8 25.9 47.8 34.0 46.4 10.6 70 XFER ...

Page 139

Cycle Time Code Mnemonic ON execution time (µs) 81 COLL 21.5 21.9 42.5 31.5 32.0 784.7 33.6 34.0 57.1 82 MOVB 17.3 18.0 41.7 83 MOVD 13.8 16.2 38.1 84 SFTR 22.8 24.3 1. TCMP 27.5 28.0 48.3 ...

Page 140

Cycle Time Expansion Instructions without Default Function Codes Code Mnemonic ON execution time (µs) --- ACC 66.5 92.1 66.2 92.2 65.5 75.0 45.4 53.8 65.5 75.0 45.5 53.6 65.0 74.5 45.4 53.5 65.4 74.8 45.5 53.6 --- AVG 23.2 23.9 ...

Page 141

Cycle Time Code Mnemonic ON execution time (µs) --- MIN 21.9 713.9 --- NEG 12.0 12.8 28.3 --- PID 392.5 418.8 29.3 58.7 --- PWM 30.3 43.4 46.0 --- SCL2 35.1 59.3 --- SCL3 37.1 62.3 --- SEC 29.8 44.0 ...

Page 142

I/O Response Time Code Mnemonic ON execution time (µs) --- ZCPL 19.5 45.2 8-2 I/O Response Time 8-2-1 CPM2B-S I/O Response Time Minimum I/O Response Time Input point Input ON delay (10 ms) Input bit I/O refreshing Output point Min. ...

Page 143

I/O Response Time Maximum I/O Response Time Input point Input ON delay (10 ms) Input bit Program execution I/O refreshing and other processes (15 ms) Output point 8-2-2 I/O Response Time between CompoBus/S Slaves Minimum I/O Response Time 132 The ...

Page 144

Interrupt Processing Time Maximum I/O Response Time CPM2B-S cycle CompoBus/S communications processing Input delay Slave input Slave output Note The Slave input is not read for almost one PC cycle because it goes ON just 8-3 Interrupt Processing Time 1,2,3... ...

Page 145

One-to-one PC Link I/O Response Time Example Calculation 8-4 One-to-one PC Link I/O Response Time Master Input 134 Generation and clearing of non-fatal errors: Interrupts will be masked for up to 100 µs when a non-fatal error has been generated ...

Page 146

One-to-one PC Link I/O Response Time Minimum I/O Response Time 1,2,3... Input point Input ON delay (10 ms) Input bit Master CPU processing Master's cycle time (10 ms) CPU processing Slave Output point Maximum I/O Response Time 1,2,3... The following ...

Page 147

One-to-one PC Link I/O Response Time Input point Input ON delay (10 ms) Input bit Program CPU execution processing Master's cycle time (10 ms) Output point Maximum I/O response time = × × 3 ...

Page 148

This section describes procedures for test runs of CPM2B-S operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 9-1 Initial System Checks and Test Run Procedure . . ...

Page 149

Initial System Checks and Test Run Procedure 9-1 Initial System Checks and Test Run Procedure 9-1-1 Initial System Checks Clearing Memory Operating Mode at Startup 9-1-2 Flash Memory Precautions 1,2,3... 9-2 CPM2B-S Test Run Procedure 1,2,3... 138 Check the following ...

Page 150

Self-diagnostic Functions Note Refer to Section 4 Using Programming Devices for details on the Support 9-3 Self-diagnostic Functions 9-3-1 Identifying Errors Fatal and Non-fatal Errors Communications Errors 2. I/O Wiring Checks a) With the CPM2B-S in PROGRAM mode, check the ...

Page 151

Self-diagnostic Functions Error Messages Error Flags Error Code ! 9-3-2 User-defined Errors FAILURE ALARM – FAL(06) 1,2,3... SEVERE FAILURE ALARM – FALS(07) 1,2,3... 140 Peripheral ...

Page 152

Self-diagnostic Functions MESSAGE – MSG(46) 9-3-3 Non-fatal Errors Message FAL No. SYS FAIL FAL (** 9B.) 9B SCAN TIME OVER F8 CompoBus/S commu- None nications error (no message) RS-232C port/periph- None eral ...

Page 153

Self-diagnostic Functions 9-3-4 Fatal Errors Message FALS No. Power interruption 00 (no message) MEMORY ERR F1 NO END INST F0 I/O BUS ERR C0 I/O UNIT OVER E1 SYS FAIL FALS FALS(07) instruction has been executed ...

Page 154

Troubleshooting Flowcharts 9-4 Troubleshooting Flowcharts Main Check Use the following flowcharts to troubleshoot errors that occur during opera- tion. Error No PWR indicator lit? Yes No RUN indicator lit? Yes Flashing ERR indicator flashing? Not lit No Is I/O sequence ...

Page 155

Troubleshooting Flowcharts Power Supply Check 144 PWR indicator not lit power being supplied? Yes voltage adequate? Yes No Are there any loose Yes terminal screws or bro- ken wires Has the external Yes ...

Page 156

Troubleshooting Flowcharts Fatal Error Check RUN indicator not lit the ERR indi- cator lit? Yes Determine the cause of the error with a Programming Device mode displayed on Programming Device? Yes Yes Is a fatal ...

Page 157

Troubleshooting Flowcharts Non-fatal Error Check 146 ERR indicator flashing. Determine the cause of the error with a Programming Device. Yes Is a non-fatal error indicated? No Replace the CPU Board. Section 9-4 Identify the error, eliminate its cause, and clear ...

Page 158

Troubleshooting Flowcharts I/O Check Malfunction of SOL1 Is the No IR 01003 output indicator operating normally? Yes Check the voltage at the IR 01003 terminals. No Operation OK? Yes Yes Check output device SOL1. The I/O check flowchart is based ...

Page 159

Troubleshooting Flowcharts Are the IR 00002 and IR 00003 input indi- cators operating A normally? From Yes previous page Check the voltage at the IR 00002 and IR 00003 terminals. No Operation OK? Yes Check operation by ...

Page 160

Troubleshooting Flowcharts Environmental Conditions Check Environmental conditions check Is the ambient No Consider using a temperature fan or cooler. below 55°C? Yes Is the ambient No Consider using a temperature above heater. 0°C? Yes No Is the ambient humidity Consider ...

Page 161

Troubleshooting Flowcharts Memory Error Check Memory error occurred. AR 1309 ON 1314 ON 1308 ON 1310 to AR 1312 ON? No End 150 Yes Replace the CPU Board. Yes Check/correct backed-up data and clear ...

Page 162

Maintenance Inspections 9-5 Maintenance Inspections Inspection Items Inspection items Power supply Determine whether the voltage fluctuation at the power supply terminals is within specifications. Environmental Is the ambient temperature inside the panel conditions appropriate? Is the ambient humidity inside the ...

Page 163

Battery Replacement Precautions Replacement Procedure 1,2,3... 152 Turn ON the power supply for at least 5 minutes before replacing the battery in order to recharge the backup capacitor. Turn OFF the power supply to the CPU Board before replacing the ...

Page 164

CPU Boards Appearance Transistor outputs (sinking) CPM2B-S001M-DRT Accessories: Four 10 mm-studs, four M3 screws Expansion I/O Boards Appearance Relay outputs CPM2B-32EDR --- Accessories: Four 26-mm studs and four M3 screws. Expansion I/O Cable Appearance Model CPM2B-CN601 Mounting Bracket Appearance Model ...

Page 165

Standard Models I/O Connectors Appearance 20P 40P MIL Communications Port Connecting Cables Appearance Name CS1W-CN114 Connecting Cable CPM2C-CN111 Connecting Cable 154 Name Socket AWG 24 AWG Full Cover (2 required for each Socket) Partial Cover (2 required ...

Page 166

Standard Models Peripheral Devices Appearance Model Number CQM1H-PRO01-E CQM1-PRO01-E C200H-PRO27-E C200H-CN222 C200H-CN422 CS1W-CN224 CS1W-CN624 WS02-CXPC1-E C500-ZL3AT1-E WS01-CPTB1-E Maintenance Accessories Appearance Model Number C500-BAT08 CPM1-EMU01-V1 EEROM-JD Name Programming Console 2-m Connecting Cable attached Programming Console 2-m Connecting Cable attached Requires a ...

Page 167

... Adapters and Connecting Cables (1:1 Connection) CPM2B-S Appearance port Peripheral RS-232C Adapters and Connecting Cables (1:N Connections) Appearance Model number NT-AL001-E 3G2A9-AL004-E CPM1-CIF11 XW2Z-070T-1 XW2Z-200T-1 156 Model number Name CQM1-CIF02 RS-232C For a 9-pin computer serial port Adapter CPM1-CIF01 Use for peripheral port to RS-232C level conversion ...

Page 168

All dimensions are in millimeters. CPU Boards and Expansion I/O Boards Assembly Dimensions Front View 167 186 206 Appendix B Dimensions 167 174 Side View 28 28* 28* 28* 14 CPU Board Expansion I/O Board Mounting Bracket 157 ...

Page 169

Numerics 1:1 PC Link communications , I/O response timing 134 , 1:N connections Analog Terminals 93 , atmosphere 22 B battery , replacing 151 C cabinet installation , precautions 35 cables , , available models 154 156 ...

Page 170

I/O line noise , preventing 39 , I/O Modules 93 I/O response time 1:1 PC Link communications See also timing , I/O Terminals 93 indicators , flashing ERR indicator 141 , lit ERR indicator 142 , PC status indicators 28 ...

Page 171

PC Setup settings 80 programming , special features 90 ...

Page 172

A manual revision code appears as a suffix to the catalog number on the front cover of the manual. The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version. Revision ...

Page 173

... Commerce Drive 60173 Schaumburg, IL USA 800.55.OMRON (66766) OMRON CANADA, INC. 885 Milner Avenue 1 Scarborough, Ontario M B 416.286.6465 OMRON ON-LINE Global - http://www.omron.com USA - http://www.omron.com/oei Canada - http://www.omron.com/oci W399-E1-1 06/02 Printed in U.S. ©2002 OMRON ELECTRONICS LLC Specifications subject to change without notice. ...

Related keywords