Omron CJ1W-DRM21 Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Omron CJ1W-DRM21. Omron CJ1W-DRM21 User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - Operation Manual

CS-series DeviceNet Unit: CS1W-DRM21CJ-series DeviceNet Unit: CJ1W-DRM21Operation ManualRevised July 2001

Strona 2

xiiIntended Audience 11 Intended AudienceThis manual is intended for the following personnel, who must also haveknowledge of electrical systems (an el

Strona 3 - Visual Aids

87Allocated DM Area Words Section 3-33-3-5 Communications Cycle Time Reference TableThis table can be used to access the present, maximum and minimum

Strona 4 - Trademarks and Copyrights

88Allocated DM Area Words Section 3-3RangesAreas and Word Ranges3-3-7 Slave User-set Allocations Reference TableThe slave block settings can be access

Strona 5 - TABLE OF CONTENTS

89Allocated DM Area Words Section 3-3Note OUT2 is not used.RangesAreas and Word Ranges3-3-8 Slave Detailed StatusThe status of the slaves controlled b

Strona 6

90Allocated DM Area Words Section 3-303, 11 Slave Remote I/O Communica-tions Error FlagON Unit Indicates that an error has occurred in remote I/O comm

Strona 7 - About this Manual:

91SECTION 4Remote I/O Master CommunicationsThis section describes the remote I/O communications performed as a DeviceNet master by the Devicenet Unit.

Strona 8

92Master Remote I/O Communications Section 4-14-1 Master Remote I/O CommunicationsRemote I/O communications are used to automatically transfer data be

Strona 9 - PRECAUTIONS

93Master Remote I/O Communications Section 4-1Fixed AllocationsAny one of the three areas below can be specified as the words allocated inthe CIO Area

Strona 10 - 3 Safety Precautions

94Master Remote I/O Communications Section 4-1The OUT and IN blocks will be allocated in order of slave node addresses.Each block is a maximum of 500

Strona 11

95Master Remote I/O Communications Section 4-14-1-2 Remote I/O Master SpecificationsItem SpecificationsSlave alloca-tion methodsFixed allo-cationsSele

Strona 12 - 5 Application Precautions

96Master Remote I/O Communications Section 4-14-1-3 Precautions on the Number of Master UnitsThe following system configurations can be constructed ba

Strona 13 - Application Precautions 5

xiiiOperating Environment Precautions 4measure for such problems, external safety measures must be providedto ensure safety in the system.• When the 2

Strona 14 - 6-2 Concepts

97Master Remote I/O Communications Section 4-14-1-4 Procedure for Using Remote I/O MasterFixed Allocations for Remote I/O1,2,3... 1. Turn ON the commu

Strona 15

98Master Remote I/O Communications Section 4-13. Turn ON the Master Enable Switch (word n bit 06). (The master will remainenabled even if the power is

Strona 16 - SECTION 1

99Scan List Section 4-2nect/Connect Switch for that slave (words n+6 to n+9). This can be donewhen a slave is replaced or to register a slave in the s

Strona 17 - 1-1 Overview of DeviceNet

100Scan List Section 4-2Creating the Scan List The way that a scan list is prepared varies with the allocation method asshown below.Note 1. Be sure t

Strona 18 - Adapter (used

101Fixed Allocations Section 4-3you disable the scan list with a Master Unit that is set for user-setallocations. Particularly when multiple Master Un

Strona 19

102Fixed Allocations Section 4-3Note More than one Master Unit can be included in a single PC with fixed alloca-tions, as shown below (3 Units max.).4

Strona 20

103Fixed Allocations Section 4-3Fixed Allocations Area 1OUT blocks are allocated to slaves from CIO 3200 to CIO 3263 and IN blocksare allocated to sla

Strona 21 - Remote I/O Master

104Fixed Allocations Section 4-3Fixed Allocations Area 3OUT blocks are allocated to slaves from CIO 3600 to CIO 3663 and IN blocksare allocated to sla

Strona 22

105Fixed Allocations Section 4-34-3-3 Changing System ComponentsThe scan list must be cleared in the following situations:• Adding a slave • Removing

Strona 23 - Communications Instructions

106Fixed Allocations Section 4-3Resulting Slave Allocation Turn ON the Scan List Enable SwitchTurn ON the Scan List Enable Switch (word n, bit 00, CIO

Strona 24 - 1-1-4 Types of Slave

xivApplication Precautions 5The operating environment of the PC System can have a large effect on thelongevity and reliability of the system. Improper

Strona 25

107User-set Allocations Section 4-44-4 User-set AllocationsWith a CS/CJ-series DeviceNet Unit, remote I/O communications slaves canbe allocated in any

Strona 26 - Manual (W347)

108User-set Allocations Section 4-4• The first bit for node allocations is always bit 00 when setting alloca-tions with the allocated DM Area words, b

Strona 27

109User-set Allocations Section 4-4Procedure Step 1: Turn ON the Master Enable SwitchMake sure that master communications have disabled by checking to

Strona 28 - MULTIPLE I/O TERMINAL Units

110User-set Allocations Section 4-4Step 4: Turn ON the Slave User Allocations SwitchTurn ON the Slave User allocations Switch (word n, bit 11). This w

Strona 29

111User-set Allocations Section 4-44. Multiple masters cannot share the same slave.5. Be sure to use user-set allocations and operate the Master Unit

Strona 30 - 1-2 DeviceNet Unit Features

112User-set Allocations Section 4-4Allocation Size Setup TableResulting Slave AllocationsTurning ON the Master User Allocations SwitchTurn ON the Mast

Strona 31

113User-set Allocations Section 4-4Setting through the ConfiguratorSlaves can be allocated words in any order for the following blocks: OUT block1, OU

Strona 32

114User-set Allocations Section 4-4ProcedureStep 1Set the area, start word, and words allocated for each block using the Config-urator.Step 2Allocate

Strona 33 - CX-Programmer

115User-set Allocations Section 4-4d) The start bit for node addresses can be bit 00 or bit 08. If it is bit08 however, 2 or more bytes cannot be allo

Strona 34

116Starting and Stopping Remote I/O Communications Section 4-5Configurator Setting MethodsRefer to the DeviceNet Configurator Operation Manual (W382)

Strona 35

xvApplication Precautions 5• Double-check all the wiring and connection of terminal blocks and con-nectors before mounting the Units.• Use crimp termi

Strona 36 - 1-3 Specifications

117Example of Ladder Programming for Remote I/O Communications Section 4-6Note Even if there is a communications error with the slave, the slave input

Strona 37 - Specifications Section 1-3

118Errors that May Occur in Remote I/O Communications Section 4-74-7 Errors that May Occur in Remote I/O CommunicationsThe following errors may occur

Strona 38

119Errors that May Occur in Remote I/O Communications Section 4-7Note Remote I/O communications will stop (7-segment display: A0) if DIP switchpin 3 o

Strona 39

121SECTION 5Remote I/O Slave CommunicationsThis section describes the remote I/O communications performed as a DeviceNet slave by the DeviceNet Unit.5

Strona 40

122Slave Remote I/O Communications Section 5-15-1 Slave Remote I/O CommunicationsA CS/CJ-series DeviceNet Unit can function as a Slave Unit in remote

Strona 41

123Slave Remote I/O Communications Section 5-15-1-2 Remote I/O and Slave Communications Specifications5-1-3 Procedures for Using Remote I/O Slave Comm

Strona 42

124Slave Remote I/O Communications Section 5-1munications, allocate areas, and then enable slave communications. The allo-cated areas will not be vali

Strona 43

125Fixed Allocations Section 5-2Note 1. Enable slave communications in CS1W-DRM21 or CJ1W-DRM21 proper-ties if the Configurator is used.2. Use Configu

Strona 44 - CS/CJ-series PC

126User-set Allocations Section 5-3Fixed Allocation Area 1Fixed Allocation Area 2Fixed Allocation Area 35-3 User-set AllocationsWith a CS/CJ-series De

Strona 45

127User-set Allocations Section 5-32. Only two blocks (OUT 1 and IN 1) can be allocated when setting are madewith the allocated DM Area words area, bu

Strona 46

xviConformance to EC Directives 66 Conformance to EC Directives6-1 Applicable Directives• EMC Directives6-2 ConceptsEMC DirectivesOMRON devices that c

Strona 47

128User-set Allocations Section 5-3• Areas and Word Ranges for the OUT 1/IN 1 AreasStep 3: Turn ON the Slave User Allocations SwitchTurn ON the Slave

Strona 48 - 1-5-1 Models

129User-set Allocations Section 5-3• Slave User Allocations Table• Slave areasStep 1: Turn ON the Slave User Allocations SwitchMake sure that slave co

Strona 49

130User-set Allocations Section 5-3Setting through the ConfigurationA maximum of three blocks can be allocated at any locations in I/O memoryfor the o

Strona 50

131User-set Allocations Section 5-3Connection Types and Allocated I/O AreasThe following table shows the relationship between various connection combi

Strona 51

133SECTION 6Message CommunicationsThis section describes message communications using FINS commands sent from the ladder program in the CPU Unit ofthe

Strona 52 - 1-6-3 Creating Routing Tables

134Overview Section 6-16-1 OverviewMessage communications enable messages to be set between nodes on aDeviceNet network when required by system condit

Strona 53 - Using the Master Function

135Overview Section 6-1Overall StructureNote If only the message communications function is being used and the remote I/O communications function is n

Strona 54 - Using Slave Function

136Overview Section 6-1Note 1. The DeviceNet Unit must be registered in the local network routing table ofthe CS/CJ-series PC when two or more Communi

Strona 55

137Overview Section 6-1Sending FINS Message CommunicationsReceiving FINS Message CommunicationsNote C200H-series DeviceNet Master Units (C200H-DRM21-V

Strona 56

138Overview Section 6-1Note A specific FINS command (command 2801) is used to send explicit mes-sages.Note A specific FINS command (command 2801) is u

Strona 57

xviiConformance to EC Directives 62. Wire the control panel with as thick and short electric lines as possible andground to 100 Ω min.3. Keep DeviceNe

Strona 58

139Overview Section 6-16-1-5 Message Communications Error IndicationsThere are two ways to obtain information on communications errors that occurin me

Strona 59 - Nomenclature and Installation

140Overview Section 6-16-1-6 Message Monitoring TimerA message monitoring timer monitors responses for the DeviceNet Unit. Atimer can be set for each

Strona 60

141FINS Commands and Responses Section 6-2termeasures and errors recorded in error history that are not shown by theindicators.Note 1. The 7-segment d

Strona 61 - 3. Dot indicators

142FINS Commands and Responses Section 6-2Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-ual (W342) for details on FINS commands.6-

Strona 62 - 2-1-3 Seven-Segment Display

143FINS Commands and Responses Section 6-2The main response codes are listed below. Refer to SYSMAC CS/CJ SeriesCommunication Commands Reference Manua

Strona 63 - CS1W-DRM21 CJ1W-DRM21

144FINS Commands and Responses Section 6-2Refer to SYSMAC CS/CJ Series Communication Commands Reference Man-ual (W342) for information on FINS comman

Strona 64

145Using FINS Message Communications Section 6-3Commands Addressed to DeviceNet UnitsCommand to Send Explicit DeviceNet Messages6-3 Using FINS Message

Strona 65

146Using FINS Message Communications Section 6-33. In all cases other than the following two exceptions, a local network tablemust be made, and the De

Strona 66 - 2-2-2 Mounting

147Using FINS Message Communications Section 6-3The unit number of the DeviceNet Unit as a CPU Bus Unit is the number seton the rotary switches on the

Strona 67 - 2-2-3 Handling Precautions

148Using FINS Message Communications Section 6-34. Use the left-side table to create the local network table. Input the unit num-bers and correspondin

Strona 68

1SECTION 1Features and System ConfigurationThis section provides an overview of the DeviceNet network, including features, specifications, and system

Strona 69 - 2-2-4 External Dimensions

149Using FINS Message Communications Section 6-3Note 1. Indicates a Unit as shown in the following table.2. Values of $00 to $3F indicate nodes 0 to 6

Strona 70 - Allocated CIO and DM Words

150Using FINS Message Communications Section 6-3Note 1. Indicates a Unit as shown in the following table.2. Values of $00 to $3E indicate nodes 0 to 6

Strona 71

151Using FINS Message Communications Section 6-3Note 1. Indicates a Unit as shown in the following table.2. Values of $00 to $3E indicate nodes 0 to 6

Strona 72 - 3-1-2 Allocated DM Area Words

152Using FINS Message Communications Section 6-3Communications FlagsCommunications Flag Operation• The Network Enabled Flag turns OFF when instruction

Strona 73 - 3-2 Allocated CIO Area Words

153Using FINS Message Communications Section 6-3in the following table.Communications Instructions Completion CodesThe status at the completion of the

Strona 74 - • Master Status 1 (word n+12)

154Using FINS Message Communications Section 6-3Note 1. A000 to A477 in the Auxiliary Area are write-protected.2. There can be up to 13 banks of EM Me

Strona 75

155Using FINS Message Communications Section 6-3Program Example (021)MOV A503 D0000611A202 (021)MOV #0005 D00000 (021)MOV #0001 D00001 (021)MOV #0600

Strona 76

156Using FINS Message Communications Section 6-3Example 2: Sending a FINS Command Using CMNDOperation• The PC with DeviceNet Unit 1 with node address

Strona 77

157Using FINS Message Communications Section 6-3Example Program6-3-6 Connecting Networks for FINS CommunicationsCS/CJ-series DeviceNet Units can perfo

Strona 78

158Sending Explicit Messages Section 6-4When connecting networks, routing tables must be registered for the PC CPUUnits on all networks.When connectin

Strona 79

2Overview of DeviceNet Section 1-11-1 Overview of DeviceNetDeviceNet is a multi-bit, multi-vendor network that combines controls and dataon a machine/

Strona 80

159Sending Explicit Messages Section 6-46-4-1 Sending Explicit MessagesThe FINS command code 28 01 can be used to send explicit DeviceNet mes-sages to

Strona 81

160Sending Explicit Messages Section 6-4The following diagram shows an example of actual node address specifica-tions.Note Depending on conditions, th

Strona 82

161Sending Explicit Messages Section 6-4Parameters Destination node address (command): The node address of the destinationof the explicit message. (Th

Strona 83

162Sending Explicit Messages Section 6-4D: First response wordC: First control data wordCommand data is set in order starting with the word specified

Strona 84

163Sending Explicit Messages Section 6-4The response format data in service data that is in word (2-byte) or double-word (4-byte) units, such as word

Strona 85

164Sending Explicit Messages Section 6-4Settings (Hex).D00000 = 0009: Number of command bytesD00001 = 000A: Number of response bytesD00002 = 0001: Des

Strona 86

165Receiving Explicit Messages Section 6-5Program Example6-5 Receiving Explicit MessagesThis CS/CJ-series DeviceNet Unit contains a PLC Object. The Un

Strona 87

166Receiving Explicit Messages Section 6-5• PCs with CVM1/CV-series DeviceNet Master Units (CVM1-DRM21-V1)• PCs with CS/CJ-series DeviceNet UnitsExamp

Strona 88 - Master I/O Allocation Status

167Receiving Explicit Messages Section 6-5I/O Memory Read/Write for CPU UnitsThe commands and responses for the explicit messages that can be sent and

Strona 89

168Receiving Explicit Messages Section 6-5CPU Information Read (Service Code: 0E Hex)Reads CPU Unit information, including operating mode, fatal/non-f

Strona 90

3Overview of DeviceNet Section 1-11-1-1 Overall System ConfigurationNote The Configurator is required if more than one Master is connected in a single

Strona 91

169Receiving Explicit Messages Section 6-5Read data (response): The specified information is returned in order.• CPU Unit operating mode (attribute ID

Strona 92

170Receiving Explicit Messages Section 6-5Response BlockParameters Destination node address (command): The node address of the CS/CJ-series DeviceNet

Strona 93

171Receiving Explicit Messages Section 6-5Note Error clear codes are 1-word (2-byte) data, so the above codes arespecified with the low byte first. Th

Strona 94 - 3-3 Allocated DM Area Words

172Receiving Explicit Messages Section 6-5CPU Unit Status Read (Service Code: 40 Hex)This PLC Object service reads status details (operation status, o

Strona 95

173Receiving Explicit Messages Section 6-5• Operation status: Returns the operation status of the CPU Unit in 1-byte(2-digit) hexadecimal.• Operating

Strona 96 - Areas and Word Ranges

174Receiving Explicit Messages Section 6-5• Message Exists/Does Not Exist: When the MSG instruction is executedby the CPU Unit, the bit corresponding

Strona 97

175Receiving Explicit Messages Section 6-5Response BlockParameters Destination node address (command): The node address of the CS/CJ-series DeviceNet

Strona 98

176Receiving Explicit Messages Section 6-5Word Data Read (Service Code: 1D Hex)Word Data Read reads I/O memory area data in CPU Units with a CS/CJ-ser

Strona 99 - Setting Results

177Receiving Explicit Messages Section 6-5No of Read Words (command): The number of words of read data is speci-fied in 1-byte (2-digit) hexadecimal.

Strona 100

178Receiving Explicit Messages Section 6-5Instance ID (command): The type of memory area to which the data will bewritten is specified in hexadecimal

Strona 101

4Overview of DeviceNet Section 1-1Configurator Features• Enables user-set allocations for remote I/O (choice of node address order,2 area allocations,

Strona 102 - 3-3-8 Slave Detailed Status

179Receiving Explicit Messages Section 6-5Response BlockParameters Destination node address (command): The node address of the CS/CJ-series DeviceNet

Strona 103

181SECTION 7Other FunctionsThis section describes connecting to CX-Programmer via the DeviceNet and the Memory Card backup function. 7-1 Connecting to

Strona 104 - SECTION 4

182Connecting to the CX-Programmer via the DeviceNet Section 7-17-1 Connecting to the CX-Programmer via the DeviceNetWith CX-Programmer Ver. 2.1 or la

Strona 105 - 4-1-1 Allocations

183Connecting to the CX-Programmer via the DeviceNet Section 7-17-1-1 Setting Node AddressesWhen the CX-Programmer is connected online, it uses FINS m

Strona 106 - User-set Allocations

184Connecting to the CX-Programmer via the DeviceNet Section 7-12. Double-click on the node address (#) that you want to change, or select thenode add

Strona 107

185Connecting to the CX-Programmer via the DeviceNet Section 7-1response monitor time in the CMND/SEND/RECV instruction to be thesame as or slightly l

Strona 108

186Memory Card Backup Functions Section 7-2a maximum of four-fold (for a communications speed of 500 Kbps) in com-parison with connection by a periphe

Strona 109

187Memory Card Backup Functions Section 7-27-2-1 Outline of Functions1. Backing Up Unit Setup FilesSaves all internal Unit setup data to the Memory Ca

Strona 110

188Memory Card Backup Functions Section 7-2Note If there is an error in the setup data or if the file could not be read, the FileRead/Write Error bit

Strona 111

189SECTION 8Communications TimingThis section describes the time required for remote I/O communications and message communications.8-1 Remote I/O Comm

Strona 113 - Scan List Section 4-2

5Overview of DeviceNet Section 1-1Temperature Input Terminals• Temperature data is input as binary data for 4 inputs.• Thermocouple and platinum resis

Strona 114 - 4-3 Fixed Allocations

190Remote I/O Communications Characteristics Section 8-18-1 Remote I/O Communications CharacteristicsThis section describes the characteristics of rem

Strona 115 - 4-3-2 Procedure

191Remote I/O Communications Characteristics Section 8-1Communications Cycle Time CalculationUse the equations shown below to calculate the communicat

Strona 116 - Fixed Allocations Section 4-3

192Remote I/O Communications Characteristics Section 8-1Slaves with More Than 8 Bytes of Input or Out putTRT = TOH + TBYTE-IN × BIN + TBYTE-OUT × BOUT

Strona 117

193Remote I/O Communications Characteristics Section 8-1TIN: The Input Slave’s ON (OFF) delayTOUT: The Output Slave’s ON (OFF) delayTRM:Network’s comm

Strona 118

194Remote I/O Communications Characteristics Section 8-1Minimum I/O Response TimeThe minimum I/O response time occurs when the Slave’s I/O refreshing

Strona 119 - Allocation disabled

195Remote I/O Communications Characteristics Section 8-1Note Although in the above diagram the Slaves are separated into two groups forconvenience, th

Strona 120 - 4-4 User-set Allocations

196Message Communications Section 8-2This programming is for a DeviceNet Unit with a unit number of 00.Note Refer to 3-2 Allocated CIO Area Words for

Strona 121

197Message Communications Section 8-2Note 1. If the CPU Unit attempts to send another message or receives a messagefrom another node within the messag

Strona 122 - Size Setup Table

198Message Communications Section 8-2Shown below is the response time required to return data for 100 words.• BYTE DATA READ request sending time: TBR

Strona 123

199SECTION 9Troubleshooting and MaintenanceThis section describes error processing, periodic maintenance operations, and troubleshooting procedures ne

Strona 124

6Overview of DeviceNet Section 1-11-1-2 Applicable Units and DeviceNet FunctionsRemote I/O MasterDeviceNet Unit (Master)CPU UnitRemote I/O communicati

Strona 125

200Troubleshooting with the DeviceNet Unit Indicators Section 9-19-1 Troubleshooting with the DeviceNet Unit Indicators9-1-1 Determining Operating Sta

Strona 126

201Troubleshooting with the DeviceNet Unit Indicators Section 9-19-1-2 Troubleshooting Errors Occurring in the DeviceNet UnitNote 1. The 7-segment dis

Strona 127 - Node ad

202Troubleshooting with the DeviceNet Unit Indicators Section 9-1remote I/O communications for a communications error, two errors can bedisplayed: The

Strona 128

203Troubleshooting with the DeviceNet Unit Indicators Section 9-1CorrectionSet the slaves’ node addresses again.Structure Error: I/O Area Range Exceed

Strona 129 - Communications

204Troubleshooting with the DeviceNet Unit Indicators Section 9-1Flags Allocated for C200H DeviceNet Master Unit (CIO n+24)Bit 14 (Error Flag) and bit

Strona 130 - Slave I/O processing

205Troubleshooting with the DeviceNet Unit Indicators Section 9-1CorrectionInspect the slave and then create the scan list again.Verification Error:I/

Strona 131

206Troubleshooting with the DeviceNet Unit Indicators Section 9-1DeviceNet Unit ResponseRecords the error in the error log.The master will periodicall

Strona 132

207Troubleshooting with the DeviceNet Unit Indicators Section 9-1• Matching master and slave baud rates• Proper cable lengths (trunk and branch lines)

Strona 133 - SECTION 5

208Troubleshooting with the DeviceNet Unit Indicators Section 9-1Likely CauseThe setting operation failed because a structure error occurred.DeviceNet

Strona 134 - 5-1-1 Allocation Methods

209Troubleshooting with the DeviceNet Unit Indicators Section 9-1return to normal when the network power supply is restored, although scan-ning will n

Strona 135

7Overview of DeviceNet Section 1-1Remote I/O Slave (only Units Mounted in a PC)DeviceNet Unit (Master)CPU UnitIN area OUT areaRemote I/O communication

Strona 136

210Troubleshooting with the DeviceNet Unit Indicators Section 9-1DeviceNet Unit ResponseRecords the error in the error log.• The Unit will go off–line

Strona 137 - 5-2 Fixed Allocations

211Troubleshooting with the DeviceNet Unit Indicators Section 9-1DeviceNet Unit ResponseRecords the error in the error log.Operation will continue usi

Strona 138 - 5-3 User-set Allocations

212Troubleshooting with the DeviceNet Unit Indicators Section 9-1CorrectionClear the scan list and register the scan list again or use the Configurato

Strona 139 - 5-3-2 Procedure

213Troubleshooting with the DeviceNet Unit Indicators Section 9-1CIO Area Flags Allocated to DeviceNet UnitBits 00 and 04 of n+10 (the Unit Error Flag

Strona 140

214Troubleshooting with the DeviceNet Unit Indicators Section 9-1DeviceNet Unit ResponseStops operation.CorrectionSet the communications speed correct

Strona 141

215Troubleshooting with the DeviceNet Unit Indicators Section 9-1DeviceNet Unit ResponseContinues processing but data exchange with the CPU Unit is st

Strona 142 - 5-3-3 Connection Types

216Troubleshooting with the DeviceNet Unit Indicators Section 9-1CIO Area Flags Allocated to DeviceNet UnitBit 00 of n+10 (Unit Error Flag) will be ON

Strona 143

217Troubleshooting with the DeviceNet Unit Indicators Section 9-1• Returns an error response (0302 Hex) to commands requiring a re-sponse.• Discards o

Strona 144 - Message Communications

218Error Log Functions Section 9-2• Installation of terminators at both ends of the trunk line• Excessive noiseUnit ErrorsSpecial Unit ErrorDeviceNet

Strona 145 - 6-1 Overview

219Error Log Functions Section 9-2When using the Configurator, the error log can be monitored with the mastererror history read operation. With the Co

Strona 146 - Overview Section 6-1

8Overview of DeviceNet Section 1-1Message CommunicationsCommunications InstructionsNote FINS message communications are supported between any two PCs

Strona 147

220Error Log Functions Section 9-20101 Transmission failed because the local node is not participating in the network.FINS message communications comm

Strona 148

221Error Log Functions Section 9-2Note The error information is not written to EEPROM when a memory error occursin the error log area (EEPROM).0343 St

Strona 149

222Troubleshooting Section 9-39-3 Troubleshooting9-3-1 CPU Unit’s ERR/ALM Indicator Lit or FlashingUse the following table to troubleshoot the network

Strona 150

223Troubleshooting Section 9-39-3-3 I/O Link ProblemsUse the following table to troubleshoot I/O Link problems.The DeviceNet Unit’s MS indicator is ON

Strona 151

224Troubleshooting Section 9-39-3-4 Communications Error Operation SettingsUse the following table to correct problems with the DIP switch setting for

Strona 152 - 6-2-1 FINS Communications

225Maintenance and Replacement Section 9-49-4 Maintenance and ReplacementThis section describes the routine cleaning and inspection recommended asregu

Strona 153

226Maintenance and Replacement Section 9-49-4-3 Replacing Faulty UnitsReplace a faulty DeviceNet Unit as soon as possible. Refer to the DeviceNetSlave

Strona 154 - 6-2-4 FINS Command Lists

227Maintenance and Replacement Section 9-4Creating a New Network FileUse the following procedure to write the settings to the DeviceNet Unit from anet

Strona 155

229Appendix AAllocation Differences from C200H DeviceNet Master UnitsThe following table shows the CS1W-DRM21/CJ1W-DRM21 DeviceNet Unit allocation are

Strona 156 - 6-3-2 Creating Routing Tables

230Allocation Differences from C200H DeviceNet Master Units Appendix AStatus AreasMaster Status Area 1An area with the exact same bit configuration as

Strona 157 - Routing Tables

9Overview of DeviceNet Section 1-1V1) or a CVM1/CV-series DeviceNet Master Unit (CVM1-DRM21-V1). Referto 6-3 Using FINS Message Communications for det

Strona 158

231Allocation Differences from C200H DeviceNet Master Units Appendix ACommuni-cations Error FlagIR 2001+ (10 × unit No.)Unit No. 0 to 9: IR 101+(10 ×

Strona 159 - NETWORK SEND: SEND(090)

232Allocation Differences from C200H DeviceNet Master Units Appendix AMaster Status Area 2Communications Cycle Time Present ValueRegistered Slave Tabl

Strona 160 - NETWORK RECEIVE: RECV(098)

233Allocation Differences from C200H DeviceNet Master Units Appendix ANormal Slave TableReplacing Ladder Programs from C200HW-DRM21-V1If ladder progra

Strona 161 - 6-3-4 Sending FINS Commands

234Allocation Differences from C200H DeviceNet Master Units Appendix AReplace the addresses as shown in the following table.Message Communications in

Strona 162

235Appendix BDeviceNet ConnectionsDeviceNet has several different protocols for remote I/O communications between Master and Slave devices.Connections

Strona 163 - 7 6 5 4 3 2 1 0

236DeviceNet Connections Appendix BConnections Using AllocationsSetting Connection TypeThe settings for remote I/O communications connections differ d

Strona 164

237DeviceNet Connections Appendix BNote 1. Output data using poll connections and output data using COS or cyclic connections are transmittedusing th

Strona 165 - Programming Examples

238DeviceNet Connections Appendix BMaster COS Send SwitchCOS transmission is possible only for User-set allocations using the Configurator.When requir

Strona 166 - Program Example

239DeviceNet Connections Appendix BThe following diagram shows the transmission timing. After the COS send instruction has been sent to theDeviceNet (

Strona 167

241Appendix CFINS Commands and Responses for DeviceNet UnitsList of Command CodesRefer to SYSMAC CS/CJ Series Communication Commands Reference Man-ual

Strona 168

10Overview of DeviceNet Section 1-1General-purpose Slaves (Communications Cable: Normal Square Connectors)Name Appearance I/O points Model number Rema

Strona 169 - 6-4 Sending Explicit Messages

242FINS Commands and Responses for DeviceNet Units Appendix C• Baud rateCommand BlockResponse BlockEnd CodesParameter Details[Model, Version] (Respons

Strona 170 - CPU Unit

243FINS Commands and Responses for DeviceNet Units Appendix CResponse BlockEnd CodesParameter Details[Operation status, Units status 1, Unit status 2,

Strona 171

244FINS Commands and Responses for DeviceNet Units Appendix CFor commands, the data to be sent to the specified node is specified, with amaximum of 53

Strona 172 - Command

245FINS Commands and Responses for DeviceNet Units Appendix CReturns the error history for the number specified by Read Record No., inorder from the R

Strona 173 - word specified for the

246FINS Commands and Responses for DeviceNet Units Appendix CEnd CodesImportant PointThe Error History Clear command clears the RAM and EEP-ROM error

Strona 174 - CMND(490)

247Appendix DMemory Card Backup FunctionsThe DeviceNet Unit stores the following setup data in the internal non-volatile memory (EEPROM).• Master scan

Strona 175

248Memory Card Backup Functions Appendix DOutline of Functions1. Backing Up Unit Setup FilesSaves all internal Unit setup data to the Memory Card moun

Strona 176

249Memory Card Backup Functions Appendix D3. Saving Files from Configurator to Memory CardDevice parameter files (.dvf files) for this DeviceNet Unit

Strona 177 - Explicit message

251Appendix EMulti-vendor ApplicationsThis appendix provides precautions and reference material needed when using DeviceNet (CompoBus/D)Units as Devic

Strona 178

252Multi-vendor Applications Appendix EMaster Unit Device ProfileObject MountingIdentity Object (01 Hex)Message Router Object (02 Hex)General data Com

Strona 179 - 66 CPU Unit model 22 bytes

11Overview of DeviceNet Section 1-1Note For details on Slaves, refer to the DeviceNet (CompoBus/D) Slaves OperationManual (W347).Sensor Terminals 16 i

Strona 180

253Multi-vendor Applications Appendix EDeviceNet Object (03 Hex)Connection Object (05 Hex)Item ID content Get (read) Set (write) ValueObject class Att

Strona 181 - Service Code

254Multi-vendor Applications Appendix EObject instance 1 Section Information Max. No. of instancesInstance typeExplicit Message 1Produc-tion trig-gerC

Strona 182 - Command Block

255Multi-vendor Applications Appendix ENote 1. Number of input bytes used by Slave.2. Number of output bytes used by Slave.Object instance 2 Section

Strona 183

256Multi-vendor Applications Appendix ENote 1. Number of input bytes used by Slave.Object instance 3 Section Information Max. No. of instancesInstanc

Strona 184

257Multi-vendor Applications Appendix ENote 1. Number of input bytes used by Slave.Object instance 4 Section Information Max. No. of instancesInstanc

Strona 185

258Multi-vendor Applications Appendix E1. The following table shows the instance type by communications type.2. The following table shows the transpor

Strona 186

259Multi-vendor Applications Appendix EDeviceNet service Parameter optionObject instance 1 (CIO area)Service 1CBlock String Read Logical Area Address

Strona 187

260Multi-vendor Applications Appendix ENote The refresh area types are shown in the following table.PC area Refresh area type Refresh addressCIO 1 CIO

Strona 188

261Appendix FDeviceNet Explicit Message Send Command for Other Manufacturer NodesExplicit Message Send (2801)Sends a DeviceNet explicit message to a s

Strona 189

262DeviceNet Explicit Message Send Command for Other Manufacturer Nodes Appendix FParameter Details[Send Destination Node Address] (Command)Specifies

Strona 190 - Destination

12Overview of DeviceNet Section 1-1Waterproof and Environment-resistant Slaves (Communications Cable: Round Connectors)Special Slaves (Communications

Strona 191 - Other Functions

263IndexAadaptorsremote, 4, 10allocationsSee also I/O allocationsapplicable Units, 6applicationsprecautions, xivCC200HW-DRM21-V1changing ladder progra

Strona 192 - Ethernet

264Indexspecifications, 34dimensions, 55DM AreaSee also I/O allocationsdot indicatorsSee also seven-segment displayEEC Directives, xviEEPROMdata, 26,

Strona 193 - 7-1-1 Setting Node Addresses

Index265display section, 27Master Unit, 200meaning, 47message communications errors, 139seven-segment display, 48statusMS and NS, 47troubleshooting, 2

Strona 194

266IndexSsafety precautions, xiiscan lists, 99errors, 224setupsaving setup files, 19, 186, 247seven-segment displaymeaning, 48Slave Units, 7, 9, 20com

Strona 195

267Revision HistoryA manual revision code appears as a suffix to the catalog number on the front cover of the manual. The following table outlines the

Strona 196

13Overview of DeviceNet Section 1-1MULTIPLE I/O TERMINAL UnitsUnit I/O pointsWords allocated in PC memoryI/O connec-tionsUnit power supply voltageInst

Strona 197 - 7-2-1 Outline of Functions

14Overview of DeviceNet Section 1-1Note The front-panel indicators and other parts of Analog Input Units, Analog Out-put Units, and Counter Units diff

Strona 198 - 7-2-2 File Names

vNotice:OMRON products are manufactured for use according to proper procedures by a qualified operatorand only for the purposes described in this manu

Strona 199 - Communications Timing

15DeviceNet Unit Features Section 1-21-1-5 DeviceNet ConfiguratorUse version 2 of the DeviceNet Configurator for the CS1W-DRM21/CJ1W-DRM21 DeviceNet U

Strona 200 - Communications Cycle Time

16DeviceNet Unit Features Section 1-2Explicit Message CommunicationsNote Refer to 6-4 Sending Explicit Messages for details on remote I/O communica-ti

Strona 201 - Communications Time/Slave

17DeviceNet Unit Features Section 1-2taneously. A Unit that is used as a slave supports fixed and user-set alloca-tions. The maximum I/O for the slave

Strona 202 - 8-1-2 I/O Response Time

18DeviceNet Unit Features Section 1-2CX-Programmer Programming and Monitoring of DeviceNet Slave PCs (Ver. 2.1 or Later)CX-Programmer Ver. 2.1 connect

Strona 203

19DeviceNet Unit Features Section 1-2Multiple PCs in a Single NetworkMultiple DeviceNet Units can be connected in a single network for messagecommunic

Strona 204 - Minimum I/O Response Time

20DeviceNet Unit Features Section 1-2a DeviceNet Unit. (See Appendix D Memory Card Backup Function for moredetails.) Note Refer to 7-2 Memory Card Bac

Strona 205 - 8-1-4 System Startup Time

21Specifications Section 1-31-3 Specifications1-3-1 DeviceNet UnitModelGeneral Specifications General specifications of the CS/CJ-series DeviceNet Uni

Strona 206 - 8-2 Message Communications

22Specifications Section 1-3Words allo-cated in the CPU Unit DeviceNet remote I/O communi-cations When used as a MasterFixed alloca-tionsFixed words i

Strona 207 - PC's cycle time x 2

23Specifications Section 1-3Remote I/O master com-municationsSlave allocation method Fixed allo-cationsSelect one of the following fixed allocation ar

Strona 208

24Specifications Section 1-3Remote I/O master Max. No. of Slaves con-nected per DeviceNet UnitFixed allocations 63 nodesUser-set allocationsBy allo-ca

Strona 209 - SECTION 9

viTrademarks and CopyrightsDeviceNet is a registered trademark of the Open DeviceNet Vendor Association, Inc.Windows, Windows 95, Windows 98, Windows

Strona 210

25Specifications Section 1-3Remote I/O slaveAllocation method Fixed allo-cationsSelect one of the following fixed allocation areas using the Slave Fix

Strona 211

26Specifications Section 1-3Default settings • Scan list: Not supported • Master communications: Supported• Slave communications: Disabled• Remote I/O

Strona 212 - Master Errors

27Specifications Section 1-3Other func-tionsRemote programming/monitoring func-tionsA CX-Programmer connected to the serial communications port of a P

Strona 213

28Specifications Section 1-31-3-2 Comparison between CS1W-DRM21 and CJ1W-DRM21Only the following items are different between the CS1W-DRM21 and theCS1

Strona 214

29Comparison with Previous Models Section 1-41-4 Comparison with Previous ModelsThe following table provides a comparison between the CS1W-DRM21Device

Strona 215

30Comparison with Previous Models Section 1-4Remote I/O communica-tions MasterFixed alloca-tionsC200H DeviceNet words in CIO Area1,600 points (50 inpu

Strona 216

31Comparison with Previous Models Section 1-4Remote I/O communica-tions MasterMax. No. of slaves con-nectedWith no Configurator (fixed allocations): 5

Strona 217

32Comparison with Previous Models Section 1-4Starting and stopping remote communications during I/O communicationsStarts or stops remote I/O communica

Strona 218 - Network Errors

33Outline of the Configurator Section 1-51-5 Outline of the ConfiguratorAllocations for remote I/O communications can be set in any order of nodeaddre

Strona 219 - F0 --- Red (lit) 0211

34Outline of the Configurator Section 1-5Note 1. Master device parameters used in a scan list are created with either of thefollowing methods.a) Using

Strona 220 - Memory Access Errors

viiTABLE OF CONTENTSPRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi1 Intended Audience . . . . . . . . . . . . . . .

Strona 221 - E8 Red (flashing) --- 021A

35Outline of the Configurator Section 1-5Main functions Setup functions Master device parameter settings for OMRON’s Master• Remote I/O master allocat

Strona 222 - E9 Red (flashing) --- 0602

36Basic Operating Procedures Section 1-61-6 Basic Operating Procedures1-6-1 Network Installation ProcedureNote For details on the network installation

Strona 223 - CPU Unit Exchange Errors

37Basic Operating Procedures Section 1-6Node address (Pins 1 to 6)Baud rate (Pins 7 and 8)Etc.3. Mount the Master and wire the network.Treat as a CPU

Strona 224

38Basic Operating Procedures Section 1-6message communications may not be possible unless the DeviceNet Unitis registered in the local network table.1

Strona 225 - Hd Red (flashing) --- 0347

39Basic Operating Procedures Section 1-63. Check Unit Status 2 (word n+11, bit 03) from a Programming Device con-nected to the CPU Unit to see if the

Strona 226 - HE Red (flashing) --- 0002

40Basic Operating Procedures Section 1-62. Check Unit Status 2 (word n+11, bit 07) from a Programming Device con-nected to the CPU Unit to see if the

Strona 227 - Slave Errors

41Basic Operating Procedures Section 1-64. Switch the CPU Unit to RUN mode. Slave remote I/O communications willbegin.Message Communications Only (Nei

Strona 228 - 9-2 Error Log Functions

42List of Usage Methods by Purpose Section 1-71-7 List of Usage Methods by PurposeSituation Action PageDesign Allocating any words for remote I/OIn or

Strona 229

43List of Usage Methods by Purpose Section 1-7Operation Stopping remote I/O communica-tions with all SlavesStop communications using the Configurator

Strona 230

45SECTION 2Nomenclature and InstallationThis section describes the nomenclature and installation of the DeviceNet Unit.2-1 Nomenclature and Functions

Strona 231

viiiTABLE OF CONTENTSSECTION 5Remote I/O Slave Communications. . . . . . . . . . . . . . . . . 1215-1 Slave Remote I/O Communications . . . . . . .

Strona 232 - 9-3 Troubleshooting

46Nomenclature and Functions Section 2-12-1 Nomenclature and Functions2-1-1 Nomenclature and FunctionsCS1W-DRM21CJ1W-DRM21IndicatorsThe DeviceNet Unit

Strona 233 - 9-3-3 I/O Link Problems

47Nomenclature and Functions Section 2-12-1-2 Status Indicators: MS and NSThe MS (Module Status) indicator indicates the status of the node itself and

Strona 234 - 9-3-5 Scan List Problems

48Nomenclature and Functions Section 2-12-1-3 Seven-Segment DisplayIn addition to the MS and NS indicators, DeviceNet Units have a 2-digit, 7-segment

Strona 235 - 9-4-2 Inspection

49Nomenclature and Functions Section 2-1The following diagram shows the alternating error code/ node address display.The master’s error code and maste

Strona 236 - 9-4-3 Replacing Faulty Units

50Nomenclature and Functions Section 2-1Note 1. The node address is set to 63 at the factory.2. Any node address from 0 through 63 can be set as long

Strona 237

51Installing the DeviceNet Unit Section 2-2Continue/Stop Remote I/O CommunicationsWhen the DeviceNet Unit is used as a master, pin 3 is used to set wh

Strona 238 - Appendix A

52Installing the DeviceNet Unit Section 2-2• In the CS-series, up to 16 Units can be mounted to the CS1W-BC 3CPU Backplane or CS1W-BI3 Expansion CPU B

Strona 239 - Status Areas

53Installing the DeviceNet Unit Section 2-2Note When mounting the Unit, provide the clearance shown below to facilitate easymounting or dismounting.CJ

Strona 240

54Installing the DeviceNet Unit Section 2-2• Provide separate conduits or ducts for the I/O lines to prevent noise fromhigh-tension lines or power lin

Strona 241 - Registered Slave Table

55Installing the DeviceNet Unit Section 2-22-2-4 External DimensionsCS1W-DRM21 These diagrams show the dimensions of the DeviceNet Unit. Refer to the

Strona 242 - Normal Slave Table

ixAbout this Manual:This manual describes the installation and operation of CS1W-DRM21 DeviceNet Unit for SYSMACCJ-series PLCs and the CJ1W-DRM21 Devi

Strona 243

57SECTION 3Allocated CIO and DM WordsThis section describes the words allocated to the DeviceNet Unit in the CIO Area and DM Area. These words both en

Strona 244 - Appendix B

58Overview of Word Allocations Section 3-13-1 Overview of Word AllocationsThe words shown in the following diagram are allocated according to the unit

Strona 245 - Setting Connection Type

59Overview of Word Allocations Section 3-13-1-1 Allocated CIO Area WordsSoftware switches, DeviceNet Unit status, and error data are allocated in theC

Strona 246 - Connection Path

60Allocated CIO Area Words Section 3-23-2 Allocated CIO Area WordsData is stored at the offset positions shown in the figure below starting fromthe fi

Strona 247 - Master COS Send Switch

61Allocated CIO Area Words Section 3-2• Unit status area 2 (word n+11)• Master Status 1 (word n+12)Word n [n = CIO 1,500 + (25 x unit number)]Bit Name

Strona 248

62Allocated CIO Area Words Section 3-202 Remote I/O Com-munica-tions Start SwitchOFF→ONUser Starts remote I/O communications.Note 1. The switch is ign

Strona 249 - Appendix C

63Allocated CIO Area Words Section 3-206 Master Enable SwitchOFF→ONUser Enables master communications. (The Unit automati-cally restarts.)Once enabled

Strona 250 - READ CONTROLLER STATUS (0601)

64Allocated CIO Area Words Section 3-211 Master User-set Alloca-tions SwitchOFF→ONUser Reads setup data from the Master User Allocations Setup Table (

Strona 251 - ECHOBACK TEST (0801)

65Allocated CIO Area Words Section 3-23-2-2 Software Switches 2 (Word n+1)All switches are turned ON by the user. The Unit automatically turns themOFF

Strona 252 - READ ERROR HISTORY (2102)

66Allocated CIO Area Words Section 3-206 Slave Enable SwitchOFF→ONUser Enables slave communications. (The Unit automatically restarts.)To use fixed al

Strona 253 - ERROR HISTORY CLEAR (2103)

xSYSMAC CS/CJ Series Communication Com-mands Reference ManualCS1G/H-CPU-E CPU UnitsCS1W-SCB21/41 Serial Communications BoardsCS1W-SCU21 Serial Communi

Strona 254 - Important Point

67Allocated CIO Area Words Section 3-208 Slave Fixed Allo-cation Set-ting 1 SwitchOFF→ONUser Allocates the following words to the slave.• OUT 1 area (

Strona 255 - Appendix D

68Allocated CIO Area Words Section 3-211 Slave User Alloca-tions SwitchOFF→ONUser Reads setup data from the Slave User Allocations Setup Table in the

Strona 256 - Outline of Functions

69Allocated CIO Area Words Section 3-2Note 1. When the Master function is enabled, the Unit Setup File cannot be backedup unless the scan list is enab

Strona 257 - File Names

70Allocated CIO Area Words Section 3-2Remote I/O communications will restart if a user turns OFF a bit that is ON.More than one of these switches may

Strona 258 - Appendix E

71Allocated CIO Area Words Section 3-23-2-5 Unit Status 1 (Word n+10)Word n+10 [n = CIO 1,500 + (25 x unit number)]Bit Name Status Controlled byUnit o

Strona 259 - Master Unit Device Profile

72Allocated CIO Area Words Section 3-23-2-6 Unit Status 2 (Word n+11)Word n+11 [n = CIO 1,500 + (25 x unit number)]07 Network Power Error FlagON Unit

Strona 260 - Connection Object (05 Hex)

73Allocated CIO Area Words Section 3-201 Remote I/O Communica-tions FlagON Unit Indicates that remote I/O communications are being performed for the m

Strona 261

74Allocated CIO Area Words Section 3-23-2-7 Master Status 1 (Word n+12)Word n+12 [n = CIO 1,500 + (25 x unit number)]Bit Name Status Controlled byUnit

Strona 262

75Allocated CIO Area Words Section 3-23-2-8 Master Status 2 (Word n+13)The leftmost eight bits indicate the status of master I/O allocations.Master I/

Strona 263

76Allocated CIO Area Words Section 3-23-2-9 Slave Status 1 (Word n+14)Word n+14 [n = CIO 1,500 + (25 x unit number)]Bit Name Status Controlled byUnit

Strona 264

xiPRECAUTIONSThis section provides general precautions for using the DeviceNet Unit and related devices.The information contained in this section is i

Strona 265 - PC Object (2F Hex)

77Allocated CIO Area Words Section 3-211 COS Send Failed FlagON Unit Indicates that an attempt was made to send COS to a Master using the Slave COS se

Strona 266

78Allocated CIO Area Words Section 3-23-2-10 Slave Status 2 (Word n+15)Master Node Addresses This indicates the node address of the remote master for

Strona 267

79Allocated CIO Area Words Section 3-23-2-12 Normal Slave Table (Words n+20 to n+23)This table indicates the slaves that are communicating normally wi

Strona 268 - Appendix F

80Allocated CIO Area Words Section 3-2Note Although the bit configurations are the same, the word addresses are different(because this is a CS/CJ-seri

Strona 269 - Explanation

81Allocated DM Area Words Section 3-33-3 Allocated DM Area WordsData is stored at the offset positions shown in the figure below starting fromthe firs

Strona 270

82Allocated DM Area Words Section 3-3Note If the setting is smaller than the optimum communications cycle time calcu-lated by the Unit and stored inte

Strona 271

83Allocated DM Area Words Section 3-3Note Make sure the CPU Unit is in PROGRAM mode and the master function isenabled before you set these values.Note

Strona 272

84Allocated DM Area Words Section 3-3Setting Results3-3-3 Allocation Size Setup TableThe following allocation size setup tables must be set in the I/O

Strona 273

85Allocated DM Area Words Section 3-3Setting ExampleThe following example shows the allocation when the size (bytes) for OUTblock 1 and IN block 1 is

Strona 274 - Revision History

86Allocated DM Area Words Section 3-3Areas and Word RangesSetting ResultsName Range DetailsSlave OUT 1 area See Areas and Word Ranges.Specifies the OU

Komentarze do niniejszej Instrukcji

Brak uwag