Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 33 of 39

C200HW-DRT21, CQM1-DRT21, DRT1 Series DeviceNet Slaves Operation Manual: W347-E1-06.pdf, pages 321 to 330

Pages 321 to 330 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 321

Section 7-1

Remote I/O Communications Characteristics TRM = Σ (Communications time for each Slave) + MULTIPLE I/O TERMINAL processing time + Explicit messages processing time + 0.01 × N + 1.0 [ms]

Communications time for each Slave: Time required for each Slave Σ (Communications time for each Slave) is the total of the processing time of each Slave in the network. MULTIPLE I/O TERMINAL processing time: 3.5 [ms] Only when Slaves with input, output, or mixed I/O of more than 8 bytes exist. Explicit messages processing time: 0.11 × TB + 0.6 [ms] Explicit message communications execution time TB: Baud rate factor (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8) N: Communications Time for each Slave

Number of Slaves

The following equations show the communications time per Slave (TRT) for each kind of Slave Unit. Output Slaves with 8 Bytes of Output Max. TRT = 0.016 ×TB × SOUT1 + 0.11 × TB + 0.07 [ms] SOUT1: The number of Output Slave output words The baud rate TB: (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8) Input Slaves with 8 Bytes of Input Max. TRT = 0.016 ×TB × SIN1 + 0.06 × TB + 0.05 [ms] SIN1: TB:

The number of Input Slave input words The baud rate (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8)

Mixed I/O Slaves with 8 Bytes of I/O Max. TRT = 0.016 × TB × (SOUT2 + SIN2) + 0.11 × TB + 0.07 [ms] SOUT2: The number of Mixed I/O Slave output words The number of Mixed I/O Slave input words SIN2: The baud rate TB: (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8) Input Slaves, Output Slaves, or Mixed I/O Slaves with Over 8 Bytes of I/O TRT = TOH + TBYTE-IN × BIN + TBYTE-OUT × BOUT [ms] TOH: TBYTE-IN: BIN: TBYTE-OUT: BOUT: Baud rate 500 kbps

306

The protocol overhead The input byte transmission time The number of input bytes The output byte transmission time The number of output bytes TOH 0.306 ms

TBYTE-IN 0.040 ms

TBYTE-OUT 0.036 ms

Page 322

Section 7-1

Remote I/O Communications Characteristics Baud rate 250 kbps 125 kbps

TOH 0.542 ms 1.014 ms

TBYTE-IN 0.073 ms 0.139 ms

TBYTE-OUT 0.069 ms 0.135 ms

The number of output bytes (BOUT) for Input Slaves is 0, and the number of input bytes (BIN) for Output Slaves is 0. Refresh Time

The refresh time is the time required for I/O data to be exchanged between the PLC’s CPU Unit and the DeviceNet Master Unit. The PLC’s cycle time is increased when a Master Unit is mounted, as shown below. Note Refer to the PLC’s Operation Manual for more details on the refresh time and the PLC’s cycle time. Master Unit for CV-series PLCs (CVM1-DRM21) The PLC’s cycle time is increased by 1.1 ms. This is the extra time required for CPU Bus Unit servicing (DeviceNet Master Unit refreshing). Master Unit for CS1H/G, C200HX/HG/HE (-ZE), and C200HS PLCs (C200HW-DRM21) The PLC’s cycle time is increased by the amount shown below. The extra time is required for I/O refreshing. PLC

DeviceNet Unit I/O refreshing time (ms)

CS1H/G and C200HX/ HG/HE (-ZE)

1.72 + 0.022 × the number of words refreshed

C200HS

2.27 + 0.077 × the number of words refreshed

The number of words refreshed is the total number of words in the I/O Area that are used by the Slaves, including any unused words between words actually used by the Slaves. For example, if there are only two Input Slaves with node addresses 1 and 5, the 5 input words for nodes 1 through 5 would be refreshed even though the input words for nodes 2, 3, and 4 are unused. If message communications are being performed, just add the number of words used in message communications to the above number of words for whenever messages are being processed. C200H I/O Link Unit The PLC’s cycle time is increased by the amount shown below when a C200H I/O Link Unit is mounted to the PLC. The extra time is required for I/O refreshing. Additional processing time (ms) 1.72 + 0.022 × the number of words refreshed

The number of words refreshed is the total number of words allocated to the Read/Write Area. If message communications are being performed, just add the number of words used in message communications to the above number of words for whenever messages are being processed.

7-1-3

More than One Master in Network The following equation shows the remote I/O communications cycle time (TRM) when there is more than one Master in the Network and message communications are not being performed. An example for two Master Units is used.

