background image

Page 14

IronHorse GSDA-CM-8 User Manual –  1st Ed. Rev. A – 10/15/19

RS-232 and RS-422/485 Connections to the RJ45 Modular Jack

The GSDA-CM-8 RS-232 and RS-422/RS-485 port uses a standard 8-pin RJ45 modular connector. A 

standard 4- or 6-pin RJ11 or RJ12 modular connector may also be used as an alternative when making 

RS-422/485 connections. When using RJ11 or RJ12 cable you are only connecting to the middle 4 or 6 

pins of the RJ45 Modular Jack. A 4-pin modular connector uses the middle 4 pins, numbers 3 through 

6 and the 6-pin modular connector uses the middle 6 pins, numbers 2 through 7. The use of an 8-pin 

RJ45 modular connector will be required when making connections for RS-232. 
There is currently NO standard wiring format for a RJ45 Modular connector when used in RS-232 

or RS-422/485 applications.  We have chosen to allow the use of a standard 4-, 6-, or 8-pin modular 

connector in our wiring scheme.  The RJ45 Modular Jacks pinout for the GSDA-CM-8 is as follows:

 

RJ45 Jack

Front

8 7 6 5 4 3 2 1

 

RJ45 Pin

Signal Description

1

RS232 Rx (Receive data)

2

No Connect

3

TxD+, RxD+ (+transmit/receive data line)

4

TxD-, RxD- (-transmit/receive data line)

5

Frequency generator out (Do not use for 

RS232 communications)

6

Circuit Common, Signal Ground

7

Analog Input (0 to 5 VDC)

8

RS232 Tx (Transmit data)

There are minor differences between RS-232 and RS-422/485. RS-232 is a point-to-point interface 

standard which is intended to allow two—and only two—devices to be attached to one another. 

RS-422 and RS-485 are multi-point interface standards supporting one master and as many as 32 

devices on the same lines or bus.  Another key difference is that RS-422 and RS-485 are considerably 

more tolerant to noisy environments.  It is typically not recommended that RS-232 be run more than 

50 feet.  Specialty converters can be purchased to allow an RS-232 device to interface with one or 

more units on a shared multi-point bus.  Once the desired interface standard has been selected, 

jumper JP1 should be positioned accordingly.  Failing to do so will not damage the drive, but will 

result in a lack of communication. 
When connecting a device with an RS-422 or RS-485 port to an GSDA-CM-8 unit, connect the 

multi-point bus in half-duplex mode.  In this mode the T and are connected to the 

unit’s RJ45 pin 3.  The Transmit- and Receive- are connected to the unit’s RJ45 pin 4.  It may also be 

necessary to connect the unit’s Signal Ground, RJ45 pin 6, to the remote device’s Signal Ground.  In 

this configuration, the RJ45 pins 1 and 8 should remain disconnected.
When connecting a computer with an RS-232 port to an GSDA-CM-8 unit, not all of the available wires 

have to be used.  If a port with a DB-9 (9 pins) connector is used, then make the following connections: 

• 

DB9 pin 2 to RJ45 pin 8

• 

DB9 pin 3 to RJ45 pin 1

• 

DB9 pin 5 to RJ45 pin 6.  

If a port with a DB-25 (25 pins) connector is used, then make the following connections: 

• 

DB25 pin 2 to RJ45 pin 1

• 

DB25 pin 3 to RJ45 pin 8

• 

DB25 pin 7 to RJ45 pin 6

In this configuration, the RJ45 pins 3 and 4 should remain disconnected.  

Communications Troubleshooting

If communications with a computer aren’t working, there are a few things to check.  First, make sure 

the terminal program is communicating with the correct port (ie: COM1, COM2, etc.).  This can be 

difficult because the port numbers are not labeled on the back of most machines.  Use the following 

outline when troubleshooting new connections:

1) 

Set the terminal program to 9600 baud, 8 data bits, no parity, 1 stop bit, and half duplex.

2) 

Set the terminal program to the selected serial port: COM1, COM2, etc. (guess if unknown)

3) 

If necessary, unplug the cable from the selected serial port on the back of the computer.

Summary of Contents for GSDA-CM-8

Page 1: ...Page 1 IronHorse GSDA CM 8 User Manual 1st Ed Rev A 10 15 19 GSDA CM 8 ASCII Communications Module User Manual User Manual Number GSDA CM 8...

Page 2: ...rformance such as in the operation of nuclear facilities aircraft navigation or communication systems air traffic control direct life support machines or weapons systems in which the failure of the pr...

Page 3: ...Using the Analog Input 7 User Assignable Output 12 Communications and Networking 13 Commonly Used Software 13 Hardware Jumper Selection 13 RS 232 and RS 422 485 Connections to the RJ45 Modular Jack 14...

Page 4: ...d to work with you in answering your questions If you cannot find the solution to your particular application or if for any reason you need additional technical assistance please call Technical Suppor...

Page 5: ...per and software parameter setup Baud rate is configurable from 300 to 57600 In addition the GSDA CM 8 can output a square wave frequency from 4 pulses per minute to 9999 ppm An analog input is also a...

Page 6: ...stored configuration Up button to store factory defaults Down button to ignore card If the Up button is pushed the factory settings will be installed and the card will be initialized If the Down butto...

Page 7: ...odular connector and can be used with a variety of signals The signal from the analog input source can be used to provide control or feedback information to the GSD8 drive This application note will c...

Page 8: ...36 13 85 0 5 0 0 5 0 20 40 13 33 0 5 0 0 5 0 5 W 4 to 20mA Current Source Input A 4 to 20 mA current source type is tracked by the GSD8 drive at a 50 millisecond sample rate in the same way as the vo...

Page 9: ...nimum value is obtained with a current of 4mA or less Maximum Value Maximum Value refers to the highest scaled value produced by the GSDA CM 8 A to D converter when the analog source signal is at the...

Page 10: ...change that can be processed by the A D converter Mathematically the example looks like this Analog input signal 2 5V 0 00488V A D converter minimum voltage per count 512 counts digital equivalent 0...

Page 11: ...of 20VDC can result in permanent damage to the GSDA CM 8 For proper operation the useful signal range is zero to 5VDC 0 to 5VDC Voltage Source Input Wiring Connect B to Analog Input Pin 7 of RJ45 Mod...

Page 12: ...rm Logic section for a circuit description Otherwise you can use Ladder Logic symbology Using the Frequency Generator Output Parameter 5030 1 2 or 3 The GSDA CM 8 has a frequency generator output that...

Page 13: ...llows the computer to communicate with a selected com port You will need to configure the software to allow it to communicate with the GSDA CM 8 Serial Card These products ship with their serial commu...

Page 14: ...t RS 232 be run more than 50 feet Specialty converters can be purchased to allow an RS 232 device to interface with one or more units on a shared multi point bus Once the desired interface standard ha...

Page 15: ...omplete and functional otherwise it will be necessary to double check the wiring and repeat some of the above tests NOTE Many of the commercially available modular connectors cables you buy off the sh...

Page 16: ...age format is shown below command address command stuff CR Format Description command A two letter UPPERCASE command There is NO comma between the command and the address address A number 01 thru 99 r...

Page 17: ...sponse if unsuccessful N CR NOTE The Set Target Speed commands are not stored in non volatile memory consequently upon power up in Auto Mode they will revert to zero When powered up in Manual Mode the...

Page 18: ...Engineering Units as defined by the drive Format TS address CR Example Read the GSDA CM 8 addressed as 02 for the actual speed of the pickup in Engineering Units TS02 CR Response if successful value C...

Page 19: ...e Flags Table 1 Below BCD n a 9 Drive Condition Flags See Flags Table 2 Below BCD n a General Setup Parameters 10 Operating Mode 1 Rate Mode 2 Time Mode 3 Follower Mode 1 11 Display Intensity Display...

Page 20: ...Low Spd Mode Off 2 Gain Tracking Off Low Spd Mode On 3 Gain Tracking On Low Spd Mode On 1 23 Accel Setting 1 9999 Display units 2500 9999 24 Decel Setting 1 9999 Display units 2500 9999 26 Proportiona...

Page 21: ...cel Eng Units 0 43 Disable U1 in Manual Mode 0 Disabled 1 Enabled Eng Units 0 Alarm Output 1 Setup Parameters 50 Alarm Activation Condition 0 Always Off 1 Always On 2 Active Upper Limit 3 Active Lower...

Page 22: ...ee Flags Table 2 Below BCD 0 67 Alarm1 Logical AND Activation Conditions See Flags Table 2 Below BCD 0 Alarm Output 2 Setup Parameters 70 Alarm2 Logical OR Activation Conditions See Flags Table 1 Belo...

Page 23: ...0 99 Restore From User Default Memory Restore Swap Environment Drive All ModularBus Card Settings from User Save Storage Area 0 Abort Exit 1 Restore User Default Settings 5 Copy Restore current Settin...

Page 24: ...003 Hardware Version 1 9999 N A 1004 2004 Device Type 100 Type 1 Card 100 1005 2005 Minimum Supported Framework Version 1 9999 N A 1006 2006 Maximum Supported Protocol Version 1 9999 N A 1007 2007 Ser...

Page 25: ...9999 n a 5008 Serial Number Minor 0 9999 n a Serial Communications Setup Parameters 5020 GSDA CM 8 Network Address 1 99 1 5021 GSDA CM 8 Baud Rate 1 300 2 1200 3 2400 4 4800 5 9600 6 19200 7 38400 8 5...

Page 26: ...version that is compatible with this card 6 Reserved Reserved 7 Serial Number Major These Items are reserved for future use as an electronic serial number and are unique to each manufactured unit 8 S...

Page 27: ...of the GSD8 drive Mode 3 RESERVED Mode 4 Frequency Generator Rate This will control the frequency output of the frequency generator Note When using this mode Item 30 of the serial communications board...

Page 28: ...ntation to ensure correct functioning This example section shows network comms using GSDA with ASCII Baudrate in drive is 9 6Kbps 8 1 N by default NOP 2 This rung loads the Initial values for NodeAddr...

Page 29: ...nd String or Text N 0D 8 Counter of Yes reply Increasing values for the counter means the command was accepted StrmOutSuccess C0 StrmInSuccess C5 CompareYesReply C7 UP RST Up Counter CNT Counter Struc...

Page 30: ...cation Always verify the product documentation to ensure correct functioning This example section shows network comms using GSDA with ASCII Baudrate in drive is 9 6Kbps 8 1 N by default NOP This rung...

Page 31: ...tion Code 1 1 Variable Length Max Num of Chars CPU 485 Serial Port Comparing the reply message with Y and N SendCom mand1 C omplete ReceiveC ommand 1 Success Enable COMPARE STRINGS 1 Number of Charact...

Page 32: ...9 2 9 3 10 11 12 13 14 15 Reset of bits involved If there is no increment in any of the counters the string command is not correctly formed ReceiveC ommand 1 Success SendCommand RST SendCommand1 Compl...

Page 33: ...Page 33 IronHorse GSDA CM 8 User Manual 1st Ed Rev A 10 15 19 Literature Number LT181 Drawing Number A 5 4166B...

Reviews: