14.08.2013 Views

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

snap ethernet-based i/o units protocols and programming guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bytes 0–3<br />

Bytes 4–7<br />

Bytes 8–11<br />

Bytes 0–3<br />

Bytes 4–7<br />

Bytes 8–11<br />

Bytes 0–3<br />

Bytes 4–7<br />

Bytes 8–11<br />

Bytes 12–15<br />

Bytes 0–3<br />

Bytes 4–7<br />

Bytes 8–11<br />

Bytes 12–15<br />

CHAPTER 4: USING THE IEEE 1394-BASED PROTOCOL<br />

Write Quadlet or Block Response<br />

T-code = 2<br />

Read Quadlet Request<br />

Tcode = 4<br />

Read Quadlet Response<br />

Read Block Request<br />

destination_ID tl rt tcode pri<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0<br />

source_ID rcode reserved<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

reserved<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

destination_ID tl rt tcode pri<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0<br />

source_ID destination_offset<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

destination_offset<br />

Tcode = 6<br />

destination_ID tl rt tcode pri<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0<br />

source_ID rcode reserved<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

reserved<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

quadlet_data<br />

Tcode = 5<br />

destination_ID tl rt tcode pri<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0<br />

source_ID<br />

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0<br />

destination_offset<br />

destination_offset<br />

data_length extended_tcode<br />

96 SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!