wszyscy myślą, że to dno. ale na dnie tak nie wieje...

18
Printout and Loading of a correction in the SDT.
The new instruction address is listed as passive address (PASSADDR), see Figure 3.19.
<PCSDP:BLOCK=MMM,SIGNAL=ASSIGNTCH;
SIGNAL DISTRIBUTION TABLE
BLOCK
SUID
MMM
4942/CAA 107 8829/M52C R1A07
LSN
SATTR
SIGNAL
ACTADDR
PASSADDR
S
CI
7
SI-M
ASSIGNTCH
H’015A
H’0155
P
TEST2
END
Figure 3.19
Printout of the passive correction loaded in the SDT
After activation (PCORI) and confirmation (PCORS), active and passive addresses will be swapped and the correction state will consequently change to “A” respective “C”, see Figure 3.20.
69
Program Corrections and ASA
<PCORI:BLOCK=MMM,SIGNAL=ASSIGNTCH;
PCORI:BLOCK=MMM,SIGNAL=ASSIGNTCH;
<;
EXECUTED
<PCORS:BLOCK=MMM,SIGNAL=ASSIGNTCH;
PCORS:BLOCK=MMM,SIGNAL=ASSIGNTCH;
<;
EXECUTED
<PCSDP:BLOCK=MMM,SIGNAL=ASSIGNTCH;
SIGNAL DISTRIBUTION TABLE
BLOCK
SUID
MMM
4942/CAA 107 8829/M52C R1A07
LSN
SATTR
SIGNAL
ACTADDR
PASSADDR
S
CI
7
SI-M
ASSIGNTCH
H’0155
H’015A
C
TEST2
END
Figure 3.20
Activation and Confirmation of correction loaded in the SDT
Corrections in the Signal Sending Table
The Signal Sending Table is used to store the Global Signal Number (GSN) of outgoing signals from a block. The table is addressed with a Signal Sending Pointer (SSP) which is a part of the signal instruction. With the help of the GSN, the Global Signal Distribution Table can be addressed, from which the Block Number Receiving (BN-R) and the Local Signal Number (LSN) can be fetched. Two different GSDTs exist, one for unique signals and one for multiple signals. For multiple signals, the block number of the receiving block is pointed out by a register in the signal sending instruction (see Chapter 2 for more information).
The command used for corrections in the SST is PCSSL. The command writes the new signal name in the SST and stores both the old and the new signal names in the correction area. This allows a switch back to the old data if the correction does not cure the problem or in case of a system restart.
The signal name is stored as a string that also gives a reference to the GSN
of the signal. If the signal does not exist, the correction will be rejected with a fault code. New signals can be defined, or characteristics of existing signals can be changed, with the command LASAL.
70
Correction Handling
The SST can be printed with command PCSSP. A correction in the SST is activated, confirmed, deactivated and removed with the same commands, PCORI and PCORS, as for the corrections in the program code.
Corrections in the SST are required if
• the wrong signal indicated by a SSP pointing out of the block
• a new outgoing signal to a (new) block is to be inserted Figure 3.21 shows how a correction in the Signal Sending Table is made.
PS
Signal Distribution Table
1
Signal Sending Table
.
.
.
.
OUTSIG
New Signal
x
.
.
.
.
Program
Label
Correction
Old Signal Name
Area
New Signal Name
Figure 3.21
A correction in the Signal Sending Table.
An Example of a Correction in the SST
The wrong signal is sent at position SSP=44 in the SST of block MMM.
The outgoing signal RINDNUMR must be replaced with signal CONTINUEC. The Global Signal Number is not printed but is instead used to point out the name of the signal (and in the case of a unique signal, also the destination block, DBLOCK), see Figure 3.22. This is possible, since each 71
Program Corrections and ASA
signal received its own unique GSN during the initial load of the system, and because signal names are also unique between APT and APZ.
<PCSSP:BLOCK=MMM,SSP=44;
SIGNAL SENDING TABLE
BLOCK
SUID
MMM
4942/CAA 107 8829/M52C R1A07
SSP
SATTR
SIGNAL
DBLOCK
S
CI
44
SI-M
RINDNUMR
-
END
<PCSSL:BLOCK=MMM,SSP=44,SIGNAL=CONTINUEC,CI=TEST3; PCSSL:BLOCK=MMM,SSP=44,SIGNAL=CONTINUEC,CI=TEST3;
<;
EXECUTED
Figure 3.22
Printout and Loading of a correction in the SST.
As the new signal CONTINUEC is already used by other blocks, it does not need to be defined with the command LASAL before the signal correction.
The new signal is referred to by its name in command PCSSL. The new signal is listed below the old signal to be replaced (Figure 3.23).
<PCSSP:BLOCK=MMM,SSP=44;
SIGNAL SENDING TABLE
BLOCK
SUID
MMM 4942/CAA 107 8829/M52C R1A07
SSP
SATTR
SIGNAL
DBLOCK
S
CI
44
SI-M
RINDNUMR
-
CONTINUEC
-
P
TEST3
END
Figure 3.23
Printout of the passive correction loaded in the SST.
After activation (PCORI) and confirmation (PCORS), the signals will swap and the correction state will consequently change to “A” respective
“C” (Figure 3.24).
72
Correction Handling
<PCORI:BLOCK=MMM,SSP=44;
PCORI:BLOCK=MMM,SSP=44;
<;
EXECUTED
<PCORS:BLOCK=MMM,SSP=44;
PCORS:BLOCK=MMM,SSP=44;
<;
EXECUTED
<PCSSP:BLOCK=MMM,SSP=44;
SIGNAL SENDING TABLE
BLOCK
SUID
MMM 4942/CAA 107 8829/M52C R1A07
SSP
SATTR
SIGNAL
DBLOCK
S
CI
44
CONTINUEC
-
C
TEST3
SI-M
RINDNUMR
-
END
Figure 3.24
Activation and Confirmation of correction loaded in the SST.
Note that non -P2 revised control systems (for instance APZ 211 10) use different commands for corrections in SDT and SST. Command PCOSL is used here to change entries in both the SDT and the SST. Command PCOSP is used to print both the SDT and the SST. Please check the command descriptions to select the proper parameters.
Corrections in Code after Combined Backward Signals To avoid a common fault for corrections after the reception of one or more combined backward signals, the following should provide adequate information. Data words in Combined Backward Signals are not stored in RM
in the common order PR0, DR0, DR1... etc.