26
GETTING STARTED GUIDE NI 9871 4-Port, RS485/RS422 Serial Module This document explains how to connect to the NI 9871.

NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

GETTING STARTED GUIDE

NI 98714-Port, RS485/RS422 Serial Module

This document explains how to connect to the NI 9871.

Page 2: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Note Before you begin, complete the software andhardware installation procedures in your chassisdocumentation.

Note The guidelines in this document are specific tothe NI 9871. The other components in the system mightnot meet the same safety ratings. Refer to thedocumentation for each component in the system todetermine the safety and EMC ratings for the entiresystem.

Safety GuidelinesOperate the NI 9871 only as described in this document.

Hot Surface This icon denotes that the componentmay be hot. Touching this component may result inbodily injury.

Caution Do not operate the NI 9871 in a manner notspecified in this document. Product misuse can result ina hazard. You can compromise the safety protectionbuilt into the product if the product is damaged in any

2 | ni.com | NI 9871 Getting Started Guide

Page 3: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

way. If the product is damaged, return it to NI forrepair.

Safety Guidelines for Hazardous LocationsThe NI 9871 is suitable for use in Class I, Division 2, Groups A,B, C, D, T4 hazardous locations; Class I, Zone 2, AEx nA IIC T4and Ex nA IIC T4 hazardous locations; and nonhazardouslocations only. Follow these guidelines if you are installing theNI 9871 in a potentially explosive environment. Not followingthese guidelines may result in serious injury or death.

Caution Do not disconnect I/O-side wires orconnectors unless power has been switched off or thearea is known to be nonhazardous.

Caution Do not remove modules unless power hasbeen switched off or the area is known to benonhazardous.

Caution Substitution of components may impairsuitability for Class I, Division 2.

Caution For Division 2 and Zone 2 applications,install the system in an enclosure rated to at least IP54as defined by IEC/EN 60079-15.

NI 9871 Getting Started Guide | © National Instruments Corporation | 3

Page 4: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Caution For Zone 2 applications, install a protectiondevice between the RS232 signal cables and theNI 9871 RJ-50 jacks (ports 1 to 4). The device mustprevent the RS232 signal-to-signal or signal-to-COMvoltage from exceeding 35 V if there is a transientovervoltage condition.

Caution For Zone 2 applications, install a protectiondevice between the external power supply and theNI 9871 Vsup and COM pins. The device must preventthe Vsup-to-COM voltage from exceeding 39 V if thereis a transient overvoltage condition.

Special Conditions for Hazardous Locations Use inEurope and InternationallyThe NI 9871 has been evaluated as Ex nA IIC T4 Gc equipmentunder DEMKO Certificate No. 07 ATEX 0626664X and isIECEx 14.0089X certified. Each NI 9871 is marked II 3G andis suitable for use in Zone 2 hazardous locations, in ambienttemperatures of -40 °C ≤ Ta ≤ 70 °C. If you are using the NI 9871in Gas Group IIC hazardous locations, you must use the device inan NI chassis that has been evaluated as Ex nC IIC T4, Ex IICT4, Ex nA IIC T4, or Ex nL IIC T4 equipment.

4 | ni.com | NI 9871 Getting Started Guide

Page 5: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Caution You must make sure that transientdisturbances do not exceed 140% of the rated voltage.

Caution The system shall only be used in an area ofnot more than Pollution Degree 2, as defined inIEC 60664-1.

Caution The system shall be mounted in anATEX/IECEx-certified enclosure with a minimumingress protection rating of at least IP54 as defined inIEC/EN 60079-15.

Caution The enclosure must have a door or coveraccessible only by the use of a tool.

Special Conditions for Marine ApplicationsSome products are Lloyd’s Register (LR) Type Approved formarine (shipboard) applications. To verify Lloyd’s Registercertification for a product, visit ni.com/certification and searchfor the LR certificate, or look for the Lloyd’s Register mark onthe product.

Caution In order to meet the EMC requirements formarine applications, install the product in a shieldedenclosure with shielded and/or filtered power and

NI 9871 Getting Started Guide | © National Instruments Corporation | 5

Page 6: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

input/output ports. In addition, take precautions whendesigning, selecting, and installing measurement probesand cables to ensure that the desired EMC performanceis attained.

Wiring the NI 9871The NI 9871 has four RJ-50 receptacles that provide connectionsfor four RS485/RS422 devices.

6 | ni.com | NI 9871 Getting Started Guide

