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

The text of a manual · part 4 of 17

RM14K Installation and Programming Manual, pages 29 to 38

Pages 29 to 38 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 29

yet gone OFF HOOK. As soon as the modem goes OFF HOOK, or the phone stops ringing, this bit is cleared.

Baud Rate The baud rates of the RS-422 port and the audio line are set in registers R[4] and R[5]. The value placed in these registers determines the baud rate. Each of these ports has a limited range of valid baud rates as displayed in Tables 3-3 and 3-4. (The Modem port is really BPS) Table 3-3

RS-422 Port Baud Rate Table

Register Register Value Value (hex) (decimal)

Baud Rate

5

5

300

6

6

600

7

7

1200

8

8

1800

9

9

2400

A

10

3600

B

11

4800

C

12

7200

D

13

9600

E

14

14400

F

15

19200

Table 3-4

Notes

Not allowed in Hayes mode.

Not allowed in Hayes mode.

Not allowed in Hayes mode.

Not allowed in Hayes mode.

PSTN and LL Port Baud Rates

Register Register Value Value (hex) (decimal)

Baud Rate

Modem Port Modulation

PSTN SY/MAX mode only.

0

0

Automatic

5

5

300

Bell 103 FSK

7

7

1200

V.22 DPSK

9

9

2400

V.22 bis QAM

B

11

4800

V.32 QAM

C

12

7200

V.32 bis TCM (16pt)

D

13

9600

V.32 TCM (32 pt)

E

14

14400

V.32 bis TCM (128 pt)

While in Multidrop mode, the line and data ports may only be set for the values in Table 3-5.

RM14K Manual

3

Operation 29

Page 30

Table 3-5

Multidrop LL Port Baud Rates

Register Register Value Value (hex) (decimal)

Baud Rate

Modem Port Modulation

7

7

1200

V.26 bis DPSK

9

9

2400

V.27 ter DPSK

B

11

4800

V.29 QAM (4 point)

C

12

7200

V.29 QAM (8 pt)

D

13

9600

V.29 QAM (16 pt)

E

14

14400

V.17 bis TCM (128 pt)

Powering up in an illegal baud rate will cause the modem to program itself for defaults. In Transparent mode, the line baud rate is controlled by the port baud rate register which is a PLC output. If a Hayes compatible AT command is received, the port and line baud rates are set to match the command, the line baud rate register is loaded with the new rate and becomes a PLC input. Switching to SY/MAX mode will return the line baud rate register to a PLC output and set the line baud rate to the line baud rate register again on the next connect. Switching to the Hayes mode will change the port register to a PLC output but the setting will stay the same until an "AT" is received. The line baud rate setting (including the port rate register in Transparent mode) takes effect when the modem initiates a connect, either in originate or answer mode. Line rate register changes made when the modem is connected don’t take effect until the modem is disconnected and attempts to connect again. One of the implications of this is that the line rate of a remote modem may be altered and then you can hang up and call back at the new baud rate. In SY/MAX mode, the port baud rate may be changed at any time. In Transparent mode, the Port rate register may be changed by an "AT" command but only when the modem is not connected.

Phone Number Storage Internal storage of telephone numbers is accomplished through the use of a pointer variable located in R[5]. This value corresponds to the starting register of the phone number. The value in R[5] must fall within the valid range of usable registers in the module: 10 through 2048. The telephone number is stored in packed ASCII format of two characters per register. Only the ASCII characters 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, *, #, A, B, C, D, W, [, ], T, P, R, !, ;, and the comma are valid. Any other character will act as the end of the telephone number and it is suggested that the last character of the number be followed by a 00 hex. These values are listed in Table 3-6. The *, #, A, B, C, and D characters generate these DTMF signals. (Most telephones have the * and # keys but not the A, B, C, and D keys.) The "W" character causes the RM14K to suspend dialing until it hears the Password tone from the answering RM14K. The "[" and "]" characters are used to enclose a decimal number to indicate the next phone number to dial in an automatic call progression scheme. The "T" character selects Tone dialing while the "P" character selects Pulse dialing. (Default is "T" tone dialing.) The "R" character has the modem connect in answer (Reverse) mode. The ! character provides a 500mS hook flash. The semi-colon commands the modem to remain in command state after dialing. The "," comma character provides a pause of two seconds (Default value as set in register 8008. See Table 3-13 on page 36.).

30 Operation

3

RM14K Manual

Page 31

Table 3-6

Dialing String Characters

Character

Description

T

Dial subsequent digits DTMF.

P

Dial subsequent digits pulse.

,

Pause for R[8008] (default 2) seconds.

0..9

Pulse or Tone digits to dial.

