12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DataThe data byte contains ei<strong>the</strong>r data or status information, depending upon <strong>the</strong> contentsof <strong>the</strong> control byte.A data transfer caused by a read command always involves receiving <strong>the</strong> data byte twicefrom <strong>the</strong> area station, once in each of two frames. Thus, input data can be checked foraccuracy without special checking logic in <strong>the</strong> area station.Data transferred as a result of a write command is also checked for accuracy bytransmitting it to an area station and <strong>the</strong>n receiving <strong>the</strong> data back from <strong>the</strong> area station.If <strong>the</strong> data received is <strong>the</strong> same as <strong>the</strong> data transmitted, <strong>the</strong> area station is <strong>the</strong>ncommanded to print <strong>the</strong> data or turn on a specified indicator light.Commands and ResponsesThe control byte of each transmission frame contains coding and responses to all commands.<strong>All</strong> commands, which are generated by <strong>the</strong> <strong>System</strong>/7 program, are sent from <strong>the</strong> 2790Control to an area station, whereas all responses are returned from an area station to <strong>the</strong> 2790Control. Thus, a control byte transmitted from <strong>the</strong> 2790 Control should contain a responsewhen that command is received in <strong>the</strong> 2790 Control.Each command and response is represented by two hexadecimal digits corresponding to <strong>the</strong>coding within <strong>the</strong> eight-bit control byte. The first hexadecimal digit (four high-order bitsof <strong>the</strong> control byte) is called <strong>the</strong> area station response digit. The second hexadecimal digit(four low-order bits of <strong>the</strong> control byte) is called <strong>the</strong> command digit. This command digitis fur<strong>the</strong>r divided into a two-bit modifier and a two-bit op code as shown in Figure 13-5.Bit 0 of <strong>the</strong> response field is turned on to indicate that a frame is being sent by <strong>the</strong> 2792to <strong>the</strong> remote loop and a response is pending.Command frames are easily distinguished from response frames because <strong>the</strong> response digitis zero for all commands, but nonzero for all responses as shown in Figure 13-5. Thereare several commands in each of <strong>the</strong> three major command categories: read, write, andcontrol. In addition, <strong>the</strong>re is at least one valid response for each of <strong>the</strong> commands.Note: When power is initially applied to <strong>the</strong> area stations, <strong>the</strong>y are in <strong>the</strong> bypass modeof operation. (This mode is explained later in this chapter.) The controlling program mustissue control commands to restore discrete area stations, or a single control commandaddressed so as to restore all area stations. The restore operation inserts <strong>the</strong> areastation(s) into <strong>the</strong> transmission loop.1 3 1,111R! WUTIMIV! !PM linpqr

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!