BSCDEMO User’s Guide DC 900-1349B Simpact, Inc.
Simpact, Inc. 9210 Sky Park Court San Diego, CA 92123 (619) 565-1865 BSCDEMO User’s Guide © 1996 Simpact, Inc. All rights reserved Printed in the United States of America This document can change without notice. Simpact, Inc. accepts no liability for any errors this document might contain. Freeway is a registered trademark of Simpact, Inc. All other trademarks and trade names are the properties of their respective holders.
Contents Preface 5 1 BSCDEMO Commands 11 A BSC 3270 Example 23 B BSC 2780/3780 Example 33 C FMP Example 41 D SWIFT Example 49 E CHIPS Example 57 DC 900-1349B 3
BSCDEMO User’s Guide 4 DC 900-1349B
Preface Purpose of Document This document describes how to use the BSCDEMO interactive demonstration program for Simpact’s bisynchronous protocols. Simpact’s customer support staff uses BSCDEMO when diagnosing problems with your Freeway software. If you have problems with your Freeway software, call Simpact at the customer support number given on page 9. The staff might ask you to run BSCDEMO after giving you special instructions for adapting it to your Freeway’s configuration.
BSCDEMO User’s Guide Organization of Document Chapter 1 is an overview of the BSCDEMO interactive commands. Appendix A is an example BSC 3270 output. Appendix B is an example BSC 2780/3780 output. Appendix C is an example FMP output. Appendix D is an example SWIFT output. Appendix E is an example CHIPS output.
Preface • • • ICP2424 Hardware Description and Theory of Operation DC 900-1328 ICP2432 Hardware Description and Theory of Operation DC 900-1501 ICP2432 Hardware Installation Guide DC 900-1502 Freeway Software Installation Support • • • • • • • • Freeway Release Addendum: Client Platforms DC 900-1555 Freeway User’s Guide DC 900-1333 Getting Started with Freeway 1100/1150 DC 900-1369 Getting Started with Freeway 1200 DC 900-1536 Getting Started with Freeway 1300 DC 900-1538 Getting Started
BSCDEMO User’s Guide Protocol Support • • • • • • • • • • • • • • • • ADCCP NRM Programmer’s Guide DC 900-1317 Asynchronous Wire Service (AWS) Programmer’s Guide DC 900-1324 Addendum: Embedded ICP2432 AWS Programmer’s Guide DC 900-1557 AUTODIN Programmer’s Guide DC 908-1558 Bit-Stream Protocol Programmer’s Guide DC 900-1574 BSC Programmer’s Guide DC 900-1340 BSCDEMO User’s Guide DC 900-1349 BSCTRAN Programmer’s Guide DC 900-1406 DDCMP Programmer’s Guide DC 900-1343 FMP Programmer’s Guid
Preface Revision History The revision history of the BSCDEMO User’s Guide, Simpact document DC 900-1349, is recorded below: Document Revision Release Date Description DC 900-1349A January 1996 Original release. DC 900-1349B September 1996 Updated when bscdemo files were moved to their own directory (freeway/client/test/bscdemo). Customer Support If you are having trouble with any Simpact product, call us at 1-800-275-3889 Monday through Friday between 8 a.m. and 5 p.m. Pacific time.
BSCDEMO User’s Guide 10 DC 900-1349B
Chapter 1 BSCDEMO Commands BSCDEMO is an interactive demonstration program for use with all Simpact bisynchronous protocols. BSCDEMO is invoked at your terminal by one of the following commands: bscdemo (UNIX platforms) run bscdemo (VMS platforms) The BSCDEMO command prompt is displayed: bscdemo> BSCDEMO commands have the following format: COMMAND[/OPTION[=VALUE] [LINK#[,LINK#,...]] [!COMMENT] where anything enclosed in brackets is optional.
BSCDEMO User’s Guide BSCDEMO can also be used to aid in debugging client applications. When registered as a Control session (available on the BSC 3270, BSC 2780/3780, FMP, SWIFT, and CHIPS protocols), you can check the link configuration, link statistics, link status and ICP message buffer size without affecting your client application. For more information about the Control session, see your particular programmer’s guide.
1: BSCDEMO Commands Table 1–1: BSCDEMO Commands and Options Command Option Description ATTACH Attach a client to a link. Mode field values are: 0 = Master 1 = Shared Master (or Read Session for BSC 3270 or BSC 2780/3780) 2 = Control 3 = Read Only (FMP) or Trace (BSC 2780/3780) BIND See the ENABLE command. BUFFER /CONFIGURE = n Configure the ICP message buffer size. BSCDEMO prompts for n if it is omitted. The command is sent to link 0.
BSCDEMO User’s Guide Table 1–1: BSCDEMO Commands and Options (Cont’d) Command 14 Option Description /P2 = n Clock source where valid values of n are: 0 = external 1 = internal 2 = bypass /P3 = n Reply timer length where valid values are n = 0–1800 seconds. /P4 = n Number of leading SYNCs where n = number of SYNCs sent out before a Bisync control or data sequence. Valid values are 2–8.
1: BSCDEMO Commands Table 1–1: BSCDEMO Commands and Options (Cont’d) Command DC 900-1349B Option Description /P10 = n Set data translation table where valid values of n are: 0 = off 1 = table 1 2 = table 2 /P11 = n Station status where valid values of n are: 0 = master 1 = slave /P12 = n Space compression where valid values of n are: 0 = off 1 = on /P13 = n Conversational mode where valid values of n are: 0 = off 1 = on /P14 = n Retry limit where valid values are n = 1–127.
BSCDEMO User’s Guide Table 1–1: BSCDEMO Commands and Options (Cont’d) Command 16 Option Description /P20 = n Block checking where valid values of n are: 0 = off 1 = exclude first character 2 = include first character 3 = SWIFT /P21 = n Read queue limit where valid values are n = 0–4096 (0 = no limit). /P22 = n EOM line control where valid values of n are: 0 = reverse line 1 = hold line 2 = permanent hold Available only on BSC 3780.
1: BSCDEMO Commands Table 1–1: BSCDEMO Commands and Options (Cont’d) Command Option Description /P30 = n DSR/DCD delay where valid values are n = 0–127 seconds. /P31 = n TTD/WACK limit where valid values are n = 1–8192 for SWIFT or 0-127 for BSC 3780. /P32 = n Disconnect timer length where valid values are n = 0–1800 seconds.
BSCDEMO User’s Guide Table 1–1: BSCDEMO Commands and Options (Cont’d) Command Option DISABLE STOP Description Disable a link. Turns off the DTR modem control signal and shuts down the link transmitter and receiver. Performs the UNBIND function for Freeway. /TRACE ENABLE START Disable trace node. Enable a link. Turns on DTR modem control signal and prepares link to transmit and receive data according to the current configuration. Performs the BIND function for Freeway.
1: BSCDEMO Commands Table 1–1: BSCDEMO Commands and Options (Cont’d) Command KSIZE SIZE Option =n Display current size of input and output buffers where n is the new output buffer size in bytes. This value must be less than or equal to the client message buffer size or a fatal error will be returned by the DLI when a write is attempted. Maximum is 2048. /READ = n Change input data size where n = size in bytes.
BSCDEMO User’s Guide Table 1–1: BSCDEMO Commands and Options (Cont’d) Command Option SEND Send EOT on link. /ACK Send a positive safe store acknowledge command (ACK0 or ACK1, size = 0). Used to accept a received data message when using the safe store option. See also INHIBIT/ACK command. /DISCONNECT Send disconnect (DLE EOT). /NAK Send a safe store negative acknowledgment command (size > 0). Used to reject a received data message when using the safe store option.
1: BSCDEMO Commands Table 1–1: BSCDEMO Commands and Options (Cont’d) Command Option WRITE Z DC 900-1349B Description Write to the specified link. The /FILE option is the default. /ESC Add simulated IBM 3780 print control sequences (/) at the beginning of each line. /FILE A text file on a disk is opened and its contents sent to the ICP. BSCDEMO prompts for the file name (maximum length of 80 characters). No special formatting is performed. Records are not split.
BSCDEMO User’s Guide 22 DC 900-1349B
Appendix A BSC 3270 Example BSCDEMO is in the freeway/client/test/bscdemo directory. The following example was run immediately after the communications server was downloaded with the BSC 3270 image. Comments are ignored. Links 0 and 1 are connected with a Simpact loopback connector. The computer output is shown here in typewriter type; your typed input is shown in bold italic type.
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 0 Received ATTACH COMPLETE (46) from link 1 bscdemo> b/c=1000 ! Change buffer size bscdemo> r 0 Received SET BUFFER SIZE bscdemo> l/b (5) from link 0 0 ! Request buffer report Received BUFFER REPORT (12) from link 0 MSG BUFFER SIZE = 1000, XMT BUFFER SIZE = 512, NUMBER OF LINKS = 16 464 BUFFERS FREE OUT OF 497 1 BUFFERS FREE OUT OF 1 HGQ COQ TCQ FCQ FXQ HIQ HOQ 0 0 0 0 0 0 0 LOQ LIQ TIQ DOQ HFQ HXQ 0 0 0
A: BSC 3270 Example 7 CHARACTER SET = 0(ASCII) 8 TRANSMIT BLOCK SIZE = 512 10 DATA TRANSLATION = 1(TABLE 1) 11 STATION STATUS = 1(MASTER) 13 CONVERSATION MODE = 0(OFF) 14 RETRY LIMIT = 3 15 POLL LIST DELAY = 0 16 MODEM CONTROL = 3(FDX-2) 17 SAFE STORE = 0(OFF) 18 STATION ID = 0 19 MESSAGE BLOCKING = 1(DATA) 20 BLOCK CHECKING = 1(EXCLUDE) 21 READ QUEUE LIMIT = 0 25 INTERPOLL DELAY = 0 27 3270 ADDRESSING = 1(ON) 30 DSR DELAY = 3 Received CONFIGURATION (6) from link 1 bscdemo>
BSCDEMO User’s Guide Write block size = 500 Read block size = 2048 bscdemo> e 0,1 ! Bind links Received START LINK (1) from link 0 Received START LINK (1) from link 1 bscdemo> p/l 0 ! Set poll list Enter CU numbers (-1 to 63) for poll list. CU = (-1 to 64): 0 CU = (-1 to 64): 64 Received POLL LIST (28) from link 0 Received ERROR REPORT (0) from link 0 Enter 64 to terminate.
A: BSC 3270 Example Received STATUS REPORT (13) from link 1 Link is ON Mode is IDLE DTR is ON DCD is ON RTS is ON CTS is ON RCV is OFF XMT is OFF Station up bits (in hex): DSR 00000001 is ON bscdemo> w/t/l 0 ! Send test data Input number of test blocks to send: Received DATA ACK Unit: 0 0 Device: 0 0 (7) from link 0 Device: Received DATA ACK Unit: 3 (7) from link 0 Received DATA ACK Unit: (1 to 32767): 0 (7) from link 0 Device: 0 bscdemo> r 1 Received NORMAL DATA-ETB Un
BSCDEMO User’s Guide 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456781 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQR Received NORMAL DATA-ETX Unit: 0 (17) from link 1 Device: 0 Size: 500 1>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQR
A: BSC 3270 Example Received STATISTICS RPT BCC errors rcvd: 0 Parity errors rcvd: 0 RCV overrun errors: 0 Buffer errors: 0 Messages xmitted: 0 Messages received: 1 ---------- Link: 1 (15) from link 1 CU: 0 ---------- NAKs transmitted: 0 NAKs received: 0 Poll timeouts: 0 Select timeouts: 0 bscdemo> i/c 17 ! Enable control session (must use node 17) Node number? (8 to 64): 17 CONTROL NODE ENABLED CONTROL> attach Mode = 0,1 ! Attach using control mode (-1 to 64): 2 2780/3780 = 0
BSCDEMO User’s Guide Received START LINK (1) from link 0 Received START LINK (1) from link 1 CONTROL> detach 0,1 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
A: BSC 3270 Example Received STOP LINK (2) from link 0 Received STOP LINK (2) from link 1 bscdemo> detach 0,1 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
BSCDEMO User’s Guide 32 DC 900-1349B
Appendix B BSC 2780/3780 Example BSCDEMO is in the freeway/client/test/bscdemo directory. The following example was run immediately after the communications server was downloaded with the BSC 2780/3780 image. Comments are ignored by BSCDEMO. Links 4 and 5 are connected with a Simpact loopback connector. The computer output is shown here in typewriter type; your typed input is shown in bold italic type.
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 4 Received ATTACH COMPLETE (46) from link 5 bscdemo> c/p11 4 ! Configure master station P11 (STATION STATUS): 0=SLAVE 1=MASTER (0 to 1): 1 bscdemo> r 4 Received CONFIGURATION bscdemo> e (6) from link 4 4,5 ! Bind links Received START LINK (1) from link 4 Received START LINK (1) from link 5 bscdemo> k ! Check current block sizes Write block size = 1024 Read block size = 2048 bscdemo> k=500 ! Change write block size Write b
B: BSC 2780/3780 Example 17 SAFE STORE = 0(OFF) 19 MESSAGE BLOCKING = 1(DATA) 20 BLOCK CHECKING = 1(EXCLUDE) 21 READ QUEUE LIMIT = 0 22 EOM LINE CONTROL = 0(REVERSE) 23 DATA ACK NODE = 0(OFF) 24 ALTERNATING ACK = 1(ON) 26 TTD/WACK = 1(ON) 28 RVI HANDLING = 0(CONTINUE) 30 DSR DELAY = 3 31 TTD/WACK LIMIT = 0 32 DISCONNECT TIMER = 0 35 MODEM TYPE = 1(SADL) 41 LINE TYPE = 0(LEASED) bscdemo> l 5 ! Request link configuration report Received CONFIG REPORT (14) from link 5 1 DATA R
BSCDEMO User’s Guide Data state: 0 Last DATA event: Last BSCISR event: 0 Received STATUS REPORT (13) from link 5 Link is ON Mode is IDLE DTR is ON DCD is ON RTS is ON CTS is ON RCV is OFF XMT is OFF Data state: 0 Last DATA event: Last BSCISR event: bscdemo> w/t/l 4 ! Send test data Received DATA ACK 0 0 Device: 0 3 0 (7) from link 4 Device: Received DATA ACK Unit: (1 to 32767): (7) from link 4 Received DATA ACK Unit: Null 0 Input number of test blocks to send: Unit
B: BSC 2780/3780 Example 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567
BSCDEMO User’s Guide Received STOP LINK (2) from link 4 Received STOP LINK (2) from link 5 CONTROL> e 4,5 Received START LINK (1) from link 4 Received START LINK (1) from link 5 CONTROL> detach 4,5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs. Error reading data -1 error# -10503 Error reading data -1 error# -10503 CONTROL> i/c CONTROL NODE DISABLED bscdemo> w/h/l 5 ! Send hex data Enter HEX characters without spaces. End with .
B: BSC 2780/3780 Example Received ERROR REPORT (0) from link 5 with ERROR 11 -- Data Set Ready (DSR) down **** Data Set Ready (DSR) down on link 5 **** bscdemo> r 5 Received STOP LINK bscdemo> detach 4,5 (2) from link 5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
BSCDEMO User’s Guide 40 DC 900-1349B
Appendix C FMP Example BSCDEMO is in the freeway/client/test/bscdemo directory. The following example was run immediately after the communications server was downloaded with the FMP image. Comments are ignored by BSCDEMO. Links 2 and 3 are connected with a Simpact loopback connector. The computer output is shown here in typewriter type; your typed input is shown in bold italic type.
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 0 bscdemo> b/c=512 ! Configure client Message Buffer Size (optional) ! Note: only available in bscdemo from link 0 bscdemo> r 0 Received SET BUFFER SIZE (5) from link 0 bscdemo> l/b 0 ! Get a Buffer Report.
C: FMP Example bscdemo> l 2,3 ! Get a Link Configuration Report Received CONFIG REPORT (14) from link 2 1 DATA RATE = 9(9600) 2 CLOCK SOURCE = 0(EXTERNAL) 4 NUMBER SYNCS = 3 5 PROTOCOL = 2(FMP) 6 PARITY = 1(ODD) 7 CHARACTER SET = 0(ASCII) 8 TRANSMIT BLOCK SIZE = 512 10 DATA TRANSLATION = 1(TABLE 1) 15 POLL LIST DELAY = 0 16 MODEM CONTROL = 3(FDX-2) 18 STATION ID = 0 19 MESSAGE BLOCKING = 1(DATA) 20 BLOCK CHECKING = 1(EXCLUDE) 21 READ QUEUE LIMIT = 0 24 ALTERNATING ACK = 0(OFF
BSCDEMO User’s Guide Write block size = 1024 Read block size = 2048 bscdemo> k=200 ! Change output buffer size Write block size = 200 Read block size = 2048 bscdemo> l/s 2,3 ! Status Report shows ready for transmission Received STATUS REPORT (13) from link 2 Link is ON Mode is 0 DTR is ON DCD is ON RTS is ON CTS is ON RCV is OFF XMT is OFF Reserved : 0 Reserved : Null Last DSR is : 1 Received STATUS REPORT (13) from link 3 Link is ON Mode is 0 DTR is ON DCD is ON RTS is ON CTS is ON RCV
C: FMP Example Received DATA ACK (7) from link 2 Unit: 0 Device: 0 bscdemo> r 3 ! To display data: Use r/i command, or ! use read command, followed by b/i command. Received TRNS REC DATA-ETX (23) from link 3 Unit: 0 Device: 0 Size: 205 3> *> END OF MESSAGE. Received TRNS REC DATA-ETX (23) from link 3 Unit: 0 Device: 1 Size: 205 3> *> END OF MESSAGE. Received TRNS REC DATA-ETX (23) from link 3 Unit: 0 Device: 2 Size: 205 3> *> END OF MESSAGE. bscdemo> w/h/l 3 Enter HEX characters without spaces.
BSCDEMO User’s Guide INPUT BUFFER (HEX 16): HEADER: 0 17 0 0 0 2 0 0 0 0 0 0 0 0 0 16 v-START OF DATA 0 14 0 0 0 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 bscdemo> i/c ! Enable control node (must use node 17) Node number? (8 to 64): 17 CONTROL NODE ENABLED ! Show how control node can be used for any legal type of extra clients CONTROL> attach 2 ! Attach a second Link 2 shared master client Mode = (-1 to 64): 1 2780/3780 = 0, 3270 = 1, FMP = 2, SWIFT = 3, CHIPS = 4 Protocol Type (0 to 4): 2 Rec
C: FMP Example Error reading data -1 error# -10503 Error reading data -1 error# -10503 CONTROL> i/c CONTROL NODE DISABLED bscdemo> d 2,3 Received STOP LINK (2) from link 2 Received STOP LINK (2) from link 3 bscdemo> detach 2,3,0 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
BSCDEMO User’s Guide 48 DC 900-1349B
Appendix D SWIFT Example BSCDEMO is in the freeway/client/test/bscdemo directory. The following example was run immediately after the communications server was downloaded with the SWIFT and CHIPS software. Comments are ignored by BSCDEMO. Links 4 and 5 are connected with a Simpact loopback connector. The computer output is shown here in typewriter type; your typed input is shown in bold italic type.
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 4 Received ATTACH COMPLETE (46) from link 5 bscdemo> c/p11 4 ! Configure master station P11 (STATION STATUS): 0=SLAVE 1=MASTER (0 to 1): 1 bscdemo> r 4 Received CONFIGURATION (6) from link 4 bscdemo> k ! Check current block sizes Write block size = 1024 Read block size = 2048 bscdemo> k=500 ! Change write block size Write block size = 500 Read block size = 2048 bscdemo> e 4,5 ! Bind links Received START LINK (1) from link
D: SWIFT Example 14 RETRY LIMIT = 2 16 MODEM CONTROL = 1(FDX) 17 SAFE STORE = 0(OFF) 19 MESSAGE BLOCKING = 1(DATA) 20 BLOCK CHECKING = 3(SWIFT) 21 READ QUEUE LIMIT = 0 23 DATA ACK NODE = 0(OFF) 24 ALTERNATING ACK = 1(ON) 28 RVI HANDLING = 1(ABORT) 30 DSR DELAY = 3 31 TTD/WACK LIMIT = 30 32 DISCONNECT TIMER = 24 41 LINE TYPE = 0(LEASED) 40 ELECTRIC INTERFACE = 0(EIA232) bscdemo> l 5 ! Request link configuration report Received CONFIG REPORT (14) from link 5 1 DATA RATE = 9(96
BSCDEMO User’s Guide Reserved : DSR 0 Reserved : Null is ON Received STATUS REPORT (13) from link 5 Link is ON Mode is IDLE DTR is ON DCD is ON RTS is ON CTS is ON RCV is OFF XMT is OFF Last event: Timer expired Reserved : DSR 0 Reserved : Null is ON bscdemo> w/t/l 4 ! Send test data Input number of test blocks to send: Received DATA ACK Unit: 0 0 Device: 0 0 (7) from link 4 Device: Received DATA ACK Unit: 3 (7) from link 4 Received DATA ACK Unit: (1 to 32767): 0 (
D: SWIFT Example 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQR 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWX
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 4 Received ATTACH COMPLETE (46) from link 5 CONTROL> d 4,5 Received STOP LINK (2) from link 4 Received STOP LINK (2) from link 5 CONTROL> e 4,5 Received START LINK (1) from link 4 Received START LINK (1) from link 5 CONTROL> detach 4,5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
D: SWIFT Example bscdemo> d 4,5 ! Unbind links Received STOP LINK (2) from link 4 Received STOP LINK (2) from link 5 bscdemo> detach 4,5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
BSCDEMO User’s Guide 56 DC 900-1349B
Appendix E CHIPS Example BSCDEMO is in the freeway/client/test/bscdemo directory. The following example was run immediately after the communications server was downloaded with the CHIPS software. Comments are ignored by BSCDEMO. Links 4 and 5 are connected with a Simpact loopback connector. The computer output is shown here in typewriter type; your typed input is shown in bold italic type.
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 4 Received ATTACH COMPLETE (46) from link 5 bscdemo> c/p11 4 ! Configure master station P11 (STATION STATUS): 0=SLAVE 1=MASTER (0 to 1): 1 bscdemo> r 4 Received CONFIGURATION bscdemo> e (6) from link 4 4,5 ! Bind links Received START LINK (1) from link 4 Received START LINK (1) from link 5 bscdemo> k ! Check current block sizes Write block size = 1024 Read block size = 2048 bscdemo> k=500 ! Change write block size Write b
E: CHIPS Example 14 RETRY LIMIT = 6 16 MODEM CONTROL = 1(FDX) 17 SAFE STORE = 0(OFF) 19 MESSAGE BLOCKING = 0(OFF) 20 BLOCK CHECKING = 1(EXCLUDE) 21 READ QUEUE LIMIT = 0 23 DATA ACK NODE = 0(OFF) 24 ALTERNATING ACK = 1(ON) 28 RVI HANDLING = 1(ABORT) 30 DSR DELAY = 3 41 LINE TYPE = 0(LEASED) 40 ELECTRIC INTERFACE = 0(EIA232) bscdemo> l 5 ! Request link configuration report Received CONFIG REPORT (14) from link 5 1 DATA RATE = 9(9600) 2 CLOCK SOURCE = 0(EXTERNAL) 3 REPLY TIMEOUT
BSCDEMO User’s Guide Received STATUS REPORT (13) from link 5 Link is ON Mode is IDLE DTR is ON DCD is ON RTS is ON CTS is ON RCV is OFF XMT is OFF Last event: Timer expired Reserved : DSR 0 Reserved : Null is ON bscdemo> w/t/l 4 ! Send test data Input number of test blocks to send: Received DATA ACK Unit: 0 0 Device: 0 0 (7) from link 4 Device: Received DATA ACK Unit: 3 (7) from link 4 Received DATA ACK Unit: (1 to 32767): 0 (7) from link 4 Device: 0 bscdemo> r 5 Rec
E: CHIPS Example Received NORMAL DATA-ETX Unit: 0 Device: (17) from link 5 0 Size: 500 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 5>ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEF
BSCDEMO User’s Guide Received ATTACH COMPLETE (46) from link 4 Received ATTACH COMPLETE (46) from link 5 CONTROL> d 4,5 Received STOP LINK (2) from link 4 Received STOP LINK (2) from link 5 CONTROL> e 4,5 Received START LINK (1) from link 4 Received START LINK (1) from link 5 CONTROL> detach 4,5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
E: CHIPS Example bscdemo> d 4,5 ! Unbind links Received STOP LINK (2) from link 4 Received STOP LINK (2) from link 5 bscdemo> detach 4,5 ! Detaching causes errors because the sessions ! are already closed when the dlRead occurs.
BSCDEMO User’s Guide 64 DC 900-1349B
BSCDEMO User’s Guide DC 900-1349B Customer Report Form We are constantly improving our products. If you have suggestions or problems you would like to report regarding the hardware, software or documentation, please complete this form and mail it to Simpact at 9210 Sky Park Court, San Diego, CA 92123, or fax it to (619) 560-2838. If you are reporting errors in the documentation, please enter the section and page number.
Simpact, Inc.