#,*,A,B,C,D

Tone only digits to dial.

R

Connect in answer (Reverse) mode.

;

Remain in command state after dialing

!

500mS hook flash.

W

Wait for Password tone. Time in seconds stored in R[8013]. Default = 30 seconds.

[x]

Phone Number Pointer. x refers to the RM14K register for the next number to dial if the current number does not result in Carrier.

For example, a long distance number requiring the area code is stored starting at R[25], (417) 555-6789, and it is required to use pulse dialing. The registers to be set would include those in Table 3-7. To dial the number the decimal value 25 would be loaded into R[5] and then Bit 1 of R[1] would be set. Table 3-7

Phone Number Storage Example

Register

Value (hex)

Value (decimal)

Value (ASCII)

25

5031

20529

P1

26

3431

13361

41

27

3735

14133

75

28

3535

13621

55

29

3132

12594

12

30

3334

13108

34

31

0000

0

Another example would be a local number of 555-0198 stored in the RM14K’s register R[232]. The decimal value 232 would be loaded into R[5] and then the dial command would be issued. Table 3-8

Phone Number Storage Example 2

Register

Value (hex)

Value (decimal)

Value (ASCII)

232

3535

13621

55

233

3530

13616

50

234

3139

12601

19

235

3800

14336

8

Phone numbers stored in registers R[10] through R[64] are non-volatile if written from the front panel and not the backplane. If these registers are written from the PLC backplane they may be cleared upon power up. For absolute non-volatile storage of numbers, use registers R[65] through R[2048]. The modem will default to the dialing type (pulse or tone) specified in the last dial command. The default condition upon power up is tone dialing.

RM14K Manual

3

Operation 31

Page 32

If the phone number pointer (register 5) is zero, then any connect command (switch, dial input, register 1 bit 1) will cause the modem to go off hook in originate mode but not dial anything. If a phone number is stored in registers less than 65, remember that the PLC can overwrite these registers via the rack interface. The RM14K is able to continually attempt to connect to a phone number, or sequence of phone numbers with the use of the [x] characters in the dial string. The number x inside the brackets is an integer that points to the next phone number block to be dialed if the current dialing string does not result in Carrier. The number [x] may point to another phone number block, or it may point to itself. For example, suppose an alarm relay actuates the Dial input of the RM14K. R[5] in the RM14K points to R[10] where the telephone number 5551212[20] is stored in registers R[10]...R[15]. The RM14K dials 5551212 and tries to get carrier. If the line is busy, or does not answer, then the RM14K times out and goes on-hook for one second. The RM14K then goes off-hook and attempts to dial the number that starts in R[20]. The number in R[20] could in-turn point to another phone number...etc.

Error Register R[6] Register R[6] is a PLC Input that provides error status of the module. This register has one bit for each error condition. When no errors are reported, this register displays the value 0. One or more bits are set on an error. Table 3-9 provides a list of the individual bits. Table 3-9

Error Register Bit List

Bit

Error Description

1

Illegal line baud rate setting.

2

Illegal line parity setting.

3

Multidrop and PSTN mode selected together.

4

SY/MAX and Multidrop selected together.

5

Port baud does not match line baud in Transparent mode.

6

Illegal port baud setting.

7

Illegal port parity setting.

8

Illegal digit in dial string.

9

Reserved.

10

Reserved.

11

Reserved.

12

Reserved.

13

Reserved.

14

Reserved.

15

Reserved.

16

Reserved.

Rack Addressing In order for the PLC to monitor and control the operation of the RM14K from the backplane, the RM14K must be properly rack addressed. Only Registers 1 through 64 may be rack addressed. Registers above R[64] may only be accessed from the modem port or data port. When rack addressing the module, it is important to realize that R[1] in the RM14K will correspond to the first register assigned to the modem’s rack slot. For example: An RM14K is located in slot 5 of an RRK-200 register rack. The PLC has been programmed to assign 15 PLC registers to that slot numbered R[1355] through R[1380]. These registers will correspond to R[1] through R[25] in the RM14K. See Table 3-10.

32 Operation

3

RM14K Manual

Page 33

Notice that for the Processor to set the pointer to the phone number via the backplane, it needs to write to R[1359]. If an external source were to read this value from the modem’s port, it would read R[5]. As in the above example, the user does not have to rack address all of the 64 available registers. Registers 16 through 64 are still available for mailbox use from the modem ports, just like R[65] through R[2048]. In some cases, it may not be necessary to rack address the modem at all thus limiting the available methods for controlling the modem to the front panel switches, and through serial communication commands.

I/O Direction Registers 10 through 64 default to PLC outputs (Status Register = A000 hex). These registers remain PLC outputs until they are written to by an external device via the RS-422 port or the Line port. At this point, the register changes to a PLC input (Status Register = E000 hex) and the PLC may no longer write data to this register. Register 1 is always a PLC output. Register 2 is always a PLC input. Register 3 and 4 are usually PLC outputs, but this may change during Transparent operation. Registers 5 and 7 default to output, but may be changed to input with an external write. (Like R[10] through R[64]) Registers 6 and 8 are always PLC inputs. Register 9 is reserved for future use. Table 3-10 Rack Addressing Example PLC Register

RM14K Register

Function

1355

1

Command Bits

1356

2

Status Bits

1357

3

Port Baud Rate

1358

4

Line Baud Rate

1359

5

Pointer to Phone #

1360

6

Error Register

1361

7

Password

1362

8

Last Password Received

1363

9

Reserved

1364

10

General Purpose

1365

11

General Purpose

1366

12

General Purpose

1367

13

General Purpose

1368

14

General Purpose

1369

15

General Purpose

Configuration in SY/MAX Mode The RM14K in SY/MAX mode may be configured from an external source capable of generating SY/MAX protocol network READs and WRITEs. This type of equipment includes: Processors, DLOG modules, UCM modules, personal computers, SPE4 and EPE5 modules, and other computers. To modify the configuration simply write to the appropriate register within the module. The most convenient method of configuration is using the RM14KSW software on an IBM compatible personal computer. To access the RM14K in SY/MAX mode the use of special route numbers is required.

RM14K Manual

3

Operation 33

Page 34

Drop 201 If the last drop in the route of a SY/MAX packet arriving at an RM14K’s RS-422 port is 201, the modem will operate on that packet. All other routes will be passed out the line port and ignored by the modem.

Drop 202 If the last drop in the route of a SY/MAX packet arriving at an RM14K’s line port is 202, the modem will operate on that packet. All other routes will be passed out the RS-422 port and ignored by the modem.

Drop 206 If the last drop in the route of a SY/MAX packet arriving at an RM14K is 206, the modem will look at the next to last drop number and decrement that number if it is greater than 1. If the next to last drop number is one, then the modem will operate on that packet. This technique allows downstream RM14Ks to be reached through multiple RM14K hops. To reach the fifth RM14K in the network, simply route to the RM14K with the normal route and have the next to last drop be 5 and the last drop number be 206.

Configuration in Transparent Mode In SY/MAX mode, the modem differentiates between commands and data by the route field. Routes terminating in drop 20, 202, or 206 are processed by the modem as commands, all other routes are considered data and passed through. In Hayes mode, the modem differentiates between commands and data by assuming two states, data and command. In data state, it is a transparent modem and any bytes received on the serial port are transmitted to the line. In command state, the modem accepts a string of single letter commands. The command string must begin with the attention code "AT". When not connected, the modem is always in command state and uses the "AT" character pair to determine the baud rate of the host device and set itself to the same baud setting. The modem can be switched from command state to data state by dialing (unless the dial string includes the ; character), answering either manually with the ATA command or automatically, or with the ATO command from the connected state only. The modem is switched from the data state to the command state by loss of carrier or, when connected, by an escape sequence of three of the characters specified by S2. For the escape sequence to be recognized, it must be preceded by a guard time during which nothing is received on the serial port. The guard time is a minimum of S12 * 20mS. The maximum elapsed time between the first and third escape characters is also S12 * 20mS. In the connected command state (reached from connected state by the escape sequence), the automatic baud rate detection is not operative and the commands must be issued at the rate established when the connection was made.

AT Commands (PSTN mode only) The incoming AT characters should be of the same case for proper automatic baud rate and parity determination. As described above, the RM14K in Transparent Mode may be configured by the use of ASCII Hayes AT commands through the RS-422 port. The RM14K must be in Command mode (Not Connect mode) to accept Hayes AT commands. The modem is in the Command mode when it is on hook. If the modem is off hook and has carrier then it is in the Connect mode and all incoming characters are transmitted out the modem port. To change from Connect to Command mode the following procedure is used: 1

Create a one second delay after any characters previously transmitted.

2

Send the modem +++

3

Create another one second delay before any subsequent characters are transmitted.

The modem will then be ready to accept AT commands.

34 Operation

3

RM14K Manual

Page 35

The RM14K will accept the AT commands listed in Table 3-11. Table 3-11 Hayes Command List AT Command

Description

Notes

A

Answer

ATDT14175551234

Cn

Squelch

Transmit carrier squelch if n = 0.

D...

Dial

En

Echo

Command state echo. Echo if n <> 0.

Hn

Hookswitch

Valid only in PSTN mode. Off Hook if n <> 0.

H

Hangup

Valid only in PSTN mode.

Ln

Volume

L0 = low (Ln valid in PSTN mode only.) L1 = medium L2 = loud (Default).

Mn

Speaker Control

M0 = Speaker always OFF. (Mn valid in PSTN mode only.) M1 = Speaker only on through dial and handshake. (Default) M2 = Speaker always ON. M3 = Speaker only on through handskake.

O

Return to Connect

Returns to online after +++ or dialing with ;

Qn

Quiet

Result message quiet mode. Quiet if n <> 0.

R

Reverse

Connect in answer (Reverse) mode.

Sn?

Read ’S’ register

Sn=m

Write ’S’ register

Vn

Vervbose

Numeric codes if n = 0.

W

Wait

Wait for Password Tone before proceeding.

Xn

Result codes

Ignored. Modem is always X0.

Z

Reset to Factory

Resets modem to factory defaults.

A/

Repeat last command

Not supported at this time.

AX

SY/MAX

Switches back to SY/MAX mode.

Dialing String Characters The dial string (including the stored packed ASCII strings) may include the following characters listed in Table 3-12. Table 3-12 Dialing String Characters Character

RM14K Manual

Description

T

Dial subsequent digits DTMF.

P

Dial subsequent digits pulse.

,

Pause for S8 (default 2) seconds.

0..9

Pulse or Tone digits to dial.

#,*,A,B,C,D

Tone only digits to dial.

R

Connect in answer (Reverse) mode.

W

Wait for the Password Tone.

;

Remain in command state after dialing

!

500mS hook flash.

3

Operation 35

Page 36

S Registers In addition to the AT commands, the RM14K also supports several S registers. These registers are also located in the internal SY/MAX registers 8000...8012. Table 3-13 lists the available S registers. Table 3-13 "S" Register List "S" Register

SY/MAX Register

Description

Default Value (decimal)

0

8000

Number of rings to answer on. Auto Answer can be enabled from the front panel or SY/MAX command register even if this register is zero.

3

1

8001

Ring detect counter. Works even if Auto Answer is disabled.

0

2

8002

Escape code character.

43

3

8003

Carriage Return character.

13

4

8004

Line feed character.

10

5

8005

Backspace character.

8

6

8006

Wait for dial tone. To comply with FCC rules, the modem won’t wait less than 2 seconds regardless.

2

7

8007

Time in seconds to wait (after dialing or answering) for carrier.

30

8

8008

Duration in seconds for comma pause in dial string.

2

9

8009

Carrier Detect response time. (1/10 second unit)

6

10

8010

Delay between loss of carrier and hang up. (1/10 S)

14

11

8011

DTMF burst length in mS.

95

12

8012

Escape code guard time in 20mS units.

50

13

8013

Maximum duration in seconds for "W" command in dial string.

30

14

8014

Time in seconds to wait for proper password after sending password tone.

10

In the RM14K, unlike common Hayes type modems, all S register settings and modes (ATV, ATQ, ATE) are non-volatile. For this reason, there is no AT&W command to "write setup to nonvolatile memory". The ATZ command resets the modem to factory defaults just like the CLEAR push-button on the PC board except that the ATZ leaves the modem in Hayes mode and the CLEAR button puts it in SY/MAX mode.

Front Panel Control Inputs The RM14K has a number of alternate control inputs available from the front panel for manual control. These include three double throw, spring loaded center off, toggle switches and a voltage sensing input. These switches may be disabled by setting Options bit 4 of register 2054.

Hayes Switch The top toggle switch controls the mode of the modem to be in either Transparent (Hayes) or SY/MAX mode. When the switch is toggled toward the Hayes label, the modem will enter Transparent mode. The Status register R[2] will SET bit 4 to indicate that Transparent mode has been selected.

36 Operation

3

RM14K Manual

Page 37

SY/MAX Switch The top toggle switch controls the mode of the modem to be in either Transparent (Hayes) or SY/MAX mode. When the switch is toggled toward the SY/MAX label, the modem will enter SY/MAX mode. The Status register R[2] will CLEAR bit 4 to indicate that SY/MAX mode has been selected.

Orig Switch The middle switch controls the Auto Answer feature of the RM14K. When the switch is toggled towards the Orig label, Auto Answer is disabled. The Modem will not answer when the line rings. The Ans Enbl light will be turned off and bit 5 of the Status register R[2] will be SET. The Orig Switch is also used in Leased Line Point-to-Point modes. One of the two modems must be set for Originate and one must be set for Auto-Answer.

