background image

 

2. Setup 

 

 

 

COM-4PDHN-USB 

11

 

Setting of Terminator 

The terminator setting switch controls whether or not a terminator is inserted into each signal line. Set the 

terminators on or off in accordance with the devices with which you are communicating. The terminators 

on the product 

are 100Ω resistors. 

Setting Procedure 

If you wish to use a terminator of other than 100Ω, set the bit 1 and 2 of corresponded channels OFF, and 
insert an external terminator. The diagrams below show examples of terminator installation for half and 

full duplex setting. 

Table 2.2. Setting of Terminator 

 

- Half-duplex 

 

Figure 2.2. Party line connection 

SW1 - 4

1 2 3 4 5 6

TERM

MODE

RxD

TxD

ON

Setting

method

Not inserted

[Term OFF]

Figure 2.2 B to C

(Other than both

terminators of the line)

[A or D]

Terminator

(Bit 9)

Terminator

(Bit 9)

(A)

(D)

(C)

(B)

[B or C]

SW2

SW2

SW2

1

2 3

4 5

6

O N

TERM

MODE

1

2 3

4

5 6

O N

TERM

MODE

1

2 3

4 5

6

O N

TERM

MODE

RxD

TxD

RxD

TxD

RxD

TxD

Inserted

Not inserted

Not inserted

SW1 - 4

SW1 - 4

SW1 - 4

Содержание N Series

Страница 1: ...PC HELPER N Series for USB RS 422A 485 4ch Isolated Serial I O Unit COM 4PDHN USB User s Guide CONTEC CO LTD ...

Страница 2: ...ommunication 4 AC cable 1 8m 1 USB cable 1 8m 1 USB cable attachment on the main product s side For Mini B connector side 1 AC adapter 1 Disk 1 COM Setup Disk 1 First step guide 1 Warranty Certificate 1 Serial Number Label 1 1 The bundled disk contains the driver software and User s Guide this guide Warranty Certificate Serial Number Label Product Disk COM Setup Disk First step guide USB cable 1 8...

Страница 3: ...hange without notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using this product ...

Страница 4: ...n 4 Handling Precautions 4 Environment 6 Inspection 6 Storage 6 Disposal 6 2 SETUP 7 What is Setup 7 Installing the driver 7 Step 1 Installing the Software 8 Step 2 Installing the Hardware 9 Name of each parts 9 Component Functions 10 Setting Transmission Mode 10 Setting of Terminator 11 How to supply power to the product 13 Connecting the Product 14 Setting with the Found New Hardware Wizard 16 S...

Страница 5: ...on Conditions 26 Connection Method 28 Interface Connector 28 Connector Pin Assignment 28 Types of Cable and Example Connections 29 4 FUNCTION 31 Communication Function 31 Serial Data Transmission 31 Send and Receive Data Buffers 31 Automatic RTS Control Functions 31 Setting the Baud Rate 32 5 ABOUT SOFTWARE 33 About standard COM driver software 33 About Sample programs 33 Uninstalling the Driver L...

Страница 6: ...oducts to be used under Windows in the same way as COM ports on the PC Under Windows the product supports the OS standard Win32 API communication function as well as Visual Basic MSComm Each channel is equipped with separate 128 byte 384 byte FIFO buffers for transmit and receive These are FIFO format useful for high speed communications and to reduce the load to the CPU when transmitting receivin...

Страница 7: ...teFile WriteFile ReadFile and SetCommState etc The serial ports are also compatible with the Visual Basic communication control MSComm Supports the communication class of NET Framework SerialPort class For more details on the supported OS applicable language and new information please visit the CONTEC s Web site Accessories Option AC adaptor Input 90 264VAC output 12VDC 1 0A POA201 10 2 DIN rail m...

Страница 8: ...ht prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original products The warranty is not applicable if the device has been tampered with or damaged through abuse mistreatment neglect or un...

Страница 9: ...f the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not close the ventilation hole s of this product by for example placing an object This may cause overheating malfunction and or failure of the product Do not touch the external connector when the power is on Otherwise this may malfunction overheat cause a failure due to static electricity Make sure that y...

