JX2-PROFI1
8 Sample Programs
58
Jetter AG
;transmit these data to the master
CALL sTestDiag
REGISTER_LOAD (rPB_DiagLen, 10)
;no user data
REGISTER_LOAD (rPB_Command, 7)
;simple diagnose
RETURN
;
;
TASK tAcyclServices
WHEN
BIT_SET (rPB_Status, 3)
;the master operates the module
(
BIT_SET (rPB_Status, 4)
;read request
OR
BIT_SET (rPB_Status, 5)
;write request
)
THEN
IF
BIT_SET (rPB_Status, 4)
;read request
THEN
CALL suAcyclDSL
THEN
IF
BIT_SET (rPB_Status, 5)
;write request
THEN
CALL suAcyclDSS
THEN
GOTO tAcyclServices
;
LABEL suAcyclDSL
;read data block
;here, the slot address and the index can be
;evaluated and command 12 can be issued
;if required
REG 100
;calculate the number of words
=
REG rPB_DSLLen
+
1
/
2
Содержание JetWeb JX2-PR0FI1
Страница 1: ...Article 608 641 01 November 2002 Printed in Germany ...
Страница 4: ...JX2 PROFI1 Table of Contents Jetter AG 4 ...
Страница 13: ...1 Safety Instructions JetWeb 13 Jetter AG ...
Страница 14: ...JX2 PROFI1 2 Physical Dimensions Jetter AG 14 2 Physical Dimensions Fig 2 Front View JX2 PROFI1 ...
Страница 15: ...JetWeb 15 Jetter AG Fig 3 Side View JX2 PROFI1 Fig 4 Top View JX2 PROFI1 ...
Страница 19: ...JetWeb 19 Jetter AG ...
Страница 21: ...JetWeb 21 Jetter AG ...
Страница 23: ...JetWeb 23 Jetter AG 5 3 Features ...
Страница 43: ...JetWeb 43 Jetter AG ...
Страница 45: ...JetWeb Jetter AG 45 ...
Страница 61: ...JetWeb Jetter AG 61 43 rPB_DiagData1 12146 44 rPB_DiagData2 12147 45 46 rPB_DataIn 12300 47 rPB_DataOut 12400 ...
Страница 62: ...JX2 PROFI1 8 Sample Programs 62 Jetter AG ...
Страница 63: ...JX2 PROFI1 Appendices Jetter AG 63 Appendices ...