EasyManua.ls Logo

Telemark 880 - Page 247

Telemark 880
278 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
p
Model 880 DEPOSITION CONTROLLER
y
SECTION 6.XX
e page 246 of 276 ^
Parameters: [1,2,3]
Description: If the parameter is 1 or 2 then the Model 880 is commanded to select the 'A' or 'B' I/O
program memory, respectively. This has utility like the SWAP command of the user interface but is explicit
as to the desired active program selection. If the parameter is a 3 then the command queries the I/O
program and replies with a response indicating the condition of the active I/O program. The condition
information includes which bank is active (A or B), what if any errors exist with the I/O program (see error
codes below) and what the I/O program space CRC checksum is. The checksum is a code which is derived
from the symbolic contents (and order) of the rung information and can be used to identify (via signature
value) the I/O program contents. Any changes to the I/O program will result in a modified CRC value. In
this way a quick check of the authorized I/O program can be made without a rung by rung comparison with
a source document. If the number is the same as recorded for the authorized version then it is safe to
assume the program is the intended authorized version.
List of I/O error codes
0 IOERR_GOOD No error, I/O program has acceptible syntax.
1 IOERR_UNREC Unrecognized format for tokens.
2 IOERR_2DEEP Stack nested too deep.
3 IOERR_UNFLW Stack underflow, nothing to pop.
4 IOERR_BADNID Bad node id, wrong # .
5 IOERR_BADMIX Wrong opcode in mix with #.
6 IOERR_PHASE Conflict between usages.
7 IOERR_UNBAL Unbalanced set/clear.
8 IOERR_UNRFI Unreferenced input, being read with nothing to write to it.
9 IOERR_EMPTY Nothing on line at all.
10 IOERR_OUTMM Out of memory.
Returns:
If Q1 or Q2 sent:
[RZCD_AOK]
If Q3 sent:
[RZCD_AOK][err_no] space [bank_code][crc_value]
where err_no is 0..10 (see chart above)
bank_code is either 'A' or 'B'.
crc_value is 1 to 5 digits, ranging from 0 (for blank program) through 65535, depending
on result of 16 bit CRC on rung data.
[RZCD_ILDV] if improper value for parameter arguments.
[RZCD_ILSN] if too many arguments, wrong delimiters, etc..
______________________________________________________________________
Command: R
Mnemonic: EXCT_ioins (I/O insert blank rung)
Parameters: [1..LASTRUNG]
Description: Commands the STC to place an empty rung ({ }) into the active I/O program at rung
number specified, forcing current occupant of the rung and any others after it to be renumbered one higher.
Used to make a gap in rung list so can place useful rung data in proper sequence or location as program
maintenance causes changes in rung contents.
Returns:
[RZCD_AOK] if rung number is valid (between 1 and current end rung)
[RZCD_INHB] if rung number is beyond the "END" last rung identifier.
Use the M999 query which returns "[RZCD_AOK].END nn" to identify the last rung
available for empty rung insert.
[RZCD_ILSN] if too many arguments, wrong delimiters, etc..
______________________________________________________________________
Command: S
Mnemonic: EXCT_iosav (I/O save active bank to alternate)

Table of Contents