Страница 10: ...al device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation ...

Страница 11: ...oduct are not closed and also no dust or foreign matter is adhered to them Storage When storing this product keep it in its original packing form 1 Put this product in the storage bag 2 Wrap it in the packing material and then put it in the box 3 Store the package at room temperature at a place free from direct sunlight moisture shock vibration magnetism and static electricity Disposal When dispos...

Страница 12: ... software and hardware Installing the driver This section enables you to prepare the software and hardware by following each step in this chapter with the bundled disk COM Setup Disk You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Initializing the Software Step 4 Operation Check ...

Страница 13: ... Step 1 Installing the Software Install software Run USB COM 4CN USB Setup exe from the bundled disk 1 The screens below show the installation Click next 2 Accept the license agreement then click Next 3 The setup is completed ...

Страница 14: ...lation If you are using more than one product be sure to complete the first installation then install the next one Name of each parts Figure 2 1 Name of each parts USB cable attachment For PC Interface connector USB Type A LED indicator COM 4PDHN USB USB I OTerminal Isolated R S 422A 485 4ch I O Unit V V Interface connector CH1 CH2 CH3 CH4 USB2 0 mini B type 12 24VDC SW1 SW2 SW3 SW4 ...

Страница 15: ...e connected Only with one of them connected the lights will not be on Setting Transmission Mode The data transfer mode setting switch is used to switch between full duplex and half duplex and to specify whether to use RTS CTS in full duplex mode Set the appropriate data transfer mode for the device with which you are communicating Bits 3 5 corresponded to each channel are used to set the data tran...

Страница 16: ...corresponded channels OFF and insert an external terminator The diagrams below show examples of terminator installation for half and full duplex setting Table 2 2 Setting of Terminator Half duplex Figure 2 2 Party line connection SW1 4 1 2 3 4 5 6 TERM MODE RxD TxD ON Setting method Not inserted Term OFF Figure 2 2 B to C Other than both terminators of the line A or D Terminator Bit 9 Terminator B...

Страница 17: ...ting switch Each channel shares the same switch and the bits to be set are vary Figure 2 4 Setting Switch Circuits RxD TxD Terminator Bit 9 Terminator Bit 7 Terminator Bit 7 Terminator Bit 9 TxD RxD SW2 SW2 1 2 3 4 5 6 O N TERM MODE 1 2 3 4 5 6 O N TERM MODE RxD TxD RxD TxD Inserted Not inserted SW1 4 SW1 4 TxD TxD RxD RxD RTS DCD DTR DSR RI CTS SIN SOUT Terminator 1 2W 100Ω 2 1 Terminator 3 4 5 6...

Страница 18: ...irmly using a screw then insert it to the terminals Figure 2 5 Connecting the AC Adapter POA201 10 2 First connect 12 24VDC power supply to the product Next connect the USB cable to the PC Do not power on or off when using the product When removing first remove the USB cable and then disconnect 12 24VDC power supply When the USB module is not used leave the AC adapter unplugged Continuously using ...

Страница 19: ...onnected the lights will not be on Figure 2 6 Power on the product 2 Connect the product to USB port of the PC The product can also be connected through USB hub Figure 2 7 Connecting the PC It may cause a trouble in recognizing and operating the device according to the kind of USB hub It is newly recognized as another COM port number when replacing the universal serial bus port and putting on the ...

Страница 20: ...akes the cable hard to disconnect Figure 2 8 Connecting the Product The USB cable attachment cannot be used excluding an attached cable When the USB cable attachment is being used do not perform removing and connecting the USB cable on the product side repeatedly This may damage the USB cable attachment or yourself CAUTION ...

Страница 21: ...installations on different Windows operating systems are included on the bundled disk so refer to the files in the following folder Usb COM4CXUSB InstDoc 1 The Found New Hardware Wizard will be started Select No not this time and then click the Next button 2 When the model name of hardware is displayed select Install the software automatically Recommended and then click on the Next button The devi...