Ansr Switch The middle switch controls the Auto Answer feature of the RM14K. When the switch is toggled towards the Ansr label, Auto Answer is enabled. The Modem will now answer when the line rings. The Ans Enbl light will be turned ON and bit 5 of the Status register R[2] will be CLEARED. The Ansr Switch is also used in Leased Line Point-to-Point modes. One of the two modems must be set for Originate and one must be set for Auto-Answer.

Cnct Switch The bottom switch controls the OFF HOOK status of the modem. When this switch is toggled to the Cnct label the modem will go OFF HOOK. The Off Hook light will come on and the internal relay will disable the connection between the PSTN and PHONE connectors. Bit 1 of the Status register R[2] will be SET. If a non-zero value is present in the Phone number Pointer register R[5], the modem will attempt to dial the number and make connection. The Cnct switch may also be used in conjunction with the Orig switch and a telephone connected to the PHONE RJ11 for manually dialing and connecting to a remote modem. For this operation, perform the following: 1

To disable the automatic dialing feature, set R[5] = 0.

2

Toggle the Orig switch to the left to disable Ansr Enbl.

3

Lift the handset of the telephone and check for dial tone.

4

Dial the remote number on the telephone keyboard.

5

When the remote modem answer and squeals, press the Cnct switch. The Off Hook light will come on, the relay will disconnect the PSTN from the PHONE making the telephone go dead, and the two modems will negotiate for carrier.

6

The telephone handset may now be returned to the cradle.

7

Once the Carrier light is on, the modems are ready for use.

Hangp Switch The bottom switch controls the OFF HOOK status of the modem. When this switch is toggled to the Hangp label the modem will go ON HOOK. The Off Hook light will go out and the internal relay will enable the connection between the PSTN and PHONE connectors. Bit 1 of the Status register R[2] will be CLEARED.

DIAL Input The DIAL input provides a method of allowing a voltage input to control the Off Hook status of the modem. When a voltage is present at the DIAL input, the modem will go OFF HOOK, the Off Hook light will be turned on, the PHONE port will be disconnected from the PSTN port, bit 15 of R[2] will be SET, and if a valid non-zero pointer is present in R[5] the modem will attempt to dial that number.

RM14K Manual

3

Operation 37

Page 38

When the voltage input is removed from the DIAL input, the modem will hang up. Bit 15 of R[2] will be CLEARED, the Off Hook light will go out, the PHONE port will be connected to the PSTN port. If the [x] dialing continuation feature is used in the dial string, the RM14K will continue to dial the remote sights until Carrier is obtained or a phone number without a continuation field is dialed; regardless of the state of the Dial input. The continuation number [x] should be added at the beginning of the dialing string. The DIAL input is also used for the Watch Dog feature. When bit 7 of R[1] is SET, the Watch Dog feature is enabled. The Watch Dog feature expects a the DIAL input to change states at least once every 30 seconds. If the DIAL input fails to toggle within the time interval, the modem will automatically dial the preprogrammed number and attempt to make connection. The DIAL input may be configured to latch on a momentary event by setting bit 3 of the Options register 2054 in the RM14K. When this bit is set, the RM14K will not disconnect if the dial input goes low.

Push-to-Talk Relay Output The PTT output is a normally open contact that closes when RTS is enabled or when bit 6 of R[1] is set.

PSTN Operation For normal operation over Dial-up telephone lines, the Public Switched Telephone Network (PSTN) connection is used.

PSTN Connector The incoming telephone line is connected to the PSTN connector with a standard RJ11 cable. The RM14K only uses the middle pair of the RJ11 connector. See Table 3-14 and Figure 3-1.

Warning: Never connect any port of the RM14K to a digital PBX system. The PSTN line must only be connected to analog line. If a standard telephone may be used at the location, then the RM14K may also be used. Also, the RM14K must not be connected to a party line. Warning: Never connect the PSTN connector to an active line when two wire Leased line mode is selected. The line will be Off Hook at all times in this mode. Table 3-14 PSTN Port Pinout Pin

Function

1

No Connection.

2

Line Connection

3

Line Connection

4

No Connection

PSTN

Pin 1 Pin 2 Pin 3 Pin 4

Figure 3-1 PSTN Connector

PHONE Connector When the modem is on hook, the PHONE connector is connected to the PSTN connector via a relay. This allows a standard telephone connected to the PHONE connector to be used for dialing and voice operation. See Table 3-15 and Figure 3-2 for connection descriptions.

Warning: Never connect the PSTN connector to an active line when two wire Leased line mode is selected. The line will be Off Hook at all times in this mode.

38 Operation

3

RM14K Manual