307

Page 323

Section 7-1

Remote I/O Communications Characteristics

First, the Network is divided into two groups: Master A and the Slaves in remote I/O communications with it and Master B and the Slaves in remote I/O communications with it.

Slave A

Group A

Group B

Master A

Master B

Slave C

Slave B

Slave D

Slaves in remote I/O communications with Master A

Slave E

Slave F

Slaves in remote I/O communications with Master B

Note Although in the above diagram the Slaves are separated into two groups for convenience, the actual physical positions in the Network are irrelevant. Next, we can refer to the previous equations and calculate the communications cycle time for each group as if they were separate Networks.

Slave A

Group A

Group B

Master A

Master B

Slave C

Slave B

Slave D

Group A communications cycle time: TRM-A

Slave E

Slave F

Group A communications cycle time: TRM-B

In Networks with two Masters, the communications cycle time for the entire Network will be the sum of the communications cycle times for the groups. TRM = TRM-A + TRM-B Although this example shows only two Masters in the Network, the total communications cycle time for any Network can be calculated by dividing it into groups and adding the communications cycle times of all groups.

7-1-4

System Startup Time This section describes the system startup time for a Network operating with the scan list enabled. The system startup time is the delay from the time that the Master Unit is turned ON until remote I/O communications begin. Here, we assume that the scan list is enabled and that remote I/O communications are set to start automatically at startup.

System Startup Times

The following table shows the system startup times for two cases. In the first case, the Master Unit starts up just after all of the Slaves’ power supplies are turned ON. In the second case, the Master Unit is restarted while communications are in progress. Case The Master is started just after Slave startup.

308

Slave’s indicator status System startup time The NS indicator is OFF or 6 seconds flashing green.

Page 324

Section 7-2

Message Communications Time Case The Master only is restarted. The Slaves only are restarted.

Program Example

Slave’s indicator status The NS indicator flashes red while the Master is OFF. ---

System startup time 8 seconds

10 seconds

As shown in the preceding table, it takes time for DeviceNet communications to start up. This programming uses flags in the Master Status Area to prevent the Slaves’ I/O processing from being performed until remote I/O communications start up. Note Refer to the Master Unit’s Operation Manual for details on the Master Status Area 1. This programming is for a CV-series PLC and a Master Unit with a unit number of 00.

Remote I/O Communications Flag Error/Communications Stopped Flag

7-2

Slaves' I/O processing

Message Communications Time The message communications time is the time required from the time a Master Unit starts to send a message over the Network to another node until the Master Unit completes sending the message (data for SEND(192)/ RECV(193) and FINS commands for CMND(194)/IOWR). If the CPU Unit attempts to send another message or receives a message from another node within the message communications time, the second message or the message being received from another node may be destroyed. Never execute a second communications instruction before the message communications time has elapsed and never send messages to any one node at intervals less than the message communications time. Note

1. If send or receive messages are destroyed, error records will be placed in the error history of the Master Unit. If an error occurs, read the error history using the FINS command or monitor the error history from the Configurator. 2. The following equations can be used to find the approximate message communications time, but this is a typical time, not the maximum time. The message communications time will vary depending on the frequency of message communications, the load on the remote node, the communications cycle time, and other factors. For any one Master Unit, the message communications time can be greatly increased due to heavy loads and the user program must be written to allow for this. The following equation can be used to compute the approximate message communications time.

309

Page 325

Section 7-2

Message Communications Time

Message communications time = Communications cycle time × ((No. of message bytes + 15) ÷ 6 + 1) No. of message bytes: No. of data bytes following the FINS command code The communications cycle time depends on whether or not remote I/O communications are being used. No Remote I/O Communications The following equation can be used to compute the message communications time when remote I/O communications are not being used. Message communications time = 2 ms (see note) + 0.11 × TB + 0.6 [ms] TB:

The baud rate (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8)

Note The minimum remote I/O communications cycle time is 2 ms even if remote I/ O communications are not being used. Remote I/O and Message Communications Performing message communications in addition to remote I/O communications will increase the message communications time. Message communications time= Communications cycle time for remote I/O communications only + 0.11 × TB + 0.6 [ms] TB:

310

The baud rate (500 kbps: TB = 2; 250 kbps: TB = 4; 125 kbps: TB = 8)

Page 326

SECTION 8 Troubleshooting and Maintenance This section describes error processing, periodic maintenance operations, and troubleshooting procedures needed to keep the DeviceNet Network operating properly. We recommend reading through the error processing procedures before operation so that operating errors can be identified and corrected more quickly. 8-1

