Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
EXTENDED REGISTER GROUPS<br />
EXAMPLE USAGE<br />
;<br />
; Testing the ANYBUS-S interface to the DMC2E.<br />
;<br />
;<br />
; Sets up an ECHO <strong>of</strong> 4 bytes.<br />
; Incoming data is echoed back on the Pr<strong>of</strong>ibus<br />
; Note. These names are only visible at compile time.<br />
; The two groups ABInMail and ABOutMail are arrays <strong>of</strong> 16bit integers.<br />
;<br />
;<br />
; DMC -> Fieldbus<br />
;<br />
.define ABInMail.MessageID = { 61, 0 }<br />
.define ABInMail.MessageInfo = { 61, 1 }<br />
.define ABInMail.Command = { 61, 2 }<br />
.define ABInMail.DataSize = { 61, 3 }<br />
.define ABInMail.FrameCount = { 61, 4 }<br />
.define ABInMail.FrameNumber = { 61, 5 }<br />
.define ABInMail.OffsetHigh = { 61, 6 }<br />
.define ABInMail.OffsetLow = { 61, 7 }<br />
; Pr<strong>of</strong>ibus<br />
.define PBIn.InIOLen = { 61, 16 }<br />
.define PBIn.InDPRAMLen = { 61, 17 }<br />
.define PBIn.InTotalLen = { 61, 18 }<br />
.define PBIn.OutIOLen = { 61, 19 }<br />
.define PBIn.OutDPRAMLen = { 61, 20 }<br />
.define PBIn.OutTotalLen = { 61, 21 }<br />
; Generic<br />
.define ABInMail.ModuleStatus = { 61, 22 }<br />
.define ABInMail.IrqNotify = { 61, 23 }<br />
;<br />
; Fieldbus -> DMC<br />
;<br />
.define ABOutMail.MessageID = { 62, 0 }<br />
.define ABOutMail.MessageInfo = { 62, 1 }<br />
.define ABOutMail.Command = { 62, 2 }<br />
.define ABOutMail.DataSize = { 62, 3 }<br />
.define ABOutMail.FrameCount = { 62, 4 }<br />
.define ABOutMail.FrameNumber = { 62, 5 }<br />
.define ABOutMail.OffsetHigh = { 62, 6 }<br />
.define ABOutMail.OffsetLow = { 62, 7 }<br />
.define ABOutMail.Error = { 62, 15 }<br />
.register rOnLine<br />
.register rProtNumber<br />
.register rTmp91,rTmp92,rTmp93<br />
.register tmp10, tmp20<br />
SAnyBus<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />
179