Page 7: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Table 1. RS485/RS422 Port Pinout

RJ-50 Pin Signal Name*

RJ50 Jack

NCTXD–TXD+RTS–CTS–RXD–RXD+RTS+CTS+COM

123456789

10

1 No Connect

2 TXD-

3 TXD+

4 RTS-

5 CTS-

6 RXD-

7 RXD+

8 RTS+

9 CTS+

10 GND

*These signals are shared by all four RJ-50 connectors on the NI 9871.

NI 9871 Getting Started Guide | © National Instruments Corporation | 7

Page 8: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

The cables included with your kit convert the RJ-50 pinout to thestandard NI pinout on a DB-9 male connector, as shown inTable 2.

Table 2. Pin Assignments for RS485/RS422 DB-9 Male Connector

Connector RJ-50 Pin Signal Name

6789

12345

1 GND

2 CTS+

3 RTS+

4 RXD+

5 RXD-

6 CTS-

7 RTS-

8 TXD+

9 TXD-

8 | ni.com | NI 9871 Getting Started Guide

Page 9: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

You must connect an external power supply to the NI 9871. Thispower supply provides the power for the RS485/RS422transceivers on the module. You can use the included femalefour-position pigtail to connect to an external voltage source.Figure 1 lists the connections between an external voltage source(of +8 V to +28 V) and the NI 9871.

Caution To ensure the specified EMC performance,do not connect the power input to a DC mains supplyor to any supply requiring a connecting cable longerthan 30 m (100 ft). A DC mains supply is a local DCelectricity supply network in the infrastructure of acertain site or building.

NI 9871 Getting Started Guide | © National Instruments Corporation | 9

Page 10: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Figure 1. Four-Position External Power Connector

13

4

2

1. VSUP 2. VSUP 3. COM 4. COM

Figure 2 shows the method of power connection to the NI 9871module. Attach an isolated power supply to the VSUP and COMterminals using the included pigtail.

10 | ni.com | NI 9871 Getting Started Guide

Page 11: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Figure 2. Powering the NI 9871 from an Isolated Power Source

Red (+)

Black (–)

NI P/N 198159-XX:Female Microfit

Pigtail

V+V–

Any 8 to 28 V Isolated

Power Supply

Figure 3 shows how to use the optional Y-adapter (available at ni.com/serial) to connect power to more than one module usingthe same power source. One Y-adapter is needed for eachadditional module. Ensure that the power supply can handlemaximum power requirements for all modules connected.

Caution Make all connections before applying power.

NI 9871 Getting Started Guide | © National Instruments Corporation | 11

Page 12: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Figure 3. Powering Multiple Modules from a Single Power Supply

Red (+)

Black (–)

NI P/N 198303-XX:Male Microfit

Y-Adapter

NI P/N 198159-XX:Female Microfit

Pigtail

V+V–

Any 8 to 28 V Isolated

Power Supply

RS485 Bus Topology and TerminationRefer to Figure 4 and Figure 5 for an overview of 4-wire and2-wire RS485 bus topologies and termination.

12 | ni.com | NI 9871 Getting Started Guide

Page 13: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Figure 4. 4-Wire Full-Duplex Multidrop NetworkUsing Terminating Resistors

MA

ST

ER

Slave 1

120 Ω

Slave 2 Slave n

120 ΩTx

TxRx

TxRx

TxRx

Rx 120 Ω 120 Ω

Figure 5. 2-Wire Multidrop Network Using Terminating Resistors

MA

ST

ER

Slave 1

120 Ω

Slave 2 Slave n

120 Ω

Tx

TxRx

TxRx

TxRx

Rx

The driver directly supports 4-wire full-duplex operation on peer-to-peer RS-485 networks. Multidrop RS-485 networks requireadditional software development.

RS485 terminators are available at ni.com/serial.

NI 9871 Getting Started Guide | © National Instruments Corporation | 13

Page 14: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

RS485 Transceiver ControlRefer to Table 3 for a listing of TX and RX enable conditions forthe different RS485 transceiver control modes.

Table 3. Transceiver Control Pin Conditions

Enable 4-Wire

2-Wire

DTR/Echo DTR/No Echo Auto

TX On DTR DTR TX

RX On On DTR# TX#

NI 9871 Hardware OverviewThe NI 9871 has four independent RS485/RS422 ports that areisolated from the other modules in the system. Each port is fullycompatible with the ANSI/EIA/TIA-485 standard.

14 | ni.com | NI 9871 Getting Started Guide

