EasyManua.ls Logo

Emerson DSM314 - B-3.2 the UDT COMM REQ Command Block

Emerson DSM314
519 pages
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...
User Manual Appendix B
GFK-1742F Jan 2020
DSM314 Communications Request Instructions 399
B-3.2 The UDT COMM REQ Command Block
Table 84: User Data Table Command Block
User Data TableCOMM REQ Command Block for DSM314 Module
Description
Address Offset
Word No. and Value
Data Block Header Length
Address + 0
Word 1, always set to 4
WAIT/NOWAIT Flag
Address + 1
Word 2, always set to 0
Status Word Memory Type (see Status
Word Memory Type Codes table below)
Address + 2
Word 3, chosen by user (see
Memory Type Codes table, below)
Status Pointer Offset
Address + 3
Word 4, chosen by user
Idle Timeout Value
Address + 4
Word 5, always set to 0
Maximum Communication Time
Address + 5
Word 6, always set to 0
Command Code
Address + 6
Word 7, see Command Code Table
Parameter Data Size, in bytes
Address + 7
Word 8, always 2048.
Memory Type for Host Controller Data
Address + 8
Word 9, chosen by user (see
Memory Type Codes table, below)
Start of Host Controller Data (Data Offset)
Address + 9
Word 10, chosen by user
Data Block Length (Word 1): The length of the Data Block header portion of the Command
Block. It should be set to 4. The Data Block header is stored in Words 7 through 10 of the
Command Block
WAIT/NOWAIT Flag (Word 2): This must always be set to logic zero for the DSM.
Status Word Memory Type (Word 3): This word specifies the memory type that will be used
for the Status Word. Each memory type has its own specific code number, shown in the
Memory Type Codes table below. So, for example, if you want to use %R memory for the
Status Word, you would put either the decimal code number 8 or the hexadecimal code
number 08h in this word.
Note that if you select a discrete memory type (%I or %Q), 16 consecutive bits will be
assigned to the Status Word, beginning at the address specified in the Status Word Pointer
Offset word, described below.
Table 85: Status Word Memory Type Codes
Memory Type
Abbreviation
Memory Type
Code Number to Enter
Decimal
Hexadecimal
%I
Discrete input table
70
46h
%Q
Discrete output table
72
48h
%R
Register memory
8
08h
%AI
Analog input table
10
0Ah
%AQ
Analog output table
12
0Ch

Table of Contents

Related product manuals