Chapter 6. Service Request Function
GFK-2950C
February 2018
339
6.33.14
Parameter Block for SVC_REQ 57
0
Memory type. Refer to
1
The zero-based offset N to write to nonvolatile storage. Contains the complete offset for any
memory area except %W, which also requires the use of a 2 for offsets greater
than 65,535.
▪
For %I, %Q, %M, %T, and %G memory in byte mode, N = (Ra - 1) / 8, where Ra = one-based
reference address. For example, to read from the one-based bit reference address %T33,
enter the byte offset 4: (33 - 1) / 8 = 4.
▪
For %W, %R, %AI, and %AQ memory, and for %I, %Q, %M, %T, and %G memory in bit mode,
N = Ra - 1. For example, to read from the one-based reference address %R200, enter the
zero-based reference offset 199; to read from %I73 in bit mode, enter offset 72. For
memory-in-bit mode, the offset must be set on a byte boundary, that is, a number exactly
divisible by 8: 0, 8, 16, 24, and so on.
2
3
Length. The number of items to write to nonvolatile storage beginning at the reference address
calculated from the offset defined at [a 1 and a 2]. The length can be one of the
following:
Description
Valid range
The number of words (16-bit registers) to read
from %W, %R, %AI, or %AQ nonvolatile storage
1 through 32 words
The number of bytes to read from %I, %Q, %M, %T,
or %G in byte mode nonvolatile storage
1 through 64 bytes
The number of bits to read from %I, %Q, %M, %T,
or %G in bit mode nonvolatile storage
1 through 512 bits in
increments of 8 bits
The value must reside in the low byte of a 3. The high byte must be set to zero.
A 4
are ignored. A write is allowed even if the
logic in RAM has changed since nonvolatile storage was read or written.
Bits 1 through 15 must be set to zero; otherwise, the write fails.
5
Reserved. Value must be set to zero.
6
Response status. The low byte contains the major error code; the high byte contains the minor
error code.
7
Count of items written: Words, bytes or bits. Calculated from the first word that changed to the
end of the array.
8
The number of bytes available in nonvolatile storage.
9
10
Reserved.
11
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...