Primitive Examples
E-1
TIWAY 1 TI505 NIM User Manual
Appendix
E
Primitive Examples
The following TIWAY I Primitive example reads four words of variable memory from a
Series 505 P/C, starting at memory location 100 (hex = 64). The format for the request
follows:
Request: LLLL 20 TT NNNN AAAA = 0006 20 01 0004 0064, where:
LLLL (Length) = 0006
Primitive Code = 20
TT (Data Type) = 01 (V, variable memory)
NNNN (Number of locations) = 0004
AAAA (Address, data element location) = 0064
Response: LLLL 20 HH DD ... DD = 000A 20 00 8464 8665 A001 01F4
LLLL (Length) = 000A
Primitive Code = 20
HH (Status) = 00 (unit operational and executing logic)
DDDD ... (values read from V memory)
V0100 = 8464
V0101 = 8665
V0102 = A001
V0103 = 01F4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com