Chapter 6. Service Request Function
GFK-2950C February 2018 341
SVC_REQ 57 Example
The following LD logic writes ten continuous bytes to nonvolatile storage, ranging from %G1 through
%G80. The value applied to IN1, 56, determines byte mode.
The parameter block starts at %R00050. The response words are returned to %R00056—%R00059.
Parameter Block for SVC_REQ 57 Example
Data type = %G (byte mode)
Address written from, low word
Address written from, high word
Storage disabled conditions are enforced
Reserved, must be set to 0
Response status. The low byte contains the major error
code; the high byte contains the minor error code.
Count of items written: Words, bytes or bits.
The number of bytes available in nonvolatile storage.