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

The text of a manual · part 7 of 17

RM14K Installation and Programming Manual, pages 59 to 68

Pages 59 to 68 of 164

The original document is the PDF (600 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Square D 8030 CRM-510 and Schneider 8030 CRM-510

Page 59

Parity - SY/MAX and Net-to-Net modes normally use EVEN parity and that is the default for the RM14K. Other choices are ODD and NONE. Route - The route is used to determine the path from the personal computer to the RM14K. If a direct connection is made from the personal computer to the RM14K, i.e. without going through a SY/NET network or an SPE4, this value is set to NONE by pressing the Delete key. If a SY/MAX connection is made to a SY/MAX mode port on an NIM or SPE4 the first drop will be that of the drop number of the NIM or SPE4 port. If any Net-to-Net drops are included between the port connected to the personal computer and the port connected to the RM14K, they must be included in order of occurrence from the personal computer to the RM14K. The next to last drop number listed will be that of the NIM or SPE4 SY/MAX mode port that is connected to the RM14K. The last drop will be 201, 202 or 206 depending upon which port of the RM14K the connection is being made. Up to 8 total drops are supported by the SY/MAX protocol. If the personal computer is in Net-to-Net mode the first drop will be that of the Net-to-Net port of the NIM or SPE4 that the personal computer is connected to. Subsequent drops will be included like above. The Gateway mode route will include the Gateway port on the SPE4 that the personal computer is connected and any subsequent Net-to-Net and SY/MAX drops to reach the RM14K.

SY/LINK Connection RM14KSW provides full support of the Square D SY/LINK network interface card. Setup for the network interface is provided along with setup for the RS-422 port on the card.

Figure 4-12 SY/LINK Setup Screen Connection type - The RS-422 port may be set to SY/MAX or Net-to-Net modes. For a direct connection to the AIM4 from the RS-422 port of the SY/LINK card choose the Sy/Link Direct mode. If an indirect connection from the RS-422 port of the card is made through other Net-to-Net ports choose Sy/Link Net-to-Net. If the RS-422 port is not used and the connection is make through the SY/NET network to another NIM, the choice does not matter. Base address - This is a hex value that represents the SY/LINK’s cards address range selected by DIP switches on the card. Select the same range that is set on the card. RS422 Baud rate - Select the baud rate to match the external device, normally 9600. RS422 Data bits - Select the data bits to match the external device, normally 8. RS422 Stop bits - Select the stop bits to match the external device, normally 1. RS422 Parity - Select the parity to match the external device, normally EVEN. Sy/Net speed - Select to match the speed settings of the other devices on the SY/NET.

RM14K Manual

4

Configuration Software RM14KSW 59

Page 60

Sy/Net size - Select to match the setting on the other SY/NET devices. Route - The first drop in the route defines the network address of the SY/LINK board. Since the personal computer is connected to the SY/LINK card through the edge connector of the card, port 0, the drop number must start with 0. The remaining two digits of that drop should be selected not to match any other device on the SY/NET. For instance, there are three NIMs on the network addressed 01, 02, and 03. It seems logical to make the SY/LINK card be at address 04 so the first drop in the route field will be 004. The next drop will be that of the NIM port connected to the RM14K, or another Net-to-Net port. If Sy/Link Direct was selected and the RM14K is connected directly to the RS-422 port of the SY/LINK card the full route statement would be 004, 104, 201 as the RS-422 port is considered to be port 1.

SFI-610 Connection RM14KSW provides support for the Square D SFI-610 Ethernet adapter. This adapter must be installed and configured with SFI610.EXE prior to starting RM14KSW. The SFI-610 program provides the SY/NET drop number that the Ethernet adapter has been assigned. This drop number is the first drop in the Route field. Additional drops will be required to reach the EPE5 or MEB port where the RM14K is attached. The last drop in the route will be 201 to reach a local RM14K, or 202 to reach a remote RM14K.

Terminal Emulator SETUP The Terminal Emulator setup allows an individual setup for the operation of the terminal emulator. For instance, this separate setup will allow COM1 to be used for the RM14K SY/MAX connection and COM2 to be used for a terminal emulator connection.

Figure 4-13 Terminal Emulator Setup Screen Port - Available choices are: COM1:, COM2:, COM3:, and COM4:. Select the port which will be used to connect to the external device. Baud rate - The Baud rate selected here is the baud rate of the personal computer serial port selected. This value should be set to match the device connected to the personal computer. Data bits - Selects the number of data bits for the message packet. Choices are 8 or 7 depending on the attached device. Stop bits - The stop bits are normally set to 1 but may be adjusted to 2 for some particular application. Parity - Choices are EVEN, ODD, and NONE.

60 Configuration Software RM14KSW

4

RM14K Manual

Page 61

Command Line Parameters RM14KSW may be started from the DOS command line with a sequence of letters which represent the keystrokes necessary to perform any operation. This allows batch processing of various commands such as downloading of stored setup files. The special characters /R, /D, and /E refer to the Return key, Delete key, and Escape key respectively. The parameters are not case sensitive. The following example causes the RM14K to dial the current telephone number using the Utility Connect/Hangup routine and then quits. It is assumed that the RM14K is connected to the computer and the rest of RM14KSW setup is correct. >RM14KSW UCCQQ The U selects Utility, the C selects Connect/Hangup, the next C selects Connect, the Q quits the Connect/Hangup, and finally the last Q quits the program and returns to DOS. Another way of changing the Setup is to copy the setup file to another name in DOS, then copy it back to RM14K.STP in the batch file before calling RM14KSW.

Other Included Software Table 4-1 lists the current programs distributed with the RM14K. Table 4-1

RM14K Software

File Name

Description

DIAL.EXE

Hayes AT dialing utility.

HANGUP.EXE

Hayes AT hangup utility.

NRDMODE.EXE

Advanced COM port configuration utility.

NRDTERM.EXE

Terminal emulator.

RM14KSW.EXE

SY/MAX compatible configuration software.

ZAPREG.EXE

SY/MAX register viewer.

DIAL.EXE The Dial program provides an easy to use Hayes modem dialer. This program is executed from DOS and uses the current settings for the selected COM port. (The COM port must be first configured with the MODE or NRDMODE utility.) Dial supports up to three command line parameters for the COM port, phone number, and extra Hayes AT commands. The format is as shown below: DIAL COMx: nnnnnnnnn mmmmm where x is the personal computers COM port to which the modem is connected. nnnnnnnnn is the telephone number to be dialed. mmmmmm is extra AT commands for additional modem control.

For example if a 9600 baud Hayes modem is attached to COM1, the modem is connected to a PBX system that requires a 9 for the first character to get an outside line, the number to be called is 1 (417) 555-1212 by DTMF tones, and DTR is to be ignored (&D0), and the flow control disabled (&K0), the following dial string is used: C:\RM14K> NRDMODE COM1:9600,N,8,1,N C:\RM14K> DIAL COM1: T914175551212 &D0&K0 Notice that first the personal computer’s COM port must be initialized with the NRDMODE command, then the dial command may be used. The T in the phone number field selects Tone dialing. For Pulse dialing, use the character P. Any valid dialing character may be used in this string. The additional Hayes AT commands are actually sent to the modem before the dial command is issued.

RM14K Manual

4

Configuration Software RM14KSW 61

Page 62

With the use of the command line parameters, the DIAL program may be easily used in DOS batch files for automatic dialing applications.

HANGUP.EXE The Hangup program provides an easy to use method of returning a Hayes modem from the connect state to the command state and forcing the modem to go on hook. This program is executed from DOS and uses the current settings for the selected COM port. (The COM port must be first configured with the MODE or NRDMODE utility.) Dial supports one command line parameters for the COM port The format is as shown below: HANGUP COMx: where x is the personal computers COM port to which the modem is connected. With the use of the command line parameter, the DIAL program may be easily used in DOS batch files for automatic hangup applications.

NRDMODE.EXE NRDMODE is a utility for configuring the UART for a specific COM port on a personal computer. NRDMODE allows the personal computer to be configured for baud rates and flow control that the DOS MODE command will not accept. The command line parameters are as follows: NRDMODE COMx:baud,parity,data,stop,handshake where x is the personal computer’s com port. baud is the user selected baud rate. parity is the parity, None, Even, or Odd. data is the number of data bits. stop is the number of stop bits. handshake is the setting for handshaking. X for xon/xoff, N for none.

For example to set COM2: for 14400 baud, EVEN parity, 8 data bits, 1 Stop bit and no handshaking the following string would be used: C:\RM14K> NRDMODE COM2:14400,E,8,1,N

NRDTERM.EXE NRDTERM is a terminal emulator that may operate in a monitor mode. NRDTERM by default displays the hexadecimal value non-printable ASCII characters received on the port. The hex values are displayed within <>. For example a carriage return received on the port will be displayed as <0D>, a line feed will be displayed as <0A>. NRDTERM is called from the DOS command line as follows: C:\RM14K> NRDTERM COMx: Other command line parameters are available as described below.

Debugging Terminal Emulator 19Sep94 Niobrara R&D Corporation Use NRDTERM -? for more information. Usage is NRDTERM COMn: [switches] Switches: -A

Ascii mode, don’t display control codes in hex. With ANSI.SYS loaded, -A emulates VT100. -X Set hex mode. Display all characters in hex. -M<baud>,[E|O|N],[7|8],[1|2] Set port mode. -F<file> Capture to file. F8 to close. -? Help, display this message

62 Configuration Software RM14KSW

4

RM14K Manual

Page 63

During terminal session: F7 Open capture file. F8 Close capture file. F10 Change port setup. Insert Enter and send hex sequence. ctl-End Exit program. NRDTERM does not process ANSI sequences like a normal ANSI terminal. These sequences will be simply be displayed as hex characters.

ZAPREG.EXE ZAPREG is a highly versatile SY/MAX register viewer/modifier utility. It provides a view of 20 contiguous registers, showing the data in hex, unsigned, and signed formats. Zapreg also may display the STATUS field for the registers to show if the register is a PLC input or PLC output. Zapreg is called from the command line as follows: C:\RM14K> ZAPREG COMx: route [settings] Each of the command line parameters is described below: Niobrara Sy/Max Register Editor ZAPREG 18Sep94 Type ZAPREG -? for more information. Usage is: ZAPREG COMn: [route] [switches] for COM: access. ZAPREG xxxx [route] [switches] for Sy/Link access where xxxx is base address. ZAPREG SFI [route] [switches] for SFI-610 access. Switches: -? Help, display this message. -G COM: port connected to Gateway device. -N Make connection in NET-TO-NET mode. -Rnnnn Start at register nnnn. -P Use priority reads and writes. -S Suppress status polling. -M<baud>,[E|O|N],[7|8],[1|2] Set port mode (COM). -M<speed> Set Sy/Net speed to 62.5,125,250,500 (Sy/Link) -D<drops> Set Sy/Net size to 31 or 100. Sy/Link defaults are 62.5KB, 100 drops. During session: Arrows to select register or radix. Page Up and Page Down to change register by 10. Home to go to register 1. 0..9, A..F to enter new value. Enter to update without moving. F10 to acknowledge error. Escape to exit. Mode, Baud rate, Parity, Route, etc. must be properly set for proper communication. The Up and Down arrow keys are used to move from register to register. The Page Up and Page Down keys move in increments of 10 registers. The Left and Right arrows move from column to column on the same register. This register viewer is highly useful in that it allows easy editing of the data in the register being viewed. By pressing 0..9 in the decimal fields or 0..9, or A..F in the hex field, an editing mode is entered. New data may be entered at this time. Pressing the Enter key or moving to a new field with the

RM14K Manual

4

Configuration Software RM14KSW 63

Page 64

arrow keys will cause the new data to be written to the edited register. If the curser is located in the REGISTER column the block of registers being viewed may be adjusted by entering a new register number. Pressing Esc will exit from the Register viewer and return to the main menu. Pressing Esc while editing a data field will result in canceling the edit and the modified data will not be written to the register. The STAT field displays the status register associated with the data register. The STATUS field is a read only display and can not be modified by the Register Viewer. Two common values are E000 and A000. A000 is the hex representation that the PLC recognizes as a PLC OUTPUT register. E000 is for a PLC INPUT register. This allows easy recognition of registers used by the RM14K as inputs and used by the PLC as outputs.

Figure 4-14 View Registers

Route - The route is used to determine the path from the personal computer to the RM14K. The last drop number in the route must be either 201 or 202. The drop number 201 will act on the RM14K if it arrives at the RS-422 port. The drop number 202 will act on the RM14K if it arrives at the Line port. If a direct connection is made from the personal computer to the RM14K, i.e. without going through a SY/NET network or an SPE4, this value is set to 1, 201. If a SY/MAX connection is made to a SY/MAX mode port on an NIM or SPE4 the first drop will be that of the drop number of the NIM or SPE4 port. If any Net-to-Net drops are included between the port connected to the personal computer and the port connected to the RM14K, they must be included in order of occurrence from the personal computer to the RM14K. The next to last drop number listed will be that of the NIM or SPE4 SY/MAX mode port that is connected to the RM14K. The last drop number will be either 201 or 202. Up to 8 total drops are supported by the SY/MAX protocol. If the personal computer is in Net-to-Net mode the first drop will be that of the Net-to-Net port of the NIM or SPE4 that the personal computer is connected to. Subsequent drops will be included like above. The Gateway mode route will include the Gateway port on the SPE4 that the personal computer is connected and any subsequent Net-to-Net and SY/MAX drops to reach the RM14K.

ZAPREG SY/LINK Connection ZAPREG provides full support of the Square D SY/LINK network interface card. Setup for the network interface is provided along with setup for the RS-422 port on the card. Connection type - The RS-422 port may be set to SY/MAX or Net-to-Net modes. For a direct connection to the AIM4 from the RS-422 port of the SY/LINK card choose the Sy/Link Direct mode. If an indirect connection from the RS-422 port of the card is made through other Net-to-Net ports choose

64 Configuration Software RM14KSW

4

RM14K Manual

Page 65

Sy/Link Net-to-Net. If the RS-422 port is not used and the connection is make through the SY/NET network to another NIM, the choice does not matter. Base address - This is a hex value that represents the SY/LINK’s cards address range selected by DIP switches on the card. Select the same range that is set on the card. RS422 Baud rate - Select the baud rate to match the external device, normally 9600. RS422 Data bits - Select the data bits to match the external device, normally 8. RS422 Stop bits - Select the stop bits to match the external device, normally 1. RS422 Parity - Select the parity to match the external device, normally EVEN. Sy/Net speed - Select to match the speed settings of the other devices on the SY/NET. Sy/Net size - Select to match the setting on the other SY/NET devices. Route - The first drop in the route defines the network address of the SY/LINK board. Since the personal computer is connected to the SY/LINK card through the edge connector of the card, port 0, the drop number must start with 0. The remaining two digits of that drop should be selected not to match any other device on the SY/NET. For instance, there are three NIMs on the network addressed 01, 02, and 03. It seems logical to make the SY/LINK card be at address 04 so the first drop in the route field will be 004. The next drop will be that of the NIM port connected to the RM14K, or another Net-to-Net port. If Sy/Link Direct was selected and the RM14K is connected directly to the RS-422 port of the SY/LINK card the full route statement would be 004 104 as the RS-422 port is considered to be port 1.

ZAPREG SFI-610 Connection ZAPREG provides full support of the Square D SFI-610 Ethernet network interface card. The SFI-610 must be installed and configured before ZAPREG is run. The first drop in the route must be the installed SY/NET drop number of the SFI-610.

RM14K Manual

4

Configuration Software RM14KSW 65

Page 66

This page is a scan with no text; see it in the PDF.

Page 67

5 Dial-up 11 Bit SY/MAX Examples

This chapter covers the most common SY/MAX mode configurations using standard dial-up telephone lines. Standard SY/MAX protocol involves 1 start bit, 8 data bits, an EVEN parity bit, and 1 stop bit. This adds up to 11 bits per character. Standard Hayes modems do not support the parity bit and are therefore called 10 bit modems. 10 bit operation examples are discussed in Chapter 6 starting on page 85. If a pair of RM14Ks are used to make a remote connection, the highest throughput in SY/MAX mode will be realized by selecting Parity = NONE and errorcheck = CRC for the Line connection. Unless the SY/MAX devices on each end are SPE4s, EPE5s, MEBs, ADMs, or CRM-512 NIMs, the RS-422 port must be set for Parity = EVEN and errorcheck = BCC. It is important to note that the RM14K in SY/MAX mode is a routing device. Communication packets are received at the RS-422 port, routed to the line port, transmitted to the remote line port, routed to the remote RS-422 port and finally transmitted to the attached device. It is therefore in the users best interest to make as many of these connections at higher baud rates to ensure good throughput. If the local situation allows, use 14,400 baud for the line connection and at least 9600 baud for the port. If communication degrades under electrically noisy environments, the baud rates should be lowered and the use of shielded cables may be required. The exact configuration of the RM14K depends upon the equipment that it is connected to. The following examples provide a wide range of configurations.

PC RM14K to Processor RM14K A personal computer is located in an office miles away from a remote pumping station with a Model 400 processor. On occasion the operator needs to connect with the processor to monitor the operation and perhaps make adjustments in the program of the Model 400. A RM14K has been installed in the register rack at the remote location. It is connected to the Model 400 with a DC1 cable. Another RM14K has been installed in a NRK1 single slot rack/power supply near the personal computer. The personal computer is connected to the RM14K with an SC902 Smart Cable with the external power supply attached. A standard dial-up telephone line is connected to the PSTN RJ11 port of each RM14K. See Figure 5-1. The phone number of the remote RM14K is (417)555-5678. This number is loaded into the local RM14K registers R[10] through R[15] in packed ASCII as shown in Table 5-1. Notice that since the number is long distance, an additional 1 has been added to the beginning of the phone number. The

RM14K Manual

5 Dial-up 11 Bit SY/MAX Examples 67

Page 68

active phone number pointer register R[5] is set to the decimal value 10 (000A in hex) to indicate that the phone number to dial starts at register R[10]. The modems are configured as shown in Tables 5-1 and 5-2. Notice that the local Port baud rate is set for 19200 and the remote Port baud rate is 9600. This allows connection to the PLC without modifying the PLC’s configuration, while providing a high throughput. Remote RM14K

Personal Computer

RM14K

Local RM14K Public Switched Telephone Network

Model 400

RM14K

POWER

POWER

Off Hook Carrier

Off Hook Carrier

Ring Ans Enbl

Ring Ans Enbl

SY/MAX 400

Phone # (316)555-1234

SC902 with external power supply connected to COM1:.

Phone # (417)555-5678

CC-100 or DC1 Cable

Figure 5-1 RM14K to RM14K Dial-up Example As indicated in the tables, both modems are set for Auto-Answer, SY/MAX mode, PSTN operation, parity set for EVEN, and checksum set for BCC. The only difference is the stored telephone numbers and the baud rates of the RS-422 ports. The Remote modem usually will not need a preprogrammed telephone number unless it is required to perform outbound dialing. Normally the Remote modem is simply set for Auto-Answer.

68 Dial-up 11 Bit SY/MAX Examples

5

RM14K Manual