8-2

8-3

Indicators and Error Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

312

8-1-1

Errors Occurring in the Slave Unit . . . . . . . . . . . . . . . . . . . . . . . . . .

312

8-1-2

C200H I/O Link Unit Seven-segment Display . . . . . . . . . . . . . . . . .

312

Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

313

8-2-1

Slave Unit Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

313

8-2-2

Analog Input Unit Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . .

315

8-2-3

Temperature Input Terminal Troubleshooting . . . . . . . . . . . . . . . . .

316

8-2-4

C200H I/O Link Unit Troubleshooting . . . . . . . . . . . . . . . . . . . . . .

316

8-2-5

RS-232C Unit Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . .

318

Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

318

8-3-1

Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

318

8-3-2

Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

318

8-3-3

Replacing Nodes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

319

311

Page 327

Section 8-1

Indicators and Error Processing

8-1

Indicators and Error Processing

8-1-1

Errors Occurring in the Slave Unit The following table lists probable causes and remedies for errors that occur in the Slave Unit.

Display/Indicator status MS ON (green)

NS ON (green)

ON (green) ON (green) ON (red)

OFF

Flashing (red)

Flashing (green) OFF

Network status

Probable cause and remedy

Remote I/O or message commu- Remote I/O communications and/or message communications nications in progress (normal are active on the Network. status) Checking for node address dupli- Checking whether the Unit’s node address has been set on cation another node. Waiting for connection The Unit is waiting for a connection from the Master Unit. Watchdog timer error

A watchdog timer error occurred in the Unit. Replace the Unit.

OFF

Incorrect switch settings

A mistake has been made in the switch settings. Check the settings and restart the Slave.

ON (green)

ON (red)

Node address duplication

The Slave Unit’s node address has been set on another node. Change the settings to eliminate the duplication and restart the Slave.

ON (green)

ON (red)

Bus Off error detected

The communications controller detected a Bus Off status and communications have been stopped. Check the following and restart the Slave: Master/Slave baud rates, for loose or broken cables, for noise, cable lengths, and Terminating Resistors.

ON (green)

Flashing (red)

Communications timeout

The connection with the Master Unit timed out. Check the following and restart the Slave: Master/Slave baud rates, for loose or broken cables, for noise, cable lengths, and Terminating Resistors.

8-1-2

C200H I/O Link Unit Seven-segment Display C200H I/O Link Units have a 2-digit, 7-segment display that normally indicates the C200H I/O Link Unit’s node address (decimal value from 00 to 63). When an error occurs, the display will alternate between the error code and the node address of the faulty C200H I/O Link Unit. If more than one error occurs at the same time, the error codes will be displayed in sequence, followed at the end by the faulty Unit’s node address. Normal: C200H I/O Link Unit node address Error: Error code and faulty C200H I/O Link Unit's node address

Read/Write Area default/user settings

Dot Indicators The dots at the lower-right of each digit are operated by bit 13 (Read/Write Area default setting) of the Status Area (first word of the IR Area + 5 words), and show whether user settings or default settings are being used for the Read/Write Area. The dots are lit when the default settings are used and not lit when the user settings are used.

312

Page 328

Section 8-2

Troubleshooting Seven-segment Display

The 7-segment digits show the C200H I/O Link Unit’s node address during normal operation, but alternate between the error code and the Unit’s node address when an error occurs. The following table outlines the operation of the display. Status Error

Display

Watchdog timer Memory or system error Other errors

Not lit Error code only

Lit

Error code and error node address alternate (see diagram below)

The following diagram illustrates the alternating display of the error code and error node address. Error code (1 s)

OFF (0.3 s)

OFF (0.3 s)

Error code (1 s)

OFF (0.3 s)

Node address (1 s)

OFF (0.3 s)

If more then one error occurs at the same time, each error code will be displayed in sequence, followed at the end by the error node address.

8-2

Troubleshooting

8-2-1

Slave Unit Troubleshooting

Red Indicator (ON or Flashing)

Use the following table to troubleshoot problems in a Slave that has a red indicator that is ON or flashing.

Error The MS indicator is a constant red.

Probable cause The Slave Unit is faulty. Replace the Unit.

The MS indicator is flashing red.

• Check that the Slave’s baud rate setting is correct. The setting must be 125 kbps, 250 kbps, or 500 kbps. Restart the Unit after changing the baud rate. • Replace the Unit if the MS indicator continues to flash red even though the baud rate setting is correct.

313

Page 329

Section 8-2

Troubleshooting Error After the MS indicator turns green, the NS indicator does not flash green - it turns red immediately.

Probable cause Restart the faulty Slave Unit after checking the following points. • Make sure that the Master and Slaves baud rate settings all match. If they do not match, set all of the baud rates to the same value. • Check for a node address duplication. If necessary change the node address settings so that each node has a unique number. • See the troubleshooting steps below under the error heading: “The NS indicator lights green but turns red after a short time.” • Check whether all of the Slaves’ settings are correct. • If a particular Slave’s NS indicator is always red, replace that Slave. The NS indicator lights green but turns red after • Restart the faulty Slave Unit after checking the following points. a short time • Make sure that there are 121-Ω Terminating Resistors connected at or both ends of the trunk line. Connect 121-Ω Terminating Resistors if The NS indicator lights green but starts flashing the wrong resistance is being used. red after a short time. • Check whether all of the Slaves’ settings are correct. • Check whether the communications cables are connected properly. • Check whether the power supply is set correctly. • Check all the nodes for broken wires in the communications and power supply cables attached to the connectors. • Check whether power is correctly supplied to the network. • If there is nearby equipment that generates electrical noise, take steps to shield the Master, Slaves, and communications cables from the noise. • If an error has occurred with an OMRON Master Unit, refer to the Master Unit’s Operation Manual. If an error has occurred in a Master Unit supplied by another maker, refer to the relevant operation manual. • If a particular Slave’s NS indicator is always red, replace that Slave.

Trouble Adding a Slave to the Network Error The NS indicator remains OFF.

314

Use the following table to troubleshoot problems in adding a Slave to the network. Probable cause • Check if the baud rate of the Master Unit coincides with that of the Slave Unit. If the baud rates are different, correct the baud rate of the Slave Unit. • Check that the Slave’s connector is connected correctly. • Check whether the communications power supply is supplying 24 V DC. • Make sure that the Master is operating properly. When using an OMRON Master, refer to the Master Unit’s Operation Manual. When using another company’s Master Unit, refer to that Master’s user’s manual. • Check whether the communications cables are connected properly. • Check whether the power supply is set correctly. • Check for broken wires in the communications and power supply cables attached to the connectors.

Page 330

Section 8-2

Troubleshooting Error The NS indicator continues to flash green.

Probable cause • Make sure that the Master is operating properly. When using an OMRON Master, refer to the Master Unit’s Operation Manual. When using another company’s Master Unit, refer to that Master’s operation manual. • Check whether the Slave is registered in the Master’s scan list. If an OMRON Master Unit is being used, a new Slave cannot be added to the network if the Master is operating with the scan list enabled. First perform the clear scan list operation, check that the Slave has joined the network, and then perform the create scan list operation. If another company’s Master Unit is being used, refer to that Master’s operation manual for details on adding a new Slave to its scan list.

The NS indicator alternates between being green and flashing green, or alternates between flashing red and flashing green.

• When using an OMRON Master, check the following items and perform the necessary error processing steps.

→ Register the scan list again. (After performing the clear scan list operation, check that the Slave has joined the network and perform the create scan list operation.)

→ Make sure that the Slave’s allocated I/O area does not overlap with that of another Slave. If there is an overlap, change the Slave’s node address to eliminate it.

→ Make sure that the allocated I/O area does not exceed the allowed range shown below: C200HW-DRM21-V1

Output: IR 050 to IR 099 Input: IR 350 to IR 399 If the I/O area exceeds this range, change the Slave’s node address to correct the problem. • When using another company’s Master Unit, check that the I/O size registered in the Master’s scan list matches the actual I/O size of the Slave. The I/O size is recorded in the following attributes of the connection object: Interface 2 (Polled I/O Connection) Produced Connection size (Input size) Consumed Connection size (Output size) and: Interface 3 (Bit strobed I/O Connection) Produced Connection size (Input size) See Appendix B Slave Device Protocol for details and register the correct value in the Master’s scan list. Refer to the Master’s manual for details on registering the values.

8-2-2

Analog Input Unit Troubleshooting

DRT1-AD04 Error The AD converted data is FFFF.

Probable cause The Analog Input Terminal’s open-circuit detection function is activated when the input range is set to 1 to 5 V and the voltage drops below 0.8 V or the input range is set to 4 to 20 mA and the current drops below 3.2 mA. The converted data is set to FFFF when the open-circuit detection function is activated. Check the Analog input’s cables for broken wires or incorrect wiring. When the input signal rises above 0.8 V or 3.2 mA, the converted data will automatically return to its normal range.

315