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

The text of a manual · part 3 of 13

MS-3000 Single Head Decoder User's Manual, pages 21 to 30

Pages 21 to 30 of 126

The original document is the PDF (730 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.

For the Microscan MS-3000

Page 21

Install Decoder 1–Setup and Inst.

If the unit does not have housing, use the measurements provided in figure 1-13 to locate the centers of the mounting holes. M e as u r e m en t s i n i n c h e s ( m i l l i m e t er s )

Front 1.0" (25.4)

0.160" (4.06) Dia. (4 places)

5.8" (147.32)

3.8" (96.52)

4.5" (114.30)

5.2" (132.08)

5.8" (147.32)

0.030" (7.62)

Figure 1-13 Mounting Diagram (without housing, not full size)

MS-3000 Single Head Decoder User’s Manual

1-13

Page 22

1–Setup and Inst.

Chapter 1

Setup and Installation

Ground and Shield Considerations Proper grounding is necessary for operator safety, noise reduction, and the protection of equipment from voltage transients. Buildings–including any steelwork, all circuits, and all junction boxes–must be grounded directly to an earth ground in compliance with local and national electrical codes. RS-232 signals have a common signal ground (pin 7 of the 25-pin connector). Pin 7 is normally connected to pin 1 (chassis ground) in the decoder; however, under certain conditions (e.g., when potential differences exist between power outlet grounds) signal and chassis grounds can be isolated from each other inside the decoder by Microscan technicians. Any data line, as necessary, can be shielded. If shielding is used, isolate it from the decoder and ground only to the host earth ground.

Noise Interference Noise interference can be minimized if cabling subject to noise interference is twisted HOST and/or shielded or encased in Shielding grounded conduit, and the Communications conduit or shielding (“drain” Cable line) is grounded only to earth Earth Ground ground at the host, as shown in Decoder figure 1-14. You might need to examine and if necessary cut the shielding connection at or Figure 1-14 Grounding Diagram, Decoder-Host near the concentrator cable connector.

Ground Loops Ground loops, signal degradation due to different ground potentials in communicating devices, can be eliminated or minimized by ensuring that the host, concentrator, and their power supplies are connected to a common earth ground.

1-14

MS-3000 Single Head Decoder User’s Manual

Page 23

Chapter

2

Menu Configuration Communications Menu ........................................................................2-5 Operations Menu ...............................................................................2-13 Code Types Menu..............................................................................2-22 User Outputs Menu............................................................................2-29 Raster Setup Menu............................................................................2-33

This chapter describes how to configure the MS-3000 decoder with on screen menu commands from a host or auxiliary terminal. All keystrokes are in bold typeface. Default parameters in the menu structures are also in bold typeface. All of these parameters, with the exception of Full Screens, can also be changed by serial commands (see Chapter 3, “ Serial Configuration”). In addition, most of these configuration parameters can also be changed with a Microscan profile card (P/N 99-500011-01), obtainable from your Microscan representative (see Chapter 4, “ Profile Card Configuration”).

Communicating with an ASCII Terminal The MS-3000 decoder communicates in full duplex, terminal mode with no handshake. It also recognizes carriage returns and line feeds. The host or ASCII terminal with must match the following default settings before any communication can take place: 9600 Baud Rate, Seven Data Bits, Even Parity, and One Stop Bit.

MS-3000 Single Head Decoder User’s Manual

2-1

2–Menu Config.

Chapter Contents

Page 24

Chapter 2

Menu Configuration

Entering the Menu Configuration Program To see the Main menu (figure 2-1), from an ASCII terminal that is connected to the decoder, send the serial command <D> (enter the < > brackets as well as the upper case D).1

2–Menu Config.

xx

Figure 2-1 Configuration Program - Main Menu2

If the menu does not appear, see Appendix D, “ Troubleshooting,” on page A-6.

Using the Menu Configuration Program The bottom line on the screen is called the command line. The command line identifies your place in the menu program, shows current status and allows you to review and change options. Use the designated keys 3 to scroll to and select the parameter you wish to change; press SP (space bar key) or N to scroll ahead, B to scroll back, CR (carriage return key) to select, and M to return to the previous higher level menu. To return to the Main menu at any time, press ESC (escape key) and M.

1. Command start character by default is a left angle bracket, <. It may be redefined by menu or serial command. However, the end character, a right angle bracket, >, cannot be changed. 2. Item 5, Raster Setup, applies only to the MS-1280 raster scan head. 3. The menu navigational keys are displayed in each menu.

2-2

MS-3000 Single Head Decoder User’s Manual

Page 25

For example, to enable LRC (see figure 2-2, “ Communications Menu Structure,” on page 2-5 and “Longitudinal Redundancy Check ” on page 2-10), you would use the following command line path: From the Main menu, press CR at the Communications prompt (this is the first prompt displayed in the Menu Configuration Program) to access the Communications menu.

Communications, > Host Protocol Communications, > Host Port Communications, > Aux Port

Since LRC is a subtopic of Host Protocol, press CR to access the Host Protocol parameters.

Host Protocol, > Protocol Host Protocol, > Preamble = ^M Host Protocol, > Preamble = Disabled Host Protocol, > Postamble = ^M^J Host Protocol, > Postamble = Disabled Host Protocol, > LRC = Disabled Host Protocol, > Response Timeout in 1ms incs = 12 Host Protocol, > Intercharacter Delay in 1ms incs = 0 Host Protocol, > LRC Host Protocol, > LRC

= Disabled = Enabled

Protocol is the first parameter under Host Protocol. Press SP until you reach LRC, then press CR.

To enable LRC, press CR, SP, and CR.

To view LRC’s new status in the menu, press M to refresh the screen. To return to the Main menu, press M again. You can make additional changes within another menu before exiting the program. Simply follow the same method of scrolling to and selecting each main topic, then its subtopics, until you reach the parameter you want to change. Remember, to return to the Main menu at any time, press ESC (escape key) and M. Some parameters are user defined, in which case they prompt you with an arrow for data, such as:

At the prompt, redefine the parameter within the allowable range, and press CR to enable.

MS-3000 Single Head Decoder User’s Manual

2-3

2–Menu Config.

Main, > Communications Main, > Operations Main, > Code Types Main, > User Outputs Main, > Raster Setup

Page 26

Chapter 2

Menu Configuration

Saving Menu Changes Press ESC (escape key) to see the following on the command line: Press M to return to the Main menu, or press E to exit the Menu Configuration program. If E is pressed, the following question will appear:

2–Menu Config.

Press N to exit without saving changes, or press Y to retain the current settings to non-volatile RAM for power up. If Y is selected, a beep will indicate the save has been carried out.

Loss of Communications Defaulting might be necessary if communications between the decoder and another device are interrupted or if using incompatible equipment (for example, a terminal is set to communicate at 9600 baud, but the decoder is configured at 38.4K baud). Communication can also be lost if an address has been assigned to the decoder. To reset parameters to default values, see Appendix C, “ Defaulting the Decoder,” on page A-4.

Defining Special Characters To define any control character from the ASCII table : Press SP once, then enter the control character by holding down the control key and simultaneously pressing the desired character. For example to define a line feed, press SP, then Control and J simultaneously. It is displayed as ^J on the command line and as <LF> in the menu when the screen is refreshed. To define CR as a character: Press SP, then CR. It is displayed as ^M on the command line and as <CR> in the menu when the screen is refreshed. To define a space as a character : Press SP twice. It is displayed as a blank space in the menu when the screen is refreshed. While it appears that nothing has been assigned, the hex value 20 will be sent during data transmission. To select NUL as the character: Press SP, then a 0 (zero). It is displayed as <NUL> in the menu when the screen is refreshed.

2-4

MS-3000 Single Head Decoder User’s Manual

Page 27

Communications Menu

Communications Menu The Communications menu allows you to set the communication protocols between the decoder and the host. Communications

– Bold text represents default settings.

Host Protocol Protocol

Preamble

– Point-to-Point

– ^M

Preamble

– User w/RTS/CTS Definable (ASCII char.) – Point-to-Point w/XON/XOFF – Point-to-Point w/RTS/CTS & XON/XOFF – Polling Mode D – Multidrop – Address = 1 – User Definable (1 to 50)

– Disabled – Enabled

Postamble

Postamble

– ^M ^J

– Disabled

– User

– Enabled

Definable (ASCII char.)

– User Defined – RES

– Address = ^A – REQ – EOT

– STX

– ETX

– ACK – NAK

– STX

– ETX

– ACK – NAK

– User Defined Multidrop – RES

LRC

– Address = ^A – REQ – EOT

Interchar Delay

Response Timeout

– Disabled

– 0

– 12

– Enabled

– User Definable (0 to 255)

– User Definable (0 to 65,000)

Host Port Baud Rate – 9600

– 1200

– 19.2K – 2400

– 38.4K – 4800 – 600

Parity – Even

Stop Bits

Data Bits

– One

– Seven

– Disabled

Stop Bits

Data Bits

– One

– Seven

– Odd

– Two

Baud Rate

Parity

– None

– Eight

RS-422 – Enabled

Aux Port Aux Mode – Disabled

– 9600

– 1200

– Even

– Half Duplex

– 38.4K – 4800

– None

– Transparent – Full Duplex

– 19.2K – 2400 – 600

– Odd

– Two

– Eight

Figure 2-2 Communications Menu Structure

MS-3000 Single Head Decoder User’s Manual

2-5

2–Menu Config.

– Point-to-Point

Page 28

Chapter 2

Menu Configuration There are three subtopics in this menu: Host Protocol, Host Port, and Aux Port. To help visualize the menu’s organization and to locate the page number where each topic is described, see figure 2-2, “ Communications Menu Structure,” on page 2-5. Note: Changes in Communications parameters or assigning an address to the decoder can cause loss of communications with the configuration terminal when you exit the menu program (whether or not changes are saved for power-on).

2–Menu Config.

Host Protocol Parameters Protocol Default: Point-to-Point Options: Point-to-Point, Point-to-Point with RTS and CTS, Point-to-Point with XON/XOFF, Point-to-Point with RTS/CTS and XON/XOFF, Polling Mode D, Multidrop, User Defined, User Defined Multidrop Protocols define the sequence and format in which information is transferred between devices. Generally there are two basic protocol modes: unpolled and polled. In unpolled mode (all of the Point-to-Point protocols), a device sends information without being asked for by the host. In polled mode (Multidrop, Polling Mode D, and User Defined Multidrop), a device has an address and waits for a request from the host before sending data. Note: User Defined and User Defined Multidrop have more options available to them. Selection instructions for these protocols are provided under each topic.

2-6

Selecting:

Has this effect:

Point-to-Point

Has no address and sends data to the host (RS-232) whenever it is available and without any request or handshake from the host.

Point-to-Point with RTS/CTS (Request-toSend/Clear-to-Send)

Used only with RS-232. This is a simple handshaking protocol that allows a device to initiate data transfers to the host with an RTS (request-to-send) transmission. The host, when ready, responds with a CTS (clear-to-send) and the data is transmitted. RTS and CTS signals are transmitted over two dedicated wires (pins 4 and 5) as defined in the RS-232 standard.

MS-3000 Single Head Decoder User’s Manual

Page 29

Communications Menu Has this effect:

Point-to-Point with XON/XOFF (Transmitter On/Off)

Used only with RS-232 or RS-422 . This selection enables the host to send a single byte transmission command of start (XON) or stop (XOFF). If an XOFF has been received from the host, data will not be sent to the host until the host sends an XON. During the XOFF phase, the host is free to carry on other chores and accept data from other devices.

Point-to-Point with RTS/CTS and XON/XOFF

Used only with RS-232. It is a combination of Pointto-Point with RTS/CTS and Point-to-Point with XON/XOFF.

Polling Mode D

Like Point-to-Point, Polling Mode D requires a separate connection to the host but unlike Point-toPoint, it requires the device to have an address and to wait for a poll from the host before sending data.

When in Polling Mode D, an address 1 is automatically displayed on the configuration screen. However, during transmission, a 1C hex poll address (FS) and a 1D hex select address (GS) are substituted for the 1. Multidropa Note: Decoders intended to link up to a MS-5000 multidrop concentrator can only be configured in standard Multidrop protocol. Hint: Attach a tag to each decoder to identify its multidrop address.

Similar to Polling Mode D except that a unique poll address and select address are required for each multidrop device, and only one host port connection is needed for up to 50 devices. (For Multidrop poll and select characters, see Table A-6, “Multidrop Address Characters,” on page A-20.) Requires a concentrator or controller using RS-485 communications. When Multidrop is selected, the protocol characters for RES, REQ, etc. are assigned automatically. (See “Appendix I, Multidrop Communications” on page A-17 for poll and select sequences.)

MS-3000 Single Head Decoder User’s Manual

2-7

2–Menu Config.

Selecting:

Page 30

Chapter 2

Menu Configuration Selecting:

Has this effect:

Used only with RS-232 or RS-422. ASCII characters can be assigned as an address and as protocol commands (RES, REQ, EOT, STX, ETX, ACK, and NAK). User Defined is necessary when a new protocol must be defined to match a specific NOTE: Note: AAspecific specificASCII host protocol. When User Defined is selected, the ASCII character character must not must be displayed protocol commands match those of the not assigned be assigned more than more previously selected protocol. User Defined is than once. once. considered to be in a polled mode only if an address has been assigned. The address can be any ASCII character from the ASCII in appendix B, except NUL. b

2–Menu Config.

User Defined

User Defined Multidrop Note: A specific ASCII character must not be assigned more than once.

Used when connecting to a concentrator or other device that does not match standard Multidrop protocol. Any single character (01 hex to 7E hex) in the ASCII table can be assigned as the address character. The character chosen is used as the poll character and the subsequent ASCII character becomes the select character. For example, if a ^A (01 hex) is selected as the address, ^B (02 hex) becomes the select address that the host will use in sending host select commands. (See Table A-I, “Multidrop Communications,” on page A-17.)

a. Once the decoder is configured for Multidrop, a profile card, a terminal connected to the auxiliary RS-232 pins, or a default procedure must be used to access the configuration menus again (although serial commands will continue to function). b. For example a simple ACK/NAK protocol can be developed by first selecting Point-to-Point, then User Defined, and then assigning characters to ACK and NAK commands. First scroll to the following command: HOST PROTOCOL --> PROTOCOL --> USER DEFINED--> ACK = --> Enter a ^F by holding down the Control key while pressing the F key, and then press CR to see the following: HOST PROTOCOL --> PROTOCOL --> USER DEFINED --> ACK = ^F The mnemonics ACK and NAK replace the default NULs in the menu.

Note: Definitions of commands in User Defined and User Defined Multidrop must be duplicated in host applications to enable poll and select sequences to execute correctly during transmission.

Typically, parameters in User Defined Multidrop are defined by first enabling Multidrop, then enabling User Defined Multidrop. This pre-loads Multidrop characters into the parameters. You then change individual characters to match the host or other requirements.

2-8

MS-3000 Single Head Decoder User’s Manual