The text of a manual · part 6 of 17
RM14K Installation and Programming Manual, pages 49 to 58
Pages 49 to 58 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 49
Port Error Check The Port Error Check determines the SY/MAX checksum calculation technique between the BCC (standard) or the CRC (optional) methods. For normal connection to SY/MAX devices select BCC. The default value is BCC. If the connection is being made with the parity set to NONE, the CRC is recommended. The CRC method is superior to the BCC method for error detection.
Line BPS This value controls the baud rate of the Line port. The possible settings in SY/MAX mode range from 300 to 14400 baud. Multidrop operation has a limited subset of available baud rates. A complete listing of baud rates is given in Tables 3-4 and 3-5 on pages 29 and 30 as well as in Appendix D. The default value if 14400.
Line Parity This setting controls the parity setting on the Line port. Possible values are: EVEN, ODD, and NONE. The default value is EVEN.
Line Error Check The Line Error Check determines the SY/MAX checksum calculation technique between the BCC (standard) or the CRC (optional) methods. For normal connection to SY/MAX devices select BCC. The default value is BCC. If the connection is being made with the parity set to NONE, the CRC is recommended. The CRC method is superior to the BCC method for error detection.
Watchdog mode The Watchdog mode setting controls the Watchdog feature of the RM14K. This setting is only valid in PSTN mode. Possible values are Enabled and Disabled. When Enabled, the RM14K will watch the Dial voltage input to see if it changes state at least once every 30 seconds while the modem is without carrier. If the Dial input fails to change state, the modem will automatically go Off Hook and attempt to dial the number pointed to by register R[5]. If connection is not made, the modem will wait 3 minutes and try again. This will continue until connection is made or the watchdog input starts toggling again. This feature is very useful for applications where the device attached to the RM14K is unable to initiate communication. The Watchdog feature allows remote devices such as a Model 50 or Micro-1 to dial a message even though some trouble may be inhibiting its normal operation. The answering modem’s device is then able to query the remote device for additional information. The Watchdog mode may be used to re-establish a dial-up link automatically by not connecting any input to the Dial input. See the NIM example on page 77. The Watchdog mode may also be used as a call back feature of the RM14K to reduce the telephone charges on the user’s phone. The user simply calls up the remote RM14K, loads his present telephone number into the remote RM14K, turns on the watchdog feature, and then hangs up. Thirty seconds after the remote RM14K looses carrier, it will call back the user; thus allowing the majority of the charge to reside on the remote RM14K’s telephone number.
Number Pointer The Number Pointer sets the value in register R[5] and acts as an index to the block of packed ASCII characters representing the telephone number to be dialed. The number in R[5] represents the first RM14K register that the telephone number is stored in. By utilizing this pointer system, large numbers of telephone numbers may be stored in the RM14K and accessed simply by changing the value in register 5. In rack address systems, this allows a PLC to only rack address 5 or 6 registers to the RM14K and still be able to dial hundreds of numbers. RM14KSW will not allow values between 1 and 9 inclusive as pointer values. Telephone numbers must start at register 10 or higher.
RM14K Manual
4
Configuration Software RM14KSW 49
Page 50
The automatic dialing feature is disabled if the Number Pointer is set to 0 (default).
Dial String The Dial String sets and displays the string that is determined by the Number Pointer. The dial string may include only valid Dialing String characters as shown in Table 3-12 on page 35 as well as in Appendix D. These characters include 0 through 9, #, *, A, B, C, D, W, [, ], P, R, T, ,, ;, and !.
Comma pause time The Comma pause time value determines the number of seconds that the modem will pause during the execution of a dial string when a comma is encountered. This is the value stored in R[8008] and in "S" register 8. The default value is 2 seconds.
DTMF digit length This value gives the dual-tone multifrequency (DTMF) burst length in mS. This value may need to be increased if a particular telephone system or PBX is having difficulty accepting DTMF digits from the RM14K. The default value is 95mS.
Hayes Escape char This is the decimal value that represents the ASCII character to be used as the Escape character by the Hayes Interpreter. The Escape character is used to return the modem from Connect to Command mode. This is accomplished by not sending any characters for the Escape Code Guard Time and then sending three Escape characters within the Guard Time. This value defaults to the decimal value 43 (ASCII +).
Guard Time The Guard Time is the pause time required between sending any characters and sending the Escape character. The default value is 1000mS (1 Second).
Hayes CR char This is the decimal value that represents the ASCII character to be used as the carriage return character by the Hayes Interpreter. The default value is the decimal value 13 (ASCII CR).
Hayes LF char This is the decimal value that represents the ASCII character to be used as the line feed character by the Hayes Interpreter. The default value is the decimal value 10 (ASCII LF).
Hayes BS char This is the decimal value that represents the ASCII character to be used as the back space character by the Hayes Interpreter. The default value is the decimal value 8 (ASCII BS).
CTS On delay This value determines the delay that the modem waits to assert CTS after the end of the training sequence in 277uS increments. This value only applies to Multidrop mode. Increase this value if data is lost at the beginning of the packet. The valid range of settings is 0..255 with the default value being 100.
CTS Off delay This value determines the delay that the modem waits after RTS is negated before sending the turn off sequence in 277uS increments. This value only applies to Multidrop mode. Increase this value if data is lost at then end of the packet. The valid range of settings is 0..255 with the default value being 100.
50 Configuration Software RM14KSW
4
RM14K Manual
Page 51
Carrier detect Thus setting allows the adjustment of the Carrier Detect Threshold in Multidrop mode only. Increase this value if carrier detect goes active when no unit is transmitting. The valid range is 0..3 with the default value being 2.
Answer password The Answer password is a four digit hexadecimal number that is used to restrict access to a system via the RM14K. If this value is non-zero, the modem will require the exact four digit password to be dialed before it will emit answer tone and connect to the originating modem. DTMF digits 0 through 9 are encoded as hex digits 0 through 9 respectively. DTMF digits * and # are encoded as hex A and B respectively. If the originating modem is another RM14K, there are four more DTMF digits available. RM14K dialing digits A, B, C, and D translate to password digits C, D, E, and F respectively. These digits do not appear on most telephone dials. The DTMF D digit will cause the RM14K to hangup when it is received. The DTMF D digit (hex F) if included in the password acts as a wildcard character and allows any valid digit to be accepted. The Last password received displays the digits as they are received in real time. The modem waits 10 seconds (default) for a valid password before hanging up. The wait time may be adjusted by changing the value in R[8014]. The ring to answer on can be set to a large number to restrict how often a break-in attempt may be repeated. For more information on the Password feature see Page 41.
Last password received This value displays the last password received in real time. This value is active only if the Answer password is non-zero. The last password received is initialized to hex FFFF when the modem goes off hook. For this reason, the modem may be configured to accept fewer than four digits by setting the leading digits of the Answer Password to hex F.
Status Displays The upper left corner of the oNline screen will display certain status messages occasionally. When the RM14K has carrier the word CONNECTED will appear above the oNline menu item. When the RM14K is ringing, the word RINGING will be displayed in this location. OFF HOOK is displayed when the modem is off hook and not connected in PSTN mode.
Error Displays The bottom area of the screen below the Answer password is reserved for displaying error messages from the Error Register R[6] in the RM14K. The messages displayed are as follows:
RM14K Manual
•
Illegal line rate - This error occurs if a value outside of the range of values listed in Table 3-4 on page 29 is placed in R[4]. To clear this error enter a proper baud rate for the audio line port.
•
Illegal line parity - The audio line has been set for an illegal parity. Bits 10 and 11 in the Command register R[1] have both been set. This condition represents a non-valid parity setting. This error may be cleared by setting these bits to a proper pattern.
•
Multidrop and PSTN - The selection of Multidrop mode with PSTN mode is not valid. Multidrop mode may only be set while in Leased Line, Transparent modes.
•
Multidrop and Sy/Max - The selection of Multidrop mode while in SY/MAX mode is not valid. Multidrop mode may only be set while in Leased Line, Transparent modes.
•
Illegal transparent port rate - A baud rate has been selected for Transparent mode operation that is not valid for Hayes mode operation. To clear this error, select a proper value from Table 3-4 on page 29.
•
Illegal port rate - This error occurs if a value outside of the range of values listed in Table 3-3 on page 29 is placed in R[3]. To clear this error enter a proper baud rate for the RS-422 port.
4
Configuration Software RM14KSW 51
Page 52
•
Illegal port parity - The RS-422 port has been set for an improper parity. Bits 8 and 9 in the Command register have both been set. This condition represents a non-valid parity setting. This error may be cleared by setting these bits to a proper pattern.
•
Illegal dial digit - A digit in the dialing string that is not listed in Table 3-12 on page 35 is present. Modify the dialing string to include only those digits, terminated by a 00 hex.
Hot Keys The oNline screen has various Function keys available for immediate access to features such as Printing the screen, Help, Dialing, Hangup, and Setup. •
F1 Print Screen - The F1 Function key will provide a screen print at any time during the operation of RM14KSW. A window will appear to prompt the user for an output file. The output may be directed directly to a printer by selecting "PRN" or "LPT1" etc. or to an ASCII text file by entering a filename. Pressing Escape will abort the print screen.
•
F2 Help - The F2 Function key will provide a Help screen to list the available editing keys and Function keys available. Pressing any key will exit the Help Screen.
•
F7 Dial - The F7 Function key will first clear bit 1 and then set bit 1 of the Command register, thus causing the RM14K to attempt to dial a number.
•
F8 Hangup - The F8 Function key will clear bit 1 of the Command register, if set, or if bit 1 of R[2] is set and bit 1 of R[1] is clear, then RM14KSW will write a 1 to bit 1 of R[1] and then clear that bit, thus causing the RM14K to hang-up.
•
F9 SY/MAX Setup - The F9 Function key will bring up the SY/MAX Setup window for immediate modification of the setup parameters of RM14KSW. Pressing Escape will exit from the Setup window without making changes.
•
F10 Clear Error - When any Error Window appears with a beep, the F10 key may be used to clear that error.
oFfline The oFfline menu offers several choices for maintenance, storage, and retrieval of RM14K configurations. The oFfline menu is shown in Figure 4-3. The oFfline menu items perform their operations using a copy of RM14K setup parameters in the personal computer’s memory. This copy may not be related to the actual configuration in an RM14K that may be connected oNline. Any changes made in the oFfline Editing that are needed to be transferred to a connected RM14K must be done with the Send memory to module menu item.
Figure 4-3 oFfline Menu
52 Configuration Software RM14KSW
4
RM14K Manual
Page 53
Read from disk to memory This function reads an RM14K configuration from disk into the computer’s memory. The file to be read should have been created by the "Write from memory to disk" function described below and must have a .RMK extension. When "Read from disk to memory" is selected, a window will open and ask for the name of the file to read. The bottom part of the screen will show a list of all files with the extension .RMK in the current directory. Any subdirectories, or drives, will be shown in square brackets. The parent directory (of which the current directory is a subdirectory) is shown by the word "parent" in square brackets. You may either type the name of the file to read or you may use the arrow keys to move the highlight to the desired filename. Pressing ENTER with the highlight on a filename will select that file for reading. Pressing ENTER with the highlight positioned on a directory name (either a subdirectory or [parent]) will change the current directory to that directory and will show the .RMK files in the new directory. If there are more files than will fit on the screen, pressing the right arrow with the highlight at the right edge of the screen will scroll the display sideways to show more files. Typing the ESC key will return to the offline function menu without loading a file.
Write from memory to disk This function saves a copy of the memory file to a disk file. "Write from memory to disk" uses the same point and shoot file selection described for "Read from disk to memory" above. To create a new file you must type the name. The name should be a valid MS/DOS filename but should not include any path name or extension. The program will append an extension of .RMK to the name and the file will be placed in the directory which is shown in the bottom half of the screen. To create a file in a directory other than the current one, use the arrow and ENTER keys to traverse the directory tree until a listing of the desired directory is shown in the bottom half of the screen. Then type in the file name and press ENTER. If you specify (either by typing or by pointing) a file that already exists, you will be prompted for approval before that file is overwritten.
Edit configuration in memory The Edit selection brings up a screen similar to the oNline screen. Use the editor in the normal fashion to make changes to the memory file. Upon completion of the editing, it is advised that the work be saved using the "Write from memory to disk" routine. Upon exiting the editor, the main RM14KSW menu will appear. It is important to remember to save the file before exiting or the changes will not be made.
Send configuration to module This function requires a physical connection from the computer to an RM14K. The SY/MAX setup must be properly configured to allow oNline communication to the RM14K. When the "Send configuration to module" selection is made, the configuration in the computer’s memory is immediately transferred to the RM14K.
Fetch configuration from module This function requires a physical connection from the computer to an RM14K. The SY/MAX setup must be properly configured to allow oNline communication to the RM14K. When the "Fetch configuration from module" selection is made, the configuration in the RM14K is immediately transferred to the oFfline memory.
Print configuration in memory This function will produce a report showing the current oFfline configuration parameters in the computer’s memory. When this function is selected, the user will be prompted for an output filename with the default value of PRN shown. To send the report to the PRN device (normally the parallel printer port), simply press ENTER. To send the report to a different port or to a file, type the name and then press ENTER. Online configurations may be printed with the F1 print screen key.
RM14K Manual
4
Configuration Software RM14KSW 53
Page 54
Delete configuration file This function removes the selected RM14K source file from the disk. "Delete configuration file" uses the same point and shoot file selection described for "Read source from disk" above. The name should be a valid MS/DOS filename but should not include any path name or extension. The program remove the file from the disk as well as removing it from the bottom of the screen. To remove a file in a directory other than the current one, use the arrow and ENTER keys to traverse the directory tree until a listing of the desired directory is shown in the bottom half of the screen. Then type in the file name and press ENTER.
Quit offline functions Selecting this menu item will return the user to the main menu. Pressing the Escape key will perform the same function.
Utility The Utility menu provides access to useful maintenance and testing functions of the RM14KSW software.
Figure 4-4 Utility Menu
View registers Selecting the View registers menu item will invoke a SY/MAX register data viewer/modifier. This viewer continuously performs a block read of 20 registers and displays the contents of those registers in hex, unsigned integer, signed integer, and binary. The status register associated with the data register is also displayed in hex. The register viewer is dependent on the values located in the SETUP Sy/Max menu. 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 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. To edit the binary values, press HOME when on the binary field. Move the cursor to the desired bit and enter a ’0’ or a ’1’ and press enter to accept.
54 Configuration Software RM14KSW
4
RM14K Manual
Page 55
Pressing the F9 key will invoke the SY/MAX Setup window for immediate access to the personal computer’s communication parameters. 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-5 View Registers
Signal Strength The Signal Strength utility provides an indication of the quality of the audio connection. The value is displayed in dBm referenced to a 600 ohm impedance load. Typical Four Wire Point-to-Point dBm values should be around -9 dBm.
Figure 4-6 Signal Strength
Terminal Emulator Selecting the Terminal emulator from the Utilities menu will invoke a terminal emulator according to the setup selected in the Setup menu. The terminal emulator opens as shown in Figure 4-7.
RM14K Manual
4
Configuration Software RM14KSW 55
Page 56
The terminal sends the ASCII code for the alpha-numeric characters out the selected COM port. Functions keys F1 through F4 and the keypad arrows send ANSI (i.e. VT100) codes. F7 is reserved for starting a file capture. F8 will close the capture file. The backspace key sends ASCII BS (08 hex). The Delete key sends and ASCII DEL (7F hex). The Insert key allows the transmission of ASCII hexadecimal characters directly from the hex numbers separated by spaces. The F9 key will invoke the Terminal Emulator Setup Screen for immediate modification of the personal computer’s communication setup parameters. The terminal displays printable ASCII characters which are received on the port. Non-printable characters are displayed as the hexadecimal value enclosed in <>, such as <0D><0A> indicates the carriage return, line feed characters. The terminal is always in this "monitor" mode and therefore ANSI output emulation is not provided.
Figure 4-7 Terminal Emulator
Lead Monitor The Lead Monitor provides online monitoring of various inputs and outputs on the RM14K.
Figure 4-8 Lead Monitor
56 Configuration Software RM14KSW
4
RM14K Manual
Page 57
Connect or Hangup The Connect or Hangup utility provides an easy method for controlling the RM14K from SY/MAX mode, especially from a batch file. The window displays the current status of Carrier Detect as well as the telephone number that is ready to be dialed. The User may press the character C to connect and dial, or H to hangup. Any other key that is pressed will exit this window to the Main Menu.
Figure 4-9 Connect or Hangup Utility
SETUP The setup menu accesses the setup parameters for the personal computer to enable it to communicate with the RM14K and the terminal emulator. The parameters chosen will depend on the exact equipment involved in making the connections. The Setup menu should appear as in Figure 4-10.
Figure 4-10 Setup Menu
SY/MAX SETUP The connection type is mainly determined by the method of connection to outside world and may be broken into two groups: the personal computer’s COM: port and the SY/LINK Network Interface Card.
RM14K Manual
4
Configuration Software RM14KSW 57
Page 58
Personal Computer COM: port If the connection from the personal computer is made through one of its serial ports then the Connection type should be one of the following: •
Sy/Max COM:
•
Net-to-Net COM:
•
Gateway COM:
Sy/Max COM: is the default and most likely will be the one used. In this mode the personal computer will communicate through one of its COM: ports as though it were a SY/MAX device such as a PLC. The full SY/MAX protocol is supported including routing so SY/MAX COM: may be used through SY/MAX mode ports on NIMs and SPE4s with appropriate routing. This mode is to be used when a direct connection from the personal computer COM: port is made to the RM14K. In most cases an RS-232<>RS-422 conversion is required and the Niobrara SC406 (or SC902) cable makes this conversion very convenient. Net-to-Net COM: is used when connecting to a NIM or SPE4 that is set to Net-to-Net mode. The first drop number in the route will be that of the address of the NIM. Gateway COM: is used when connecting to an SPE4 port that is in Gateway mode. For more information about Gateway mode see the SPE4 instruction manual.
Figure 4-11 SY/MAX Setup Screen Port - When one of the COM: connection types is selected a particular port of the personal computer must be selected. Available choices are: COM1:, COM2:, COM3:, and COM4:. Select the port which will be used to connect to the RM14K. 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. An RM14K has a default baud rate of 9600 and if a direct connection is made to the RM14K this is the setting that should be made on the personal computer. If the baud rate of the RM14K has been changed this value may need to be adjusted. Data bits - When in SY/MAX or Net-to-Net modes the data bits is required to be 8 and may not be changed. The SY/MAX protocol requires 8 data bits. The Gateway mode uses ASCII messages which do not require the full 8 data bits and may be set to 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. The RM14K is set for 1 stop bit.
58 Configuration Software RM14KSW
4
RM14K Manual