Страница 22: ...f you wish to change a port number open the properties page for the port and click the Advanced button under Port Settings 4 Use the COM Port Number combo box to modify the COM port number 5 Clicking the Advanced button opens the Advanced Settings for COMn window Use the COM Port Number combo box to select the COM port number You have now finished installing the initial setting of Software The nam...

Страница 23: ...od If a cross cable is not available you can test communication using a single COM port by means of loopback arranged by setting the switch on the connection cable box See the figure below for the switch settings Switch setting 1 2 3 4 5 6 TERM MODE RxD TxD ON 1 2 3 4 5 6 TERM MODE RxD TxD ON SW1 4 SW1 4 SW setting for using a cross cable SW setting for using loopback communications without a cros...

Страница 24: ...s used Run Utility CommChk amd64 CommChk exe from the bundled disk Communication Settings COM Setup Specify the number of the COM port you wish to test If connecting two COM ports via a cross cable specify the respective COM ports in Device1 and Device2 When performing loopback communications on a single COM port set the same port number in both Device 1 and Device 2 Communication Settings Specify...

Страница 25: ...t button to start the test using the specified conditions View test result The test result is displayed in the Message window A successful completion message appears if the test completed OK If Setup fails to be performed normally Contact your retailer ...

Страница 26: ...Rail How to mount 1 Pull down the fixed hooks with a slotted screwdriver to unlock Figure 3 1 Mounting on a DIN Rail 1 3 2 Hook the product on the upper part of the DIN rail and press it to the lower part of to the DIN rail Figure 3 1 Mounting on a DIN Rail 2 3 3 Push the fixed hooks up with a slotted screwdriver to lock Figure 3 1 Mounting on a DIN Rail 3 3 ...

Страница 27: ...d screwdriver to unlock Figure 3 2 Removing the product from the DIN rail 1 3 2 With the hooks unlocked pull the lower part of this product toward you Figure 3 2 Removing the product from the DIN rail 2 3 3 By lifting the product you can easily remove it from the DIN rail Figure 3 2 Removing the product from the DIN rail 3 3 ...

Страница 28: ...desktop mount it on a horizontal platform The rubber feet can be mounted in their mounting holes as shown in the following figure Figure 3 3 Mounting the rubber feet Wall Installation Appropriate screws fit into φ3 5 hole are required to install the product on the wall The commercial screws can be purchased individually Figure 3 4 Wall Installation Screw ...

Страница 29: ...hile mounted on the steel surface the surface paint may be scratched When using the magnet stack connection is not possible Mounting removing the magnet To mount the magnet press down the entire length of the magnet into its mounting hole while pushing the magnet in the direction of arrow 1 Next slide the magnet in the direction of arrow 2 to fix it in position Figure 3 5 Mounting the magnet To re...

Страница 30: ...ing with external devices COM 4PDHN USB 25 Steel wall installation Mount the product directly on the steel wall Pull it gently after mounting to confirm that it will not drop off from the wall Figure 3 7 Steel wall installation ...

Страница 31: ... in usage such as inadequate heat dissipation DIN rail fixation Vertical installation Horizontal installation Installation on a ceiling Figure 3 8 DIN rail fixation Screws magnet fixation Vertical installation Horizontal installation Installation on a ceiling Figure 3 9 Screws magnet fixation When using the product in a high temperature environment cool it by blowing air even when the temperature ...

Страница 32: ...urrounding objects Secure a distance of at least 50mm between the top of the main product single use and any surrounding objects Do not locate the product in a fully enclosed housing Figure 3 10 Spacing between the product and any surrounding objects 50mm or more 50mm or more 50mm or more 50mm or more 50mm or more ...

Страница 33: ... make your own cable and connect it to the external device using the provided 5 pin RS422A 485 connector Pin Assignment Figure 3 12 Interface connector Table 3 1 Interface connector pin assignment Signal name Meaning TxD Transmission data TxD Transmission data RxD Reception data RxD Reception data SG Signal ground CH4 CH3 CH2 CH1 Connector used MC 1 5 5 G 3 5 equivalent PHOENIX CONTACT Applicable ...

