User`s manual
DSM314 COMM REQ
GFK-1742A Appendix B DSM314 Communications Request Instructions B-19
B
Section 5: COMM REQ Ladder Logic Example
The following ladder logic example is based upon the Parameter Load COMM REQ example in
the previous section. Refer to the table on the previous page for the Command Block listing.
Setting up the COMM REQ Command Block Values
The next two rungs load the appropriate values into the first seven words of the COMM REQ’s
Command Block.
%
R00195 – Status Word pointer = 99
%
R00196 – Data Block header = 4
%
R00197 – Wait/No Wait flag = 0
%
R00198 – Memory type (%R) = 8
%
R00199 – Status Word register = 194
%
R00200 – Always zero = 0
%
R00201 – Always zero = 0
In the following two rungs, the remainder of the Command Block data is loaded. This data
is listed next:
%R00202 – Command. For DSM, it’s always = E501 (hex)
%R00203 – Parameter data size, in bytes = 68
%R00204 – Memory type code for %R memory = 8
%R00205 – Starting register for Parameter Data (offset by one) = 205
%R00206 – Starting Parameter Number = 1
%R00207 – Number of Parameters to send = 16
%R00208 - %R00239 – Parameter data to be sent