Page 15: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Sleep Mode (CompactRIO Only)You can enable sleep mode for the CompactRIO system insoftware. In sleep mode, the system consumes less power andmay dissipate less heat. Typically, when a system is in sleepmode, you cannot communicate with the modules. Refer to theSpecifications section for more information about powerconsumption and thermal dissipation.

SpecificationsThe following specifications are typical for the range -40 °C to70 °C unless otherwise noted.

Maximum baud rate 3.6864 MbpsMaximum modulethroughput

1.28 Mbps

Maximum cable length 1.2 km (4,000 ft)

NI 9871 Getting Started Guide | © National Instruments Corporation | 15

Page 16: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Data line ESD protection(human body model)

±15 kV

MTBF 514,016 hours at 25 °C; BellcoreIssue 6, Method 1, Case 3,Limited Part Stress Method

Note Contact NI for Bellcore MTBF specifications atother temperatures or MIL-HDBK-217F specifications.

Power RequirementsPower consumption from chassis

Active mode 0.5 W maxSleep mode 50 µW max

Thermal dissipation (at 70 °C)Active mode 1.5 W maxSleep mode 55 W max

Required external supplyvoltage range (VSUP)

+8 to +28 VDC

16 | ni.com | NI 9871 Getting Started Guide

Page 17: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Power supply consumption from external supply VSUP

Typical 1 WMaximum 3.5 W

Physical CharacteristicsTo clean the module, wipe it with a dry towel.

Weight Approx. 153 g (5.4 oz)

Safety

Maximum Voltage1

Connect only the voltages that are within these limits.

RS485/RS422 Port-to-COM -8 to +13 VDC max,Measurement Category I

VSUP-to-COM ±28 V max, MeasurementCategory I

1 The maximum voltage that can be applied or output without creating a safetyhazard.

NI 9871 Getting Started Guide | © National Instruments Corporation | 17

Page 18: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Measurement Category I is for measurement performed oncircuits not directly connected to the electrical distribution systemreferred to as MAINS voltage. MAINS is a hazardous liveelectrical supply system that powers equipment. This category isfor measurements of voltages from specially protected secondarycircuits. Such voltage measurements included signal levels,special equipment, limited-energy parts of equipment, circuitspowered by regulated low-voltage sources, and electronics.

Caution Do not connect to signals or use formeasurements within Measurement Categories II, III,or IV.

Isolation Voltages

Port-to-earth groundContinuous 60 VDC, Measurement

Category I up to 5,000 m inaltitude

18 | ni.com | NI 9871 Getting Started Guide

Page 19: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Withstandup to 2,000 m inaltitude

1000 Vrms verified by a 5sdielectric withstand test

up to 5,000 m inaltitude

500 Vrms verified by a 5sdielectric withstand test

Safety and Hazardous Locations StandardsThis product is designed to meet the requirements of thefollowing electrical equipment safety standards for measurement,control, and laboratory use:• IEC 61010-1, EN 61010-1• UL 61010-1, CSA 61010-1• EN 60079-0:2012, EN 60079-15:2010• IEC 60079-0: Ed 6, IEC 60079-15; Ed 4• UL 60079-0; Ed 5, UL 60079-15; Ed 3• CSA 60079-0:2011, CSA 60079-15:2012

Note For UL and other safety certifications, refer tothe product label or the Online Product Certificationsection.

NI 9871 Getting Started Guide | © National Instruments Corporation | 19

Page 20: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Hazardous LocationsU.S. (UL) Class I, Division 2, Groups A,

B, C, D, T4; Class I, Zone 2,AEx nA IIC T4

Canada (C-UL) Class I, Division 2, Groups A,B, C, D, T4; Class I, Zone 2, ExnA IIC T4

Europe (DEMKO) Ex nA IIC T4 Gc

EnvironmentalRefer to the manual for the chassis you are using for moreinformation about meeting these specifications.

Operating temperature(IEC 60068-2-1, IEC 60068-2-2)

-40 °C to 70 °C

Storage temperature(IEC 60068-2-1, IEC 60068-2-2)

-40 °C to 85 °C

Ingress protection IP 30

20 | ni.com | NI 9871 Getting Started Guide

Page 21: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Operating humidity(IEC 60068-2-56)

10% RH to 90% RH,noncondensing

Storage humidity(IEC 60068-2-56)

5% RH to 95% RH,noncondensing

Pollution degree 2Maximum altitude 5,000 m

Indoor use only.

Shock and VibrationTo meet these specifications, you must panel mount the system.

Operating vibrationRandom (IEC60068-2-64)

5 grms, 10 Hz to 500 Hz

Sinusoidal (IEC60068-2-6)

5 g, 10 Hz to 500 Hz

Operating shock (IEC60068-2-27)

30 g, 11 ms half sine;50 g, 3 ms half sine;18 shocks at 6 orientations

NI 9871 Getting Started Guide | © National Instruments Corporation | 21

Page 22: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Electromagnetic CompatibilityThis product meets the requirements of the following EMCstandards for electrical equipment for measurement, control, andlaboratory use:• EN 61326 (IEC 61326): Class A emissions; Basic immunity• EN 55011 (CISPR 11): Group 1, Class A emissions• AS/NZS CISPR 11: Group 1, Class A emissions• FCC 47 CFR Part 15B: Class A emissions• ICES-001: Class A emissions

Note For the standards applied to assess the EMC ofthis product, refer to the Online Product Certificationsection.

Note For EMC compliance, operate this productaccording to the documentation.

22 | ni.com | NI 9871 Getting Started Guide

Page 23: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

CE Compliance This product meets the essential requirements of applicableEuropean Directives, as follows:• 2014/35/EU; Low-Voltage Directive (safety)• 2014/30/EU; Electromagnetic Compatibility Directive

(EMC)• 94/9/EC; Potentially Explosive Atmospheres (ATEX)

Online Product CertificationRefer to the product Declaration of Conformity (DoC) foradditional regulatory compliance information. To obtain productcertifications and the DoC for this product, visit ni.com/certification, search by model number or product line, and clickthe appropriate link in the Certification column.

Environmental ManagementNI is committed to designing and manufacturing products in anenvironmentally responsible manner. NI recognizes thateliminating certain hazardous substances from our products isbeneficial to the environment and to NI customers.

NI 9871 Getting Started Guide | © National Instruments Corporation | 23

Page 24: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

For additional environmental information, refer to theCommitment to the Environment web page at ni.com/environment. This page contains the environmental regulationsand directives with which NI complies, as well as otherenvironmental information not included in this document.

Waste Electrical and Electronic Equipment (WEEE)EU Customers At the end of the product life cycle, allNI products must be disposed of according to locallaws and regulations. For more information about howto recycle NI products in your region, visit ni.com/environment/weee.

电子信息产品污染控制管理办法(中国 RoHS)

5 40e NI 符合中国电子信息产品中限制使用某些有害物质指

令(RoHS)。关于 NI 中国 RoHS 合规性信息,请登录

ni.com/environment/rohs_china。(Forinformation about China RoHS compliance, go toni.com/environment/rohs_china.)

24 | ni.com | NI 9871 Getting Started Guide

Page 25: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

NI ServicesVisit ni.com/support to find support resources includingdocumentation, downloads, and troubleshooting and applicationdevelopment self-help such as tutorials and examples.

Visit ni.com/services to learn about NI service offerings such ascalibration options, repair, and replacement.

Visit ni.com/register to register your NI product. Productregistration facilitates technical support and ensures that youreceive important information updates from NI.

NI corporate headquarters is located at 11500 N Mopac Expwy,Austin, TX, 78759-3504, USA.

NI 9871 Getting Started Guide | © National Instruments Corporation | 25

Page 26: NI 9871 Getting Started Guide - NIIECEx 14.0089X certified. Each NI 9871 is marked II 3G and is suitable for use in Zone 2 hazardous locations, in ambient temperatures of -40 C ≤

Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for information on NItrademarks. Other product and company names mentioned herein are trademarks or trade namesof their respective companies. For patents covering NI products/technology, refer to theappropriate location: Help»Patents in your software, the patents.txt file on your media, or theNational Instruments Patent Notice at ni.com/patents. You can find information about end-userlicense agreements (EULAs) and third-party legal notices in the readme file for your NI product.Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NIglobal trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data. NI MAKES NO EXPRESS OR IMPLIED WARRANTIES AS TO THE ACCURACY OFTHE INFORMATION CONTAINED HEREIN AND SHALL NOT BE LIABLE FOR ANY ERRORS.U.S. Government Customers: The data contained in this manual was developed at privateexpense and is subject to the applicable limited rights and restricted data rights as set forth in FAR52.227-14, DFAR 252.227-7014, and DFAR 252.227-7015.

© 2007—2020 National Instruments Corporation. All rights reserved.

372277H-01 October 26, 2020