Страница 34: ...rface works based on a differential signal whereby the signal is carried by the potential difference between two lines and Using twisted pair cable is recommended to improve resistance to noise Figure 3 13 Example Connection Oneself loop to RTS and CTS in Full Duplex Figure 3 14 Example Connection in Half Duplex External device RxD TxD TxD RxD SG RxD TxD TxD RxD SG External device TxD TxD SG TxD T...

Страница 35: ...3 Installation and connecting with external devices 30 COM 4PDHN USB ...

Страница 36: ...IFO buffers and help reduce the load on the CPU for high speed communications or system operation Automatic RTS Control Functions This function applies to half duplex mode communications As half duplex means that the same line is used for sending and receiving the RTS and CTS signals are used to switch between sending and receiving Normally RTS is set by writing to the corresponding register bit b...

Страница 37: ...48000000 Desired baud rate Division register setting value Ex 48000000 9600bps 5000 As the result is an integer a setup error does not occur 48000000 115200bps 416 66 As the result contains a fractional part a setup error occurs Refer to the following baud rate setting examples Table 4 1 Baud Rate Generator Programming Table Output baud rate bps Setup error 300 600 1200 1800 0 0025 2000 2400 3600 ...

Страница 38: ...Under Windows the serial ports can be accessed using the standard Win32 API communication routines CreateFile WriteFile ReadFile and SetCommState etc The serial ports are also compatible with the Visual Basic communication control MSComm Supports the communication class of NET Framework SerialPort class Refer to the USB Readmej txt files on the bundled disk for details About Sample programs The sa...

Страница 39: ...alling the Driver Libraries Uninstalling the Driver Libraries Uninstall the driver from My computer Control Panel Program and Features Select Windows Deriver Package CONTEC CO LTD xrusbser Ports and Windows Driver Package CONTEC USB to delete ...

Страница 40: ...ween channel 500VAC Between bus 1000VAC Current consumption Max 12VDC 375mA 24VDC 190mA Operating temperature 6 20 60 C 7 10 90 RH No condensation Connecting distance 1200m Typ 3 4 Dimension mm 188 0 W x 78 0 D x 30 5 H No protrusions Weight 220g Not including the USB cable attachment Connector Power connector MC 1 5 3 G 3 5 PHOENIX CONTACT equivalent RS 422A 485 communication connector MC 1 5 5 G...

Страница 41: ... value 100Ω and cable diameter Terminator Resistor Ω Cable Diameter Maximum Communication Distance m 100 AWG28 400 AWG26 700 AWG24 1100 AWG22 1200 Maximum communication distances of the terminator resistor value 120Ω and cable diameter Terminator Resistor Ω Cable Diameter Maximum Communication Distance m 120 AWG28 500 AWG26 800 AWG24 1200 AWG22 1200 5 This depends on the PC environment used OS and...

Страница 42: ...ancy 1 5 years at the ambient temperature 40 C When 100VAC is input and 1 0A is output 4 years at the ambient temperature 40 C When 100VAC is input and 0 5A is output 1 Allowable time of short interruption 20ms Max When 100VAC is input and 0 55A is output 2 Floating dust particles Not to be excessive Corrosive gases None Voltage corresponding to the attached AC cable 125VAC 7A 1 The current consum...

Страница 43: ...s Figure 6 1 Physical dimensions Figure 6 2 AC adapter POA201 10 2 Physical dimensions mm 30 5 20 4 COM 4PDHN USB USB I O Terminal IsolatedR S 422A 485 4chI O Unit V V 188 78 66 4 170 154 55 4 φ 3 5 12V GND N C mm 1830 47 5 1 27 3 1 75 1 1500 100 200 30 ...

Страница 44: ......

Страница 45: ...as listed due to some parts change COM 4PDHN USB User s Guide CONTEC CO LTD September 2018 Edition 3 9 31 Himesato Nishiyodogawa ku Osaka 555 0025 Japan https www contec com No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO LTD 09282018 11302017 Management No NA05918 09282018_rev3 Parts No LYVL223 ...

Отзывы: