The text of a manual · part 3 of 17
RM14K Installation and Programming Manual, pages 19 to 28
Pages 19 to 28 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 19
Connect your personal computer to the RM14K. It is assumed here that this connection will be made from COM1: of the personal computer using an SC902 Smart Cable. The external power supply must be used to power the SC902.
RM14K
RM14K POWER Off Hook Carrier Ring Ans Enbl
SC902 Cable with external transformer
Figure 2-1 RM14K initialization
Start RM14KSW.EXE to communicate with the RM14K in SY/MAX mode. C:\RM14K> RM14KSW The screen should appear as in Figure 2-2.
Figure 2-2 RM14KSW Main Menu In order to communicate with the RM14K, the personal computer must be configured to match the communication parameters of the RM14K. This is accomplished using the SY/MAX Setup screen within RM14KSW.
RM14K Manual
1
From the Main menu, press "S" for Setup.
2
From the Setup menu, press "S" for Sy/Max setup. A window should open as in Figure .
3
At this point, set the parameters according to the local requirements. For a direct connection with an SC902 cable and COM1: the following parameters are suggested:
2
Installation 19
Page 20
4 a.
Connection type
Sy/Max COM:
b.
Port c.
Baud Rate
9600 d.
Data Bits
8 e.
Stop Bits
1 f.
Parity
EVEN g.
Error Check
BCC h.
Route
1,201
COM1:
After Entering the Route, a confirmation window will appear to prompt the user to save the setup to disk. Select "Y" for Yes.
Figure 2-3 Sy/Max Setup Window The personal computer is now ready to communicate with the RM14K. Press "N" for oNline and the TX and RX lights on the RM14K should start flashing. The screen on the personal computer should look something like Figure 2-4. The arrow keys are used to move the cursor around. Parameters may be changed by toggling values with the space bar, - and + keys, or by direct entry of numeric fields. Use caution while changing fields that relate to the RS-422 Port; communication may be interrupted if values such as baud rate, parity, or checksum are changed while online.
20 Installation
2
RM14K Manual
Page 21
Figure 2-4 RM14KSW oNline
LINE Connection to RM14K It is suggested that the Operation chapter of this manual be read before actual connection to the telephone line is made.
Dial-up Connection For a simple dial-up connection, use the included RJ11 cable to connect the PSTN socket on the RM14K to a standard telephone outlet. (Figure 2-5) If desired, a standard telephone may be connected to the PHONE RJ11 connector on the RM14K. The telephone may be used for voice applications or for manually dialing modem connections. The telephone will be connected to the LINE whenever the RM14K is on hook. While oNline, choose PSTN as the connection type, SY/MAX as the operating mode and have the Line settings of both modems match. The RM14K should now be ready to dial a remote sight for connection. Use a route of 1,201 to access the Local RM14K, a route of 1,202 to access the Remote RM14K and NONE route to access the Model 400.
Optional Phone
Local RM14K
RM14K
Remote Model 400 RM14K
Public Switched Telephone Network
RM14K
POWER Off Hook Carrier Ring Ans Enbl
SC902 Cable with external transformer
POWER
SY/MAX 400
Off Hook Carrier Ring Ans Enbl
CC-100 or DC1 Cable
Figure 2-5 PSTN Connection Example
RM14K Manual
2
Installation 21
Page 22
Four Wire Connection For Four Wire Leased Line Point-to-Point applications, connect the LL TX pair from one modem to the LL RX pair on the other RM14K (Figure 2-6). For an office simulation, simply use the included RJ11 cables to make these connections. Make sure to set one RM14K for Originate, and the other RM14K for Auto-Answer. While oNline, choose Four Wire Leased Line as the connection type, SY/MAX as the operating mode and have the Line settings of both modems match. The modes should quickly obtain carrier. Use a route of 1,201 to access the Local RM14K, a route of 1,202 to access the Remote RM14K and NONE route to access the Model 400. Local RM14K
Remote RM14K Model 400
RM14K RM14K POWER POWER
Off Hook Carrier
SY/MAX 400
Off Hook Carrier
Ring Ans Enbl
Ring Ans Enbl
RJ11 Cables
CC-100 or DC1 Cable
SC902 Cable with external transformer
Figure 2-6 Four Wire Point-to-Point Example
Two-Wire Connection Two Wire Leased Line connections are made by simply connecting the LL TX pairs together. (Figure 2-7) For Point-to-Point connections, select one RM14K as Originate, and the Other RM14K as AutoAnswer. While oNline, choose Two-Wire Leased Line as the connection type, SY/MAX as the operating mode and have the Line settings of both modems match. The Off Hook light should come on and the modems should quickly obtain carrier. Use a route of 1,201 to access the Local RM14K, a route of 1,202 to access the Remote RM14K and NONE route to access the Model 400. Local RM14K
Remote Model 400 RM14K
RM14K RM14K POWER POWER
Off Hook Carrier
SY/MAX 400
Off Hook Carrier
Ring Ans Enbl
Ring Ans Enbl
RJ11 Cable
SC902 Cable with external transformer
CC-100 or DC1 Cable
Figure 2-7 Two-Wire Point-to-Point Example
22 Installation
2
RM14K Manual
Page 23
3 Operation
Memory Configuration The operation of the RM14K is determined by the configuration in memory and by the change of state of various inputs to that memory. These inputs include the toggle switches on the front panel, the dial input contact on the front panel, register rack data from the PLC, incoming SY/MAX messages from the RS-422 port, incoming SY/MAX messages on the modem port, or incoming Hayes messages on the RS-422 port. The RM14K’s internal user-accessible memory is represented as SY/MAX processor equivalent registers. All configuration parameters are stored and displayed in these registers. A list of available registers is shown in Table 3-1. Table 3-1
RM14K Manual
RM14K Register List
Register
Function
Non-volatile
Rack Addressable
Valid Data Values (decimal)
1
Command Bits
Yes
Yes (PLC Output)
See Table 3-2
2
Status Bits
Determined on power-up.
Yes (PLC Input)
See Table 3-2
3
Port Baud Rate
Yes
Yes (Either)
See Table 3-3
4
Line Baud Rate
Yes
Yes (Either)
See Table 3-3
5
Phone Number Pointer
Either
Yes (Either)
10...2048
6
Error Register
Determined on power-up
Yes (PLC Input)
See Table 3-9
7
Password
Yes
Yes (PLC Output)
8
Last Password Received
Yes
Yes (PLC Input)
9
Reserved
Reserved
Yes (Reserved)
10..64
General Purpose
Either
Yes (Either)
Any
65..2048
General Purpose
Yes
No
Any
2049..2079
Special Function
Yes
No
See Table
2080..2176
Statistics Registers
No
No
See Table
8000..80012
Hayes "S" Registers
Yes
No
Any
8175..8188
Module ID
Yes
No
Any
3 Operation 23
Page 24
Command and Status Bits Registers R[1] and R[2] provide control and status for various features of the RM14K. Table 3-2 provides a summary of the meanings of each of these bits. The Command Register R[1] is a PLC Output register; if properly rack addressed, the PLC may write data to this register. By setting or clearing bits in this register the parameters listed in Table 3-2 may be altered. The Status Register R[2] is a PLC Input register; the PLC may only read the data and not write over it. Note: The Command register bits respond to being changed rather than to the current state. The may be changed from three sources, the rack, the data port, and the modem line port. A problem may arise of more than one of these sources is manipulating these bits. For example, say the PLC has the connect bit reset through the rack and someone initiates a connect by setting this bit through the port ( or pressing the front panel switch or asserting the dial input). The PLC cannot cause a hang-up because its copy of the bit is already 0. For the PLC to command a hang-up, it must first set the connect bit (which has no effect because the modem is already connected) and then clear it. The ladder program could continuously set the command bits to reflect the Status register and then it would be ready to change them. Probably, in actual practice, anyone who connects with the dial input will use it to hang-up, too. This discussion applies to ALL command and configuration bits in the Command register. The other configuration registers operate in the same way as the usual NR&D mailbox configuration where a port write changes the register to a PLC input. For further information on rack addressing, see page 32. Note: The Status register always displays the current settings for the modem.
Bit 1 (Dial, DCD) Command - Connect (dial) or hang-up. (PSTN mode) (0) When this bit is cleared, the modem will go on hook and immediately disconnect. (1) When this bit is set, the modem will go off hook. If a value is stored in R[5] that points to a valid telephone number block, the modem will automatically dial that number.
Status - Data Carrier Detect (DCD). (All modes) (0) DCD Inactive. The modem has not yet, or is unable to connect and achieve carrier with the other modem. (1) DCD Active. This means that the modem has successfully connected to another modem and the system is ready to transfer data.
Bit 2 (RTS, CTS) Command - This bit allows the PLC to control the initiation of Carrier from the backplane. This bit would probably only be used if the user is writing their own multidrop system in Ladder code. This bit is normally left OFF. (0) Carrier Disabled. When this bit is cleared, the RS-422 port will drop RTS. (1) Carrier Enabled. This bit provides another source for enabling RTS on the RS-422 port thus allowing a radio to establish carrier. When this bit is set, the modem will assert RTS on the RS-422 port.
Status - State of the Clear to Send (CTS) on the RS-422 Port. (0) CTS inactive. (1) CTS active.
24 Operation
3
RM14K Manual
Page 25
Table 3-2
Command and Status Bit List
Bit Number
Command Register R[1] (PLC Output)
Status Register R[2] (PLC Input)
1
0 = Hang-up 1 = Connect (Dial)
0 = DCD Inactive 1 = DCD Active
2
0 = Carrier Enabled 1 = Carrier Disabled
0 = CTS Enabled 1 = CTS Disabled
3
0 = Point to Point 1 = Multidrop Mode
0 = Point to Point 1 = Multidrop Mode
4
0 = SY/MAX Mode 1 = Transparent Mode (Hayes)
0 = SY/MAX Mode 1 = Transparent Mode (Hayes)
5
0 = AA Enabled 1 = AA Disabled
0 = AA Enabled 1 = AA Disabled
6
0 = PTT Relay Disabled 1 = PTT Relay Enabled
0 = PTT Relay Disabled 1 = PTT Relay Enabled
7
0 = Watch Dog OFF 1 = Watch Dog ON
0 = DIAL INPUT OFF 1 = DIAL INPUT ON
8
0 = Port Parity EVEN 1 = Port Parity NONE
0 = Port Parity EVEN 1 = Port Parity NONE
9
0 = Port Parity EVEN 1 = Port Parity ODD
0 = Port Parity EVEN 1 = Port Parity ODD
10
0 = Line Parity EVEN 1 = Line Parity NONE
0 = Line Parity EVEN 1 = Line Parity NONE
11
0 = Line Parity EVEN 1 = Line Parity ODD
0 = Line Parity EVEN 1 = Line Parity ODD
12
0 = Port BCC 1 = Port CRC
0 = Port BCC 1 = Port CRC
13
0 = Line BCC 1 = Line CRC
0 = Line BCC 1 = Line CRC
14
0 = PSTN Mode 1 = Leased Line Mode
0 = PSTN Mode 1 = Leased Line Mode
15
0 = Four Wire Leased Line 1 = Two Wire Leased Line
0 = Four Wire Leased Line or PSTN ON Hook 1 = Two Wire Leased Line or PSTN OFF Hook
16
0 = Not Used. Do not modify 1 = Not Used. Do not modify
0 = Ring Indicator 1 = Ring Indicator
Bit 3 (P-T-P, Multidrop) Command - Point to Point or Multidrop operation (0) Point-to-Point Mode. This mode is selected for all PSTN connections and for LL connections with only two modems. (1) Multidrop Mode selected. SY/MAX operation is not allowed in Multidrop mode. If the Multidrop bit is set and the SY/MAX bit (BIT 4) is clear, Multidrop is ignored. If the modem is powered up in both SY/MAX and Multidrop, it will change all setup information to default values. Multidrop operation is not allowed in PSTN mode. If the modem is in PSTN mode and the multidrop bit is set, multidrop will be ignored. If the modem is in multidrop mode (leased line) and the PSTN mode is selected, multidrop mode is canceled.
Status - Point to Point or Multidrop operating mode. (0) Point-to-Point Mode.
RM14K Manual
3
Operation 25
Page 26
(1) Multidrop Mode.
Bit 4 (SY/MAX, Transparent) Command - SY/MAX or Transparent (Hayes) operating mode. (0) SY/MAX Mode. (1) Transparent (Hayes) mode.
Status - SY/MAX or Transparent (Hayes) mode. (0) SY/MAX Mode. In SY/MAX mode, the RM14K will accept SY/MAX packets on one port and route them to the other port. Baud rate, parity, and checksum conversions may be applied at this time. The RM14K will ignore all routes except for the special drops 201, 202 and 206. If the last drop arriving on the RS-422 port in the incoming command is 201, the RM14K will perform the command locally. If the last drop in the route is 202 and the packet arrives on the Line port, the RM14K will perform that command locally. If the last drop in the route is 206 and the next to the last drop number matches the total number of SY/MAX mode RM14Ks that have been routed through, then the message will be operated on locally. (1) Transparent (Hayes) mode. The Transparent mode includes a limited Hayes interpreter for accepting Hayes AT commands. The Hayes interpreter automatically determines the incoming baud rate and parity from the AT characters. The Line port automatically adjusts to the settings of the RS-422 port in Transparent mode.
Bit 5 (Auto Answer) Command - Auto Answer Enable. (0) Auto Answer Enabled. When Auto Answer is enabled in PSTN mode, the modem will go off hook after the number of rings is met attempt to establish carrier. In Leased Line modes, this setting selects the Answer mode. (1) Originate Mode Enabled. When this bit is set in PSTN mode, Auto Answer is disabled. The modem will not answer a ringing PSTN line. In Leased Line modes, if connected to another modem in Answer mode, the Originating modem will start the carrier detect sequence.
Status - Auto Answer Enable. (0) Auto Answer Enabled. (1) Originate Mode Enabled.
Bit 6 (Push to Talk) Command - Push-to-Talk Relay. (0) Push to Talk Relay Disabled. (1) Push to Talk Relay Energized.
Status - Push-to-Talk Relay. (0) Push to Talk Relay Disabled. (1) Push to Talk Relay Energized.
Bit 7 (Watch Dog, Dial Input) Command - Watch Dog function. (0) Watch Dog function Disabled. (1) Watch Dog function Enabled. When this bit is set the Watch Dog feature expects the Dial voltage input to be toggled at least once every 30 seconds. If the Dial input does not
26 Operation
3
RM14K Manual
Page 27
change states within this time the modem will automatically dial the phone number referenced in R[5]. If the connection is made and carrier is detected, the watchdog will ignore the dial input. If connection is not made, the modem will retry every 3 minutes.
Status - Dial Input Status. (0) The DIAL INPUT is OFF. (1) The DIAL INPUT is ON.
Bits 8 and 9 (Port Parity) Command - (RS-422) Port Parity setting. (0),(0) Parity set for EVEN. (0),(1) Parity Set for ODD. (1),(0) Parity Set for NONE (1),(1) Not valid. Defaults to EVEN and bit 7 of the error register R[6] is set.
Status - (RS-422) Port Parity setting. (0),(0) Parity set for EVEN. (0),(1) Parity Set for ODD. (1),(0) Parity Set for NONE (1),(1) Not valid. Defaults to EVEN and bit 7 of the error register R[6] is set.
Bit 10 and 11 (Line Parity) Command - (Audio) Line Parity setting. (0),(0) Parity set for EVEN. (0),(1) Parity Set for ODD. (1),(0) Parity Set for NONE (1),(1) Not valid. Defaults to EVEN and bit 2 of the error register R[6] is set.
Status - (Audio) Line Parity setting. (0),(0) Parity set for EVEN. (0),(1) Parity Set for ODD. (1),(0) Parity Set for NONE (1),(1) Not valid. Defaults to EVEN and bit 2 of the error register R[6] is set.
Bit 12 (Port Checksum) Command - (RS-422) Port Checksum setting. (0) BCC checksum. The BCC checksum is the default checksum and is required when connecting to any standard SY/MAX device such as a Square D processor, CRM-510 NIM, SY/LINK board, and the Niobrara AIM4, CAM500, or UCM. (1) CRC checksum. The CRC checksum is a special setting used most often in 10 bit applications where there is no parity setting. SY/MAX devices that support the CRC checksum include the Square D CRM-512 NIM, and SY/MATE PLUS version 2.0, and the Niobrara SPE4 and EPE5 modules as well as most Niobrara PC software products.
Status - (RS-422) Port Checksum setting. (0) BCC checksum. (1) CRC checksum.
RM14K Manual
3
Operation 27
Page 28
Bit 13 (Line Checksum) Command - (Audio) Line Checksum setting. (0) BCC checksum. The BCC checksum is the default checksum and is required when connecting to any standard SY/MAX device. (1) CRC checksum. The CRC checksum is a special setting used most often in 10 bit applications where there is no parity setting.
Status - (Audio) Line Checksum setting. (0) BCC checksum. The BCC checksum is the default checksum and is required when connecting to any standard SY/MAX device. (1) CRC checksum. The CRC checksum is a special setting used most often in 10 bit applications where there is no parity setting.
Bit 14 (Dial-up, Leased Line) Command - Dial-up or Leased line modes. (0) PSTN connection. When this bit is cleared standard dial up operation is selected. This mode may be used for SY/MAX or Transparent modes in Point-to-Point operation only. Multidrop operation on PSTN is not permitted. (1) Leased Line connection. When set, this bit selects Leased Line operation. This mode is used for two or four wire lines in point-to-point or multidrop configurations. Multidrop operation is only valid while in Transparent mode. This setting is also used for radio applications.
Status - Dial-up or Leased line modes. (0) PSTN connection. When this bit is cleared standard dial up operation is selected. This mode may be used for SY/MAX or Transparent modes in Point-to-Point operation only. Multidrop operation on PSTN is not permitted. (1) Leased Line connection. When set, this bit selects Leased Line operation. This mode is used for two or four wire lines in point-to-point or multidrop configurations. Multidrop operation is only valid while in Transparent mode. This setting is also used for radio applications.
Bit 15 (Leased Line 2 or 4 Wire, PSTN Off Hook) Command - Leased line connection type. (0) Four Wire connection. (1) Two Wire connection.
Status - Leased line connection type or PSTN Off-Hook. (0) Four Wire connection in Leased Line, or ON HOOK in PSTN. (1) Two Wire connection in Leased Line, or OFF HOOK in PSTN.
Bit 16 (Ring Indicator) Command - Not Used. (0) Not Used. Do not modify. (1) Not Used. Do not modify.
Status - Ring Indicator. (0) PSTN line is not ringing. (1) PSTN line is ringing. This bit is set while the PSTN line is ringing and the modem has not
28 Operation
3
RM14K Manual