The text of a manual · part 8 of 17
RM14K Installation and Programming Manual, pages 69 to 78
Pages 69 to 78 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 69
Table 5-1
Local RM14K Configuration Register List
Register Number
Value (hex)
Value (decimal)
Description
R[1]
0
0
Command Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[2]
0
0
Status Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[3]
F
15
Port Baud Rate = 19200
R[4]
E
14
Line Baud Rate = 14400
R[5]
A
10
Phone Number Pointer
R[6]
0
0
Error Register
R[7]
0
0
Password
R[8]
0
0
Password Received
R[9]
0
0
Reserved
R[10]
3134
12596
Phone Digits = 14
R[11]
3137
12663
Phone Digits = 17
R[12]
3535
13621
Phone Digits = 55
R[13]
3535
13621
Phone Digits = 55
R[14]
3637
13879
Phone Digits = 67
R[15]
3800
14336
Phone Digits = 8
Table 5-2
Remote RM14K Configuration Register List
Register Number
Value (hex)
Value (decimal)
Description
R[1]
0
0
Command Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[2]
0
0
Status Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[3]
D
13
Port Baud Rate = 9600
R[4]
E
14
Line Baud Rate = 14400
R[5]
0
0
Phone Number Pointer
R[6]
0
0
Error Register
Dialing from the Cnct Switch By toggling the Cnct switch on the local RM14K, the modem will automatically dial the preprogrammed number and connect with the remote RM14K. The following sequence of events will occur when the Cnct switch is toggled.
RM14K Manual
1
The local modem Cnct switch is toggled to Cnct.
2
The local modem Off Hook light will come on.
3
The local modem will dial the number stored starting in register R[7].
4
The remote modem Ring light will come on when the telephone network rings that number.
5
The remote modem will go Off Hook and the Off Hook light will come on.
6
Both modems will negotiate for Carrier and upon completion, each will turn on the Carrier light and set bit 1 in the Status register. The modem is ready for use.
5
Dial-up 11 Bit SY/MAX Examples 69
Page 70
Dialing with a Telephone If a standard analog telephone is connected to the PHONE connector, it may be used for manually dialing the remote modem’s telephone number. This procedure may be performed by following these steps: 1
Make sure that R[5] = 0. (This will prevent the modem from dialing when the Cnct switch is toggled later.)
2
With the RM14K in an on hook condition (Off Hook light off), lift the handset on the telephone. There should be a dial tone.
3
Dial the number of the remote modem with the telephone’s keypad.
4
When the remote modem answers and begins to squeal, toggle the Cnct switch towards the left. The Off Hook light will come on, the telephone handset will go dead and may be returned to the cradle, and the modems will negotiate for carrier.
5
When carrier is achieved, the Carrier light will come on and set bit 1 of the status register. The modem is ready for use.
Dialing from the PC For more convenient operation, it is possible to have the modem dialed without toggling the Cnct switch. This may be accomplished using a SY/MAX register viewer such as NR&D programs ZAPREG.EXE, the Utility View Register feature of AIM4SW, SPE4SW, EPE5SW, CAM500SW, UCMSW, or RM14KSW, the Data Screen of Square D’s SY/MATE PLUS software, or the dialing features of RM14KSW. In every case it is important to select the proper route from the personal computer to the modem. With a direct connection from the COM port of the personal computer to the RM14K, the routing setup is easy; simply set the first drop number to any number between 0 and 199, and the last drop number to 201. A minimum of two drop numbers is required in a SY/MAX route. The maximum number of drops allowed is eight. Notice: The local modem will respond only to SY/MAX messages with the last drop number of 201. Any other incoming route on the RS-422 port will be ignored by the modem. In this example, the route 10, 201 might be chosen. Once communication is established between the personal computer and the RM14K, it is a simple matter of setting bit 1 of the Command register R[1] to cause the modem to dial. This is most easily accomplished using the Connect/Hangup Utility in RM14KSW. The status register R[2] may be monitored to indicate when carrier is detected. Once carrier is established, simply change the route to NONE, and the modem pairs will pass the SY/MAX packets through to the processor.
Online Operation The modem connection is now ready for use. Start the programming software on the personal computer. Since the connection to the local modem is made at 19200 baud, the normal SY/MAX settings of 9600,E,8,1 must be modified for 19200 baud operation. The remote modem’s RS-422 port is set for 9600 baud which should match the speed of the PLC’s port without modification. The route from the personal computer to the processor should be set to NONE. With the modems connected, it is as though they are invisible to the SY/MAX packets.
Manual Hang-up To end the connection, quit the programming software on the personal computer and then toggle the Hngp switch to Hngp. The Off Hook and Carrier lights will go off. and the modem will be ready for further use.
70 Dial-up 11 Bit SY/MAX Examples
5
RM14K Manual
Page 71
Hanging up from the PC To cause the termination from the personal computer, set the route to XXX, 201, where XXX is any number between 0 and 199, clear bit 1 of R[1]. If the modem has been dialed from an external source, such as the Cnct switch, bit 1 of R[1] might already be 0. If this is the case, bit 1 must be first set to 1 and then cleared to 0 to cause the modem to hang up. The Connect/Hangup Utility in RM14KSW may be used to easily hang up the RM14K from SY/MAX mode. Table 5-3
Example Routing Summary Operation
Route
Dialing
XXX, 201
Online Programming/Monitoring
NONE
Hang-up
XXX, 201
PC RM14K to NIM RM14K A slightly more complicated example might involve the local personal computer connecting to a remote SY/NET network. This is accomplished by placing a RM14K at the remote location near a CRM-510 Network Interface Module. The RM14K is connected to the NIM by a CC-100 or DC1 cable, just like the connection to a processor. The remote RM14K must have its RS-422 port configured to match the settings of the NIM port. Most likely, this will be 9600 baud, 8 data bits, EVEN parity, 1 Stop bit, and BCC checksum mode. The local RM14K will be configured to match the personal computer at 9600,E,8,1, and BCC checksum. Both modem ports will be set for 14400 baud, EVEN parity, 8 data bits, SY/MAX mode, BCC checksum, Dial-up.
Dialing The modem may be manually dialed and disconnected as in the previous example. Dialing via the RS422 port requires a two drop route with the last drop to be 201. The first drop number does not matter, as long as it is within the range 0...199. When connection is made to the local RM14K, the Connect bit may be set to allow the modem to dial.
Online Operation Once the connection is made, the route must be changed to have the first drop be that of the remote NIM. In Figure 5-2 the route from the personal computer to the Model 400 would be 014, 136.
RM14K Manual
5
Dial-up 11 Bit SY/MAX Examples 71
Page 72
For more information about SY/NET routing or NIM configuration, consult the instruction bulletin for the CRM-510.
Local RM14K
Remote RM14K
Public Switched Telephone Network
RM14K
SY/MAX
POWER POWER Off Hook Carrier
Ring Ans Enbl
SY/MAX
NETWORK
RM14K
Off Hook Carrier
CRM-510 Model 400
CRM-510
NETWORK
Rx 0
Rx 0
Tx 0
Tx 0 Rx 1
Tx 1
Tx 1
NET Rx Error
NET Rx Error
NET Tx Error
Ring Ans Enbl
NET Tx Error
POWER
POWER
Thumbwheels set for 14
1
4
3
6
0 1
SC902 Cable with external transformer
SY/MAX 400
Rx 1
Thumbwheels set for 36
0 1
SY/NET Blue Hose Phone # (417)555-5678
CC-100 or DC1 Cable
CC-100 or DC1 Cable
Figure 5-2 Personal Computer to NIM example
Disconnecting Manual disconnect may be easily accomplished by toggling the Hngp switch to the right. Disconnecting via the RS-422 port requires establishing communication to the local RM14K by changing the route to XXX, 201 where XXX is a number between 0 and 199. Once a connection is established between the local RM14K and the personal computer, bit 1 of the command register R[1] may be cleared to disconnect the modem. Table 5-4
Example Routing Summary Operation
Route
Dialing
XXX, 201
Online Programming/Monitoring
014, 136
Hang-up
XXX, 201
PC SY/LINK RM14K to NIM RM14K The local personal computer is using a SY/LINK Network Interface Card to access a local SY/NET network. The user also wants to use the RS-422 port on the SY/LINK to connect to a RM14K for dialing up a remote SY/NET network. This is accomplished by placing a RM14K at the remote location near a CRM-510 Network Interface Module. Each RM14K is connected to the NIM and SY/LINK by a CC-100 or DC1 cable, just like the connection to a processor. The local SY/LINK board must be configured as the same drop number of the remote NIM. Since the RS-422 port of the SY/LINK board is the 1XX port, the remote RM14K must be connected to port 1 of the NIM. Both the SY/LINK board and the NIM must have their 1XX port configured for Net-to-Net operation. The SY/LINK board may be set for 19200 baud, but the NIM port may only be set for 9600 baud.
72 Dial-up 11 Bit SY/MAX Examples
5
RM14K Manual
Page 73
The remote RM14K must have its RS-422 port configured to match the settings of the NIM port. Most likely, this will be 9600 baud, 8 data bits, EVEN parity, 1 Stop bit, and BCC checksum mode. The local RM14K will be configured to match the SY/LINK board at 19200,E,8,1, and BCC checksum. Both modem ports will be set for 14400 baud, EVEN parity, 8 data bits, SY/MAX mode, BCC checksum, Dial-up.
Dialing The modem may be dialed and disconnected manually as in the previous examples. Dialing via the RS-422 port requires special attention to routing. The first drop of the route must be the PC port of the SY/LINK board. This port is the 0XX port of the SY/LINK and in this example would be 036. The next drop in the route will be the RS-422 port of the SY/LINK board, 136. The last drop in the route must be 201 for the local RM14K. Once a connection is made, the connect bit of R[1] is set to allow the modem to dial the programmed number.
Online Operation Once a connection is made, the route must be changed to be able to communicate with the target device. In Figure 5-3 the route from the personal computer to the Model 400 would be 036, 136, 114. For more information about SY/NET routing or NIM configuration, consult the instruction bulletin for the CRM-510 and SFI-510.
Disconnecting Manual disconnect may be easily accomplished by toggling the Hngp switch to the right. Disconnecting via the RS-422 port requires establishing communication to the local RM14K by changing the route to 036, 136, 201. Once a connection is established between the local RM14K and the personal computer, bit 1 of the command register R[1] may be cleared to disconnect the modem. Table 5-5
Example Routing Summary Operation
RM14K Manual
Route
Dialing
036, 136, 201
Online Programming/Monitoring
036, 136, 114
Hang-up
036, 136, 201
5
Dial-up 11 Bit SY/MAX Examples 73
Page 74
Local RM14K
Remote RM14K
Public Switched Telephone Network
RM14K
CRM-510 Model 400
CRM-510 SY/MAX
POWER POWER
Off Hook Carrier
Off Hook Carrier
Ring Ans Enbl
SY/MAX
NETWORK
RM14K
NETWORK
Rx 0
Rx 0
Tx 0
Tx 0 Rx 1
Tx 1
Tx 1
NET Rx Error
NET Rx Error
NET Tx Error
Ring Ans Enbl
SY/MAX 400
Rx 1
NET Tx Error
POWER
POWER
Thumbwheels set for 36
6
6
1
4
0 1
Thumbwheels set for 14
0 1
SY/NET Blue Hose Phone # (417)555-5678
CC-100 or DC1 Cable
CC-100 or DC1 Cable
CC-100 or DC1 Cable
Figure 5-3 SY/LINK to NIM Example
Processor RM14K to Processor RM14K
Local Model 400 RM14K RM14K
SY/MAX 400
Remote RM14K Public Switched Telephone Network
RM14K
POWER POWER
Off Hook Carrier
Model 300
SY/MAX 300
Off Hook Carrier
Ring Ans Enbl
Ring Ans Enbl
Phone # (417)555-5678 Phone # (316)555-1234 CC-100 or DC1 Cable
74 Dial-up 11 Bit SY/MAX Examples
5
CC-100 or DC1 Cable
RM14K Manual
Page 75
Figure 5-4 Processor to Processor Example
A local Model 400 processor periodically monitors a Model 300 at a remote location (Figure 5-4). The local RM14K is rack addressed by the Model 400 to allow the Model 400 to load the number of the remote site, dial the connection, and hang up; all from the backplane. The remote RM14K is also rack addressed to allow the Model 300 to dial the Model 400 if an alarm occurs that requires immediate attention.
Local RM14K Setup The Model 400 has been rack addressed for the RM14K’s slot to have the PLC registers 1025 through 1030. The RM14K will be configured for SY/MAX, PSTN, Point-to-Point, Auto-Answer, Port Parity EVEN, Line Parity EVEN, and BCC checksum. The Port baud rate will be 9600 and the Line baud rate will be 14400. The phone number 1(417) 555-9341 will be programmed into the RM14K’s registers 10 through 15. Notice that the value in PLC register R[1029] is 10 to correspond to the RM14K register 10 where the phone number starts. See Table 5-6. This technique of loading the telephone numbers in the RM14K’s registers saves rack address space. If the Model 400 needed to dial a different number, it could be programmed to change the pointer value in its register 1029 to point to a new phone number in the RM14K. Table 5-6
Local RM14K Configuration
PLC Register
Register Number
Value (hex)
Value (decimal)
Description
R[1025]
R[1]
0
0
Command Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[1026]
R[2]
0
0
Status Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[1027]
R[3]
D
13
Port Baud Rate = 9600
R[1028]
R[4]
E
14
Line Baud Rate = 14400
R[1029]
R[5]
A
10
Phone Number Pointer to RM14K R[10]
R[1030]
R[6]
0
0
Error Register
R[1031]
R[7]
0
0
Password
R[1032]
R[8]
0
0
Last Password Received
R[1033]
R[9]
0
0
Reserved
Not accessible.
R[10]
3134
12596
Phone number digits = 14
Not accessible.
R[11]
3137
12599
Phone number digits = 17
Not accessible.
R[12]
3535
13621
Phone number digits = 55
Not accessible.
R[13]
3539
13625
Phone number digits = 59
Not accessible.
R[14]
3334
13108
Phone number digits = 34
Not accessible.
R[15]
3100
12544
Phone number digits = 1
Remote RM14K Setup The Model 300 has been rack addressed for the RM14K’s slot to have the PLC registers 64 through 70. The RM14K will be configured for SY/MAX, PSTN, Point-to-Point, Auto-Answer, Port Parity EVEN, Line Parity EVEN, and BCC checksum. The Port baud rate will be 9600 and the Line baud rate will be 14400. The phone number 1(316) 555-2241 will be programmed into RM14K registers 10...15. Notice that the value in PLC register R[69] is 10 to correspond to the RM14K register 10 where the phone number starts. See Table 5-7.
RM14K Manual
5
Dial-up 11 Bit SY/MAX Examples 75
Page 76
Table 5-7
Remote RM14K Configuration
PLC Register
Register Number
Value (hex)
Value (decimal)
Description
R[65]
R[1]
0
0
Command Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[66]
R[2]
0
0
Status Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[67]
R[3]
E
13
Port Baud Rate = 9600
R[68]
R[4]
F
14
Line Baud Rate = 14400
R[69]
R[5]
A
10
Phone Number Pointer to RM14K R[10]
R[70]
R[6]
0
0
Error Register
R[71]
R[7]
0
0
Password
R[72]
R[8]
0
0
Last Password Received
R[73]
R[9]
0
0
Reserved
Not accessible.
R[10]
3133
12595
Phone number digits = 13
Not accessible.
R[11]
3136
12598
Phone number digits = 16
Not accessible.
R[12]
3535
13621
Phone number digits = 55
Not accessible.
R[13]
3532
13618
Phone number digits = 52
Not accessible.
R[14]
3234
12852
Phone number digits = 24
Not accessible.
R[15]
3100
12544
Phone number digits = 1
Model 400 Dialing The Model 400 should be programmed to set bit 1 of R[1025] only if bit 1 of R[1026] is clear; it should check that it does not already have carrier first. Once the dial bit is set, it should monitor the carrier bit for completion.
Model 400 Initiated Communication When the carrier status bit is set, the Model 400 may trigger the SY/MAX READ and WRITE messages to pass information to and from the Model 300. In this particular setup no route is needed. If a SY/NET network were involved, the appropriate route would be required.
Model 400 Disconnecting If the Model 400 initiated the call, simply clear the dial bit in the command register R[1025]. If the Model 400’s RM14K answered the call, then for the Model 400 to cause the disconnect, it will be required to first set the dial bit and then clear the same bit in order to hang up. If the Model 300 causes the disconnect by clearing the its dial bit, the Model 400’s RM14K will automatically hang up when it determines carrier loss.
Model 300 Dialing The Model 300 should be programmed to set bit 1 of R[65] only if bit 1 of R[66] is clear; it should check that it does not already have carrier first. Once the dial bit is set, it should monitor the carrier bit for completion. If the Model 400 and 300 are both programmed for dialing, it may be possible for both units to attempt to dial each other at the same time. This would result in both modems receiving a busy signal and not connecting. The best solution to this problem would be to include a Retry Timeout timer in each ladder program to allow a delay between dialing attempts if connection is not made. Make sure that the Retry Timeout values are different for each processor.
76 Dial-up 11 Bit SY/MAX Examples
5
RM14K Manual
Page 77
Model 300 Initiated Communication When the carrier status bit is set, the Model 300 may trigger the SY/MAX READ and WRITE messages to pass information to and from the Model 400. In this particular setup no route is required. If a SY/NET network were involved, the appropriate route would be required.
Model 300 Disconnecting If the Model 400 initiated the call, it will probably cause the disconnect by clearing its dial bit. In this case, the Model 300’s RM14K will automatically hang up when it determines that it lost carrier. If the Model 300 initiated the call, then it may be programmed to cause the disconnect by clearing the dial bit.
NIM RM14K to NIM RM14K A common situation is to have two SY/NET networks that need to be connected via dial up telephone lines. (Figure 5-5) In this case an empty CRM-510 port is required on each network for connecting to the RM14Ks. Both of these NIMs must be configured for the same drop number, baud rate, and must be placed in Net-to-Net mode. Communication between the networks will be accomplished with the addition of the Net-to-Net drop and the network will act as though the RM14K units are not present. Originating CRM-510 RM14K SY/MAX NETWORK
RM14K
A-Answer RM14K Public Switched Telephone Network
SY/MAX NETWORK
RM14K
Rx 0
Rx 0 Tx 0
POWER
Tx 0 Rx 1 Tx 1 NET Rx Error NET Tx Error
POWER
Rx 1
Off Hook Carrier Ring Ans Enbl
POWER
Tx 1
Off Hook Carrier
NET Rx Error
Ring Ans Enbl
POWER
NET Tx Error
Thumbwheels set for 47
4
4
7
7
Thumbwheels set for 47
CRM-510
0
0
1
1
SY/NET Blue Hose
SY/NET Blue Hose Phone # 555-8745
CC-100 or DC1 Cable
CC-100 or DC1 Cable
Figure 5-5 SY/NET Blue Hose Dial-up Bridge
Originating RM14K Configuration The Watch Dog feature of the RM14K will be used for automatic connection in case of carrier loss. With the Watch Dog feature enabled, the RM14K will monitor the front panel Dial voltage input to see if it toggles at least once every 30 seconds. If the Dial input does not toggle, the modem will automatically dial the programmed number and attempt to establish carrier. There will never be any voltage input on the Dial input of the originating RM14K, so after 30 seconds from power-up or after 30 seconds from carrier loss, the modem will attempt to establish connection. This feature allows an unattended startup of network communication. The Originating modem will be set for Originate, SY/MAX, EVEN parity, BCC checksum, Port baud rate of 9600, Line baud rate of 14,400, Point-to-Point, PSTN, and Watch Dog ON. The remote tele-
RM14K Manual
5
Dial-up 11 Bit SY/MAX Examples 77
Page 78
phone number of 555-8745 will be programmed into registers 10 through 13. (This is a local call and the area code is not required.)
Table 5-8
Originating RM14K Configuration
Register Number
Value (hex)
Value (decimal)
Description
R[1]
50
80
Command Register = SY/MAX, PSTN, P-T-P, Orig, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC, Watchdog
R[2]
10
16
Status Register = SY/MAX, PSTN, P-T-P, Orig, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[3]
D
13
Port Baud Rate = 9600
R[4]
E
14
Line Baud Rate = 14400
R[5]
A
10
Phone Number Pointer to RM14K R[10]
R[6]
0
0
Error Register
R[7]
0
0
Password
R[8]
0
0
Last Password Received
R[9]
0
0
Reserved
R[10]
3535
13621
Phone number digits = 55
R[11]
3538
13624
Phone number digits = 58
R[12]
3734
14132
Phone number digits = 74
R[13]
3500
13568
Phone number digits = 5
Answering RM14K Configuration The Answering modem will be set for Auto-Answer, SY/MAX, EVEN parity, BCC checksum, Port baud rate of 9600, Line baud rate of 14,400, Point-to-Point, PSTN, and Watch Dog OFF. Since this modem only answers, there is no need to program any telephone numbers. Table 5-9
Answering RM14K Configuration
Register Number
Value (hex)
Value (decimal)
Description
R[1]
0
0
Command Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[2]
0
0
Status Register = SY/MAX, PSTN, P-T-P, AA, Port Parity EVEN, Line Parity EVEN, Port BCC, Line BCC
R[3]
D
13
Port Baud Rate = 9600
R[4]
E
14
Line Baud Rate = 14400
R[5]
0
0
Phone Number Pointer
R[6]
0
0
Error Register
EPE5 RM14K to EPE5 RM14K Another example is to have two SY/NET 802.3 Ethernet networks that need to be connected via dial up telephone lines. (Figure 5-6) In this case an empty EPE5-D port is required on each network for connecting to the RM14Ks. Both of these EPE5 ports must be configured for the same drop number, baud rate, parity, checksum, and must be placed in Net-to-Net mode. Communication between the networks will be accomplished with the addition of the Net-to-Net drop and the network will act as though the RM14K units are not present.
78 Dial-up 11 Bit SY/MAX Examples
5
RM14K Manual