Chapter 6. Service Request Function
334
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
SVC_REQ 56 Example
The following LD logic reads ten continuous bytes written to nonvolatile storage from %G1
—
%G80
into %G193
—
%G273. The value applied to IN1, 56, selects byte mode.
The parameter block starts at %R00040. The response words are returned to %R00049 and
%R00050.
Parameter Block for SVC_REQ 56 Example
A Offset Address
Input Value Definition
0
%R00040 56
Data type = %G (byte mode)
1
%R00041 0
Address written from, low word
2
%R00042 0
Address written from, high word
3
%R00043 10
Length = 10 bytes
4
%R00044 56
Data type to write to = %G (byte mode)
5
%R00045 24
Address to write to, low word
6
%R00046 0
Address to write to, high word
7
%R00047 0
Storage disabled conditions are enforced
8
%R00048 0
Reserved, must be set to 0
9
%R00049 NA
Response status.
10
%R00050 NA
Response count.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...