User`s manual
B-10 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
B
The UDT COMM REQ Command Block
Table B-3. 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 PLC Data
Address + 8
Word 9, chosen by user
(see
Memory Type Codes table, below)
Start of PLC 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 B-4. Status Word Memory Type Codes
COMM REQ Status Word Memory Type Codes
Code Number to Enter
Memory Type
Abbreviation
Memory Type
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