The text of a manual · part 6 of 18
Starnode PC Data Collection Network Operator's Manual, pages 51 to 60
Pages 51 to 60 of 172
The original document is the PDF (2.1 MB). 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 Computer Identics 320, Computer Identics 325, Computer Identics 326, RVSI CiMatrix 7500, RVSI CiMatrix 7555A, Sick 7555A, RVSI CiMatrix 7600, RVSI CiMatrix 7655, and 11 more models
Page 51
Controller I/O Base
4.
If the command type selected allows you to send message text to the target Starnode terminal, click on the Message field. Remember that if you selected a command type of None, the first character (byte) that you enter is used as a command byte.
5.
Type a message of up to 125 characters (bytes) in the Message entry field. Remember if you selected a command type of None, the first character you enter is used as a command byte.
Example When you selected command type NONE with the message 2HI THERE, the ASCII 2 at the beginning would be interpreted as a command byte. The decimal equivalent of the ASCII 2 is 49, so the 2 would mark the message as a prompt message. The message text can consist of non-printable ASCII characters or special Starnode screen control characters. For example, the prompt message \022 YOURE LATE would not only cause the terminal's display to show the message, but it would cause the beeper to emit three short tones. Observe the Send with Attention box. If the box is enabled (checked), the message will be preceded by an attention character. This character causes the terminal to stop whatever it is doing and process the message or command immediately. This helps to ensure that no messages are lost. If an attention is not necessary, disable (uncheck) the Send with Attention box. The check disappears and an attention character will be sent.
7.
When you are satisfied with the information shown in the Message to Terminal dialog box, click Send button to transmit to the target terminal.
More than one Send Terminal Message dialog box can be displayed at the same time enabling you to see more than one message at a time. Download Program - Allows you to transmit a compiled *.LAN program to all terminals in the network of a specified type. Such downloads might be used for testing or demonstration of the network's capabilities. Note: If you specified Y (Yes) to the Full Initialization prompt and STARNDEM.CNF file was found, programs have already been downloaded. 1.
Rev B, February 2002
Opening the Transmit menu and selecting Download Program displays the Download Program dialog box as shown in Figure 5–15.
Starnode PC Data Collection Network Operator’s Manual
5-13
5 Using Starndem
6.
Page 52
Chapter
5
Using Starndem
FIGURE 5–15. Download Program Dialog Box
2.
Determine the terminal type that you want to download to. Click on Terminal Type field and enter the terminal type. Valid types are 001 to 128.
3.
Specify the *.LAN file to be downloaded by typing a complete path and program name in the File Name field or by clicking on the program name. To change the list of *.LAN files shown, select on a different path from the File Name list box.
If a different program was downloaded to the target terminals during a previous session, the later download takes the place of the previous one. After selecting a *.LAN file, click OK. The hourglass is displayed while the download is in progress, then disappears when the download is complete. You may then select a new file name and/or terminal type and download to the next group of terminals. Download File - Allows you to transmit a text file (*.DAT) to a single, specific terminal in the network. For example, this file may be used to store data, perform lookups, or may contain data to be sent to a printer. It may also be a compiled TALL program for downloading to a single terminal. Download File is most commonly used to send a file to a non-Starnode device. The serial port of a Starnode device serves as a gateway to the Starnode network. For example, you might want to download a text file called TEST.DAT down to terminal number 8. 1.
5-14
Opening the Transmit menu and selecting Download File will display the Download File dialog box as shown in Figure 5–16.
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 53
Controller I/O Base
FIGURE 5–16. Download File Dialog Box
3.
Determine the terminal number that you want to transmit to. Depending upon the type of Starnode controller, terminal numbers can be any positive integer between 0001 and 4095. Click on the Terminal Id field and enter the terminal ID. Observe the Terminal Command list. If any terminal command except None is selected, each record in the text file will be automatically be downloaded with the selected value as the first byte (command byte) in the record.
Example The value entered in the Terminal Command entry field represents the command byte ASCII character, in decimal form. For example, decimal 49 represents an ASCII 2 character indicating to the Starnode network that this record is a prompt message. If you specify None for the Terminal Command, you must check that each record in the downloaded data file starts with the desired command byte. If you are trying to download to a Scanstar terminal’s file memory, you must write and download a program to the terminal before starting the download. During the downloading of the second program, each line in the file must have an ASCII command byte of decimal 65 or greater.
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual
5-15
5 Using Starndem
2.
Page 54
Chapter
5
Using Starndem
4.
Specify the *.DAT file to be downloaded by typing a complete path and file name in the File Name entry field or by clicking on the file name in the Files In list box. To change the list of *.DAT files shown, click on a different path from the Files In list box. After selecting a *.DAT file, click OK. The selected file is downloaded to the desired terminal.
Display Menu The Display menu controls the viewing of Starnode data collection as shown in Figure 5–17. FIGURE 5–17. Starnode Utility Window - Display Menu
Enable Display - When selected, all data collection transactions performed by the Starnode network are displayed as shown in Figure 5–18. FIGURE 5–18. Starnode Utility Window
Transmitted data - may include date and time Message length in bytes Terminal Type Terminal ID
The originating terminal's ID and type are shown, as well as the message length and the transaction data. If your program was written to include them, the transaction’s system time and date can be included in the record.
5-16
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 55
Controller I/O Base
Transaction data is shown first at the bottom of the screen. New transactions appear at the bottom of your PC's screen and older transactions are scrolled upward until they are no longer visible. To view previously collected transaction data, use the scroll bar to scroll back to the desired data. Similarly, if the collected transaction data is too long to be viewed, use the scroll bar to view the extreme right-most edge of transaction data records. In applications where data is being collected rapidly, a scanner, for example, the data display should be disabled completely or the Starndem Utility window should be re-sized so that only one or two lines of transaction data are visible. Either of these alternatives will allow messages to be collected faster. In addition, any multi-tasked programs running on the PC should run noticeably faster if the screen display is disabled.
As described previously, in applications where data is being collected rapidly, the data display should be disabled.
5
Clear Display - Clears the Starndem Utility's main display of all data shown.
Using Starndem
Disable Display - Any data collection transactions performed by the Starnode network are not shown on your PC's screen. If any transactions are performed on the network while the Display is disabled, none of the data is shown, even if the Display is subsequently re-enabled.
Status Menu The Status menu controls the viewing of various aspects of the Starnode data collection system's status on your PC's screen as shown in Figure 5–19. FIGURE 5–19. Starnode Utility Window - Status Menu
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual
5-17
Page 56
Chapter
5
Using Starndem
Terminal Status - Allows you to view a summary of the status of specific terminals in the network. Since multiple dialog boxes can be displayed, the status of more than one terminal can be viewed simultaneously. Open the Status menu and select Terminal Status to display the Terminal Status dialog box as shown in Figure 5–20. FIGURE 5–20. Terminal Status Dialog Box
Click the Terminal ID field. Type the number of the terminal whose status you wish to view. Depending on the type of Starnode controller, terminal numbers can be any positive integer between 0001 and 4095. Click Display to view the status. Each time you click Display, that window's status information is updated. When you are finished viewing the status, click Exit. For the terminal selected, the following information is displayed:
5-18
•
If Starnode successfully received any data from the terminal since the last network initialization
•
If Starnode successfully transmitted any data to the terminal since the last network initialization
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 57
Controller I/O Base
If Starnode received any NAKs or bad characters, or if any communication time-outs occurred while Starnode was sending data to the terminal
•
If any messages were NAK'd while Starnode received data from the terminal
•
If while receiving data from the terminal, the Starnode controller exceeded the maximum number of NAKs it is supposed to send and aborted out of the communication attempt
•
If while transmitting data from the terminal, the Starnode controller exceeded the maximum number of NAKs it is supposed to send and aborted out of the communication attempt
•
If a compiled program was successfully downloaded to the terminal since the last network initialization
•
If the terminal is in a Wait Acknowledge (WACK) state. This state indicates the terminal is still processing the last message. The terminal will leave the WACK state when it is ready to process another message.
When you have finished viewing statuses, click Exit to display the Starndem Utility main menu. Status Summary - Allows you to track various communication statistics. This information reflects the number of transmission attempts between terminals and the Starnode network, as well as the number of failures generated as a result of those transmission attempts. Open the Status menu and select Status Summary to display the Lan Status dialog box as shown in Figure 5–21.
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual
5-19
5 Using Starndem
•
Page 58
Chapter
5
Using Starndem
FIGURE 5–21. Lan Status Dialog Box
Every message transmitted over the Starnode network in some way changes the statistics in the LAN Status dialog box: either a message is sent successfully or it could not be sent. If a terminal is busy and fails to acknowledge a message, the Starnode controller re-transmits it up to 10 times. If all 10 attempts are unsuccessful, the controller gives up and reports an error. The statistics shown in the Lan Status dialog box are really a subset of a more complete status table. The comprehensive set of statistics can be viewed through the Status Table selection. The LAN Status dialog box reflects the following statistics:
5-20
•
The number of messages successfully sent to terminals since the last network initialization
•
The number of messages successfully sent to terminals that required six or more retries before communication was successful
•
The number of messages to terminals that could not be transmitted after 10 attempts
•
The number of messages successfully received from terminals since the last network initialization
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002
Page 59
Controller I/O Base
•
The number of messages received from terminals that required six or more retries before communication was successful
•
The number of messages from terminals that could not be transmitted after 10 attempts
•
The ID number of the last terminal to generate an error status
Each time you click the Display button, the LAN Status information is updated. When you are finished viewing the status, click Exit. Status Table - Provides access to detailed information about Starnode communications. Status Table is primarily used by SICK Auto Ident, Inc. during network troubleshooting. Open the Status menu and select Status Table to display the Starnode Status Table dialog box as shown in Figure 5–22. FIGURE 5–22. Starnode Status Table Dialog Box
Using Starndem
5
Lines 1 through 4 - These lines represent groups of 64 Starnode addresses. The digits shown, which should always be zeros, indicate the number of times that the Starnode controller received a positive response to a probe poll, but never received a message from a terminal in that group. A Starnode controller polls groups of 1024 Starnode-compatible terminals. If any terminal in the group of 1024 has a message, it responds to the probe poll. The controller then re-polls in groups of 256, then 64, until it isolates the responding terminal.
Rev B, February 2002
Starnode PC Data Collection Network Operator’s Manual
5-21
Page 60
Chapter
5
Using Starndem
The controller sends a synchronizing message, and the terminal has a predetermined amount of time in which to send its data. If this response window is missed, the terminal must wait until the next synchronizing message. The first (left-most) group of zeros in Line 1 indicates status for Starnode addresses 1 through 64, the second for 65 through 128, etc. Lines 5 through 8 - The second group of four lines indicates how may times a group of 64 Starnode addresses saw a positive response to a probe poll since the last network initialization. As with Lines 1 through 4, the first (left-most) group of zeroes in Line 1 indicates status for Starnode addresses 1 through 64, the second for 65 through 128, etc. Lines 9 through 12 - When a message is sent to a Starnode terminal, there can only be one of five possible responses: ACK, NAK, WACK, no answer at all, or unintelligible data. ACK acknowledges successful reception of a message.
5-22
•
NAK - Line 9 indicates how many NAKs (unsuccessful message attempts) were received by Starnode. The first number shows how many NAKs were received after one transmission attempt. The second number shows how many NAKs were received after two transmission attempts, etc. Normally, only the first two to four numbers are non-zero. If values are seen beyond the sixth position, check the Starnode cabling for layout and integrity.
•
WACK - Line 10 indicates how many times no response was received at all. The first number shows how many non-responses occurred after one transmission attempt. The second number shows how many after two transmission attempts, etc. Again, non-zero values should not appear beyond the fourth position.
•
Unintelligible Response - Line 11 shows how many times unintelligible responses were seen after one attempt, two attempts, etc.
•
Receive Errors - Line 12 shows the number of receive errors accumulated since the Starndem Utility was last started.
•
Line 13 - The first number in Line 13 shows the number of messages received by the Starnode controller. The second number in Line 13 reflects the number of messages sent by the controller. The third number is reserved for future use. The fourth number shows the total number of probe polls sent out.
•
Line 14 - Shows the terminal ID of the last terminal to report an error.
Starnode PC Data Collection Network Operator’s Manual Rev B, February 2002