The text of a manual · part 4 of 39
C200HW-DRT21, CQM1-DRT21, DRT1 Series DeviceNet Slaves Operation Manual: W347-E1-06.pdf, pages 31 to 40
Pages 31 to 40 of 381, from C200HW-DRT21, CQM1-DRT21, DRT1 Series DeviceNet Slaves Operation Manual
The original document is the PDF (7.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Omron DRT1-ID16
Page 31
Section 2-3
Setting and Wiring Hardware supplied. In the examples shown here, the power is supplied from one communications power supply, and communications cables are connected using T-branch Taps. Refer to the DeviceNet Operation Manual (W267) for details on methods of supplying communications power. Note Use the OMRON Connectors shown below when using Thick Cables and multi-drop connections for wiring. XW4B-05C4-T-D (Without set screws)
2-3
XW4B-05C4-TF-D (With set screws)
Setting and Wiring Hardware Use the following procedures to mount, set, and wire the hardware.
2-3-1
Mounting and Setting the Master Unit
Settings
The components, functions, and switch settings for the C200HW-DRM21-V1 Master Unit mounted to a C200HX PLC are shown as an example in the following diagram. For information on switch settings and other Master Units, refer to the operation manual for the Master Unit. Front panel
Rear panel
Indicators
Rear-panel DIP switch These pins have the following functions: Pins 1 to 6: Node address Pins 7 and 8: Reserved (Always OFF.) Here, all pins are set to OFF to set the node address to 01
Rotary switch This switch sets the Master's single-digit hexadecimal unit number. Here, set this switch to 0. Front-panel DIP switch These pins have the following functions: Pins 1 and 2: Baud rate Pin 3: Continue/stop communications for error Pin 4: Reserved (Always OFF.) Here, all pins are turned OFF to set the baud rate to 125 Kbps and to continue communications for errors. Communications connector
16
Page 32
Section 2-3
Setting and Wiring Hardware Mounting
2-3-2 Settings
The Master Unit is mounted to the Backplane of the PLC in the same way as other Units are normally mounted. For details on mounting Master Units to PLCs, and mounting control panels to PLCs, refer to the applicable CPU Unit Operation Manual.
Mounting and Setting Slaves The following example shows Slave settings. For details on how to set Slaves, refer to SECTION 4 General-purpose Slaves to SECTION 6 Special I/ O Slave Units Specifications. C200HW-DRM21-V1 Master Unit (Node 00)
DRT1-ID16 Remote I/O Terminal 16 transistor inputs (Node 01)
C200HW-DRT21 I/O Link Unit (Node 07)
DRT1-TS04T Temperature Input Terminal with 4 inputs (allocated 4 words) (Node 03)
DRT1-OD16 Remote I/O Terminal 16 transistor outputs (Node 01)
DRT1-232C2 RS-232C Unit (allocated 1 input word) (Node 08)
• DRT-ID16 Remote I/O Terminals (Transistor Inputs) Node Address: 01 Baud Rate:
125 kbps
• DRT-OD16 Remote I/O Terminals (Transistor Outputs) Node Address:
02
Baud Rate:
125 kbps
Hold/Clear Outputs for Communications Error: Clear • DRT1-TS04T Temperature Input Terminals Node Address:
03
Baud Rate:
125 kbps
Temperature Scale: °C Display Mode for 2 Digits Below Decimal Point: Normal mode • C200HW-DRT21 I/O Link Units Node Address:
07
Unit Number:
0
Baud Rate:
125 kbps
Write Area Handling for Communications Error: Clear • DRT1-232C2 RS-232C Units Node Address:
08
Baud Rate:
125 kbps
17
Page 33
Section 2-3
Setting and Wiring Hardware Mounting C200H I/O Link Units
C200H I/O Link Units are mounted to C200HX Backplanes in the same way as Units are normally mounted to PLCs. For details on mounting I/O Link Units to PLCs, and mounting control panels to PLCs, refer to the CPU Unit’s Operation Manual. A maximum of 16 C200H I/O Link Units can be mounted to the CPU Rack and Expansion I/O Racks for a C200HX/HG/HE PLC. Remote I/O Terminals and Temperature Input Terminals Remote I/O Terminals and Temperature Input Terminals are mounted using either of the following two methods. • Screw Mounting While referring to the dimensions for each Slave provided in SECTION 4 General-purpose Slaves to SECTION 6 Special I/O Slave Units Specifications, open mounting holes in the control panel and secure the Slave Units to the control panel using M4 screws. The appropriate tightening torque is 0.6 to 0.98 N⋅m. • DIN Track Mounting Secure the bottom of the Slave Unit to a 35-mm DIN track, or secure the Slave Unit to the track between two End Plates. Mounting Examples The following diagram shows all Units except the PLC node mounted to DIN tracks. Master Unit
Temperature Input Terminal Output Terminal Input Terminal
C200H I/O Link Unit RS-232C Unit
2-3-3
Mounting Connecting Devices Connecting devices that require being mounted are as follows: • T-branch Taps: Secure to the control panel with screws, or mounted to a DIN track. • Terminal-block Terminating Resistors: Secure to the control panel with screws. Open mounting holes in the control panel and secure the device to the control panel with screws. Tighten the M4 screws to a tightening torque of 0.6 to 1.18 N⋅m. The method of mounting devices to DIN track is the same as for Slave Units. Refer to the DeviceNet Operation Manual (W267) for details.
18
Page 34
Section 2-3
Setting and Wiring Hardware
2-3-4
Connecting Cables
Connecting Communications Cables
Connect the Master Unit and T-branch Taps, T-branch Taps and T-branch Taps, and T-branch Taps and Slaves with Thin DeviceNet Communications Cables.
If Terminating Resistors are connected to T-branch Taps, connect to the T-branch Tap furthest from the power supply. The T-branch Tap, however, must be within 6 m of the furthest node.
24-V DC power supply C200HX PLC C200HX PLC 7-segment display device M7F
T-branch Tap T-branch Tap
T-branch Tap
Remote I/O Terminal RS-232C Unit Temperature Input Terminal
Remote I/O Terminal
If Terminal-block Terminating Resistors are used, the Terminating Resistor must be connected to the end of a cable within 1 m from the furthest node.
Use the following procedure to connect the cables. Refer to 4-2 Connecting Communications Cables to General-purpose Slaves for details. 1,2,3...
1. Prepare the communications cables and attach the connectors to the cables. 2. Connect the communications cable connectors to the node connectors on the Master Unit, T-branch Taps, and Slaves.
Wiring the Internal Power Supply
Most nodes on the network require an internal power supply in addition to the communications power supply to operate the device. Supply internal power to all nodes except for the Master Unit and C200H I/O Link Unit. Connect M3 crimp terminals to the power lines and then connect them to the terminal block.
Wiring the I/O Power Supply
If required, an I/O power supply for I/O devices is connected to the Remote I/ O Terminals. Connect M3 crimp terminals to the power lines and then connect them to the terminal block.
Wiring I/O
Connect M3 crimp terminals to the signal lines of Remote I/O Terminals and Temperature Input Terminals and then connect them to the terminal block.
19
Page 35
Section 2-4
Starting Communications
2-4
Starting Communications After setting and wiring the hardware, turn ON the communications power supply, the internal power supply of each node, and the I/O power supply, and then start communications using the following procedure.
2-4-1
Creating I/O Tables for the Master Unit I/O tables must be created in the CPU Unit to distinguish between the different Slaves mounted to the PLC. Turn ON the PLC to which the Master Unit and C200H I/O Link Unit are mounted, connect the Peripheral Devices to the PLC, and create the I/O tables. Once the I/O tables have been created, turn OFF the power to the PLC. The following example shows the procedure for creating I/O tables using a Programming Console. For details on creating I/O tables, refer to the Operation Manual for the Peripheral Device being used. 1,2,3...
1. Turn ON power to Master Unit. 2. Switch the operating mode switch to PROGRAM mode. 3. Input the following key sequence. CLR
MONTR
CLR
<PROGRAM> PASSWORD! <PROGRAM> 00000
FUN
00000 FUN (0??)
CH
00000IOTBL ?-?U=
?
00000IOTBL
WRIT ????
00000IOTBL
WRIT 9713
00000IOTBL OK
WRIT
SHIFT
CHG
B
9
7
D
1
BZ
3
WRITE
Precautions • Do not turn ON multiple Master Units in a DeviceNet Network until scan lists for all Masters have been registered. Finish creating I/O tables for one Master Unit before creating tables for another Master Unit. • Do not turn ON the power supply to other nodes or the communications power supply when creating I/O tables.
2-4-2
Starting the System Turn ON the communications power supply and the power to other nodes in the following order. 1,2,3...
20
1. Turn ON the communications power supply.
Page 36
Section 2-4
Starting Communications 2. Turn ON the power to each Slave. 3. Turn ON the power to the Master Unit.
The power supplies listed above can all be turned ON simultaneously. The external I/O power supply can be turned ON at any time.
2-4-3
Creating and Registering Scan Lists Scan lists are lists that register the information that is transferred between Master Units and Slaves. The Master Unit compares the scan list with the status of the Slave currently being communicated with, so communications with the Slave are always being checked. For details on scan lists and remote I/O communications, refer to the operation manual for the Master Unit. Note When the scan list is disabled, communications are possible with all Slaves on the DeviceNet Network with fixed allocations. Without scan lists, however, the Master Unit cannot check if there is an error in a Slave. For normal operations, always enable the scan lists. Precautions • User I/O Allocations The user can allocated desired words for Slave I/O in the DeviceNet I/O Areas (Input Area, Output Area) in the Master Unit. When user allocations are used, scan lists must be created with a DeviceNet Configurator and registered in the Master Unit. The scan list is enabled as soon as it is registered, and I/O communications start according to the scan list. For details, refer to the DeviceNet Operation Manual (W267) and the DeviceNet Configurator Operation Manual (W328). • Fixed I/O Allocations Slave I/O is allocated in the DeviceNet I/O area (Input Area, Output Area) in the Master Unit in the same order as the Slave node addresses. When fixed allocations are used, the scan lists are automatically created and registered using the software switches. The scan list is enabled as soon as it is registered, and I/O communications start according to the scan list. The registered scan lists can be cleared using the software switches. Note If scan lists are not enabled, operation will be performed on the DeviceNet network according to fixed allocations, but the Master will not be able to recognize errors. Always enable the scan lists during normal operation.
Creating and Registering Fixed Allocation Scan Lists
The method of creating and registering scan lists for fixed allocation using Programming Console is explained here. For details on operating the Peripheral Device, refer to the Operation Manual for the Peripheral Device being used with the PLC. For details on creating scan lists, refer to the operation manual for the Master Unit. For fixed allocations, the PLC’s Peripheral Device is used to operate the Master Unit’s software switches, monitor the Status Areas (Master Status Area 1 and Registered Slave Data Area), and create and register scan lists.
21
Page 37
Section 2-4
Starting Communications Creating and Registering Scan Lists
Use the following procedure to create, register, and enable the scan lists. • The following procedure shows how to clear scan lists. CLR
S
C
1
00000
0
0
O
R c100 0000
CHG
2
WRITE c100 0002 c100 B200
CHG
1,2,3...
0
WRITE c100 0000
1. Switch the operating mode switch to PROGRAM mode. 2. Display the initial screen. 3. Monitor IR 100 (software switches). 4. Turn ON bit 01(Scan List Clear Bit). 5. Monitor IR 101 (Master Status Area 1) and check that bit 09 (scan list operation end) turns ON. 6. Turn OFF bit IR 10001. • The following procedure shows how to check the registered slave data.
Monitor IR 102 to IR 105 (Registered Slave Data Area), and check that bits 00, 01, 02, 03, 07, and 08 are ON. The numbers in the following table indicate the node addresses. In the Registered Slave Data Area, the bits corresponding to the nodes that are communicating properly are ON. Bit IR 102 IR 103 IR 104 IR 105
22
Page 38
Section 2-4
Starting Communications
• The following procedure shows how to create and register scan lists. SHIFT
CH
1
0
0
MONTR c100 0000
CHG
1
WRITE c100 0001 c101 9200
CHG
1,2,3...
0
WRITE c100 0000
1. Monitor IR 100 (software switches). 2. Turn ON bit 00 (Scan List Enable Bit). 3. Monitor IR 101 (Master Status Area 1), and check that bit 09 (scan list operation end) turns ON. 4. Turn OFF bit IR 10000. The scan list will be created, registered, and I/O communications will start with the scan list enabled. Software Switches and Status Area The software switches and Status Area are allocated in IR words according to the Master Unit’s unit number as shown in the following diagram.
Master Unit Unit No. 0 to 9 First word: 100 + (10 × unit No.)
C200HX/HG/HE/HS CPU Unit IR Area IR 100 Unit No. 0
IR 100 IR 101
Unit No. 0 Software switch: 1 word Status Area: 9 words
IR 190 Unit No. 9
Unit No. A to F First word: 400 + 110 × (unit No. –10) 10 words
IR 109 IR 400 Unit No. A IR 450 Unit No. F DM Area Unit No. 0 Unit No. 1
Unit No. 0 Status Area: 2 words
First word: DM 6032 + (2 × unit No.)
Unit No. F
23
Page 39
Section 2-5
Checking Operations
The following diagram shows the Status Area configuration for unit number 0. IR Area IR 101 IR 102
Master Status Area 1 (1 word)
Registered Slave Data Area (4 words) IR 106 Normal Slave Data Area (4 words) IR 109 DM Area
2-5
DM 6032
Master Status Area 2 (1 word)
DM 6033
Current Communications Cycle Time (1 word)
Checking Operations Use the procedures provided here to check that I/O communications are operating normally.
2-5-1
Indicator Status I/O communications are operating normally if the MS and NS indicators for all nodes are lit in green, and the 7-segment indicator on the front panel of the Master Unit is displaying the node address of the Master Unit as shown in the following diagram (when the Master Unit’s node address is 00), and the scan list is enabled. Master Unit
OFF: Scan list enabled Master Unit node address 00
2-5-2
Reading and Writing Data Connect the Peripheral Device for the PLC to the Master Unit, write the Master Unit’s Output Area and are read the Input Area, and check that the data is the same in the Slaves. Refer to the operation manual for the Master Unit for details on Output Area and Input Area addresses and how to allocate Slave I/O.
24
Page 40
Checking Operations
Section 2-5
I/O between Remote I/O Terminals
Create ladder programs in the PLC of the Master Unit, and check that when the switch on the DRT1-ID16 Input Terminal turns ON, the indicator on the DRT1-OD16 Output Terminal turns ON. Master Unit
DRT1-ID16 Input Terminal Switch1 (bit 00)
DRT1-OD16 Output Terminal Indicator (bit 00)
Slave Allocations In the system configuration examples in this section, Slave I/O is allocated in the Master Unit’s IR Area for fixed remote I/O communications as shown in the following diagram. Output area IR 50 IR 51 IR 52 IR 53 IR 54 IR 55 IR 56 IR 57 IR 58 IR 59
Displaying Temperature Data with 7-segment Display
Not used. Not used. DRT1-OD16
Not used.
C200HW-DRT21 Not used. Not used.
Input Area IR 350 IR 351 IR 352 IR 353 IR 354 IR 355 IR 356 IR 357 IR 358 IR 359
Not used. DRT1-ID16 Not used.
DRT1-TS04T
C200HW-DRT21 DRT1-232C2 Not used.
Operation can be checked by displaying the temperature data input into the Temperature Input Terminal on the 7-segment display (static, negative logic model) connected to the Output Unit (IR 110) of the Master’s PLC. The temperature data can be converted to BCD data by using the BCD(024) instruction (when the temperature data is negative, it can be converted to positive data using the NEG(160) instruction). For details on using instructions,
25