Diagnose 7.6.1 Registers for Diagnose Data 7.6.2 Commands for the Transmission of Diagnose Data 7.6.3 Transmission of Diagnose Data from the Master’s Point of View 48 7.6.4 Survey of the Entire Range of Diagnose Data Registers Sample Programs Jetter AG...
Page 3
Table of Contents JetWeb List of Appendices Appendix A: List of Illustrations Appendix B: Index Jetter AG...
Page 5
JetWeb Edition 2.0 Jetter AG reserves the right to make alterations to its products in the interest of technical progress. These alterations need not be documented in every single case. This manual and the information contained herein have been compiled with due diligence.
Page 7
Missing or inadequate knowledge of the manual results in the loss of any claim of liability on part of Jetter AG. Therefore, the operating company is recommended to have the instruction of the persons concerned confirmed in writing.
Decommissioning and Disposal of the JX2-PROFI1 Module Decommissioning and disposal of the JX2-PROFI1 module are subject to the environmental legislation of the respective country in effect for the operator's premises. Jetter AG...
Page 9
· / - Enumerations are marked by full stops, strokes or scores. Operating instructions are marked by this arrow. Automatically running processes or results to be achieved are marked by this arrow. Illustration of PC and user interface keys. Jetter AG...
For safety reasons, no modifications and changes to the JX2-PROFI1 module and its functions are permitted. Any modifications to the module not expressly authorised by the manufacturer will result in a loss of any liability claims to Jetter AG. The original parts are specially designed for the JX2-PROFI1 module. Parts and equipment of other manufacturers are not tested on our part, and are, therefore, not released by us.
Only use metallised connectors, e.g. SUB-D with metallised housing. Please take care of direct connection of the strain relief with the housing here as well (refer to Fig. 1). Fig. 1: Shielding of SUB-D connectors in conformity with the EMC standards. Jetter AG...
Only use cables which have been specified as cable type A in the PROFIBUS Danger Standard EN 50 170. The maximum cable lengths defined in the PROFIBUS Standard EN 50 170 must be maintained. Jetter AG...
10 frequency sweeps (sinusoidal), all three spatial axes Shock Resistance 15 g occasionally, 11 ms, DIN EN 61131-2 sinusoidal half-wave, 2 shocks DIN EN 60068-2-27 in all three spatial axes Degree of Protection IP20, rear: IP10 DIN EN 60529 Jetter AG...
Page 17
AM 80 % with 1 kHz Criterion A Electro-magnetic HF Frequency 900 +/- 5 MHz DIN EN 50082-2 field, pulse- Test field strength 10 V/m DIN EN 61000-4-3 modulated 50 % ON period Repetition frequency 200 Hz Criterion A Jetter AG...
Page 18
DIN EN 61000-4-6 AM 80 % with 1 kHz Source impedance 150 Ohm Criterion A Burst Test voltage 2 kV DIN EN 61131-2 tr/tn 5/50 ns DIN EN 61000-6-2 Repetition rate 5 kHz DIN EN 61000-4-4 Criterion A Jetter AG...
Male connector SUB-D, 9 pins system bus Connections Power supply: screw terminals Profibus: female connector SUB-D, 9 pins Enclosure Metal Dimensions (H x W x D in mm) 115 x 105 x 69 Mounting DIN Rail Heat loss 0.3 Watt Jetter AG...
DGND Data transfer potential (ground to 5 V) Supply voltage of the terminating resistors - P, (P5V) RxD / TxD-N Receive data / Sending data - negative Fig. 5: Pin assignment of the male SUB-D 9-pin PROFIBUS connector Jetter AG...
PROFI module (bit 0 through 2) and established communication with the PROFIBUS master (bit 3). If the connection with the master has been established properly, the following actions can be taken via the registers (see also Fig. 6: "Diagram: PPLC - PROFIBUS communication via registers", 24): Jetter AG...
Page 26
5 The Communication Module JX2-PROFI – Data can be exchanged via the input and output registers. – Data can be read or written. – Diagnose telegrams can be sent. – The status of the PROFIBUS can be monitored. Jetter AG...
1m135 Status of the baud rate monitoring 1m136 Error number of the PROFIBUS initializing 1m139 Pending diagnose command 1m140 Width of the diagnose data (number of bytes) 1m141 ... 1m145 System diagnose data (word mode, low byte first) Jetter AG...
Page 28
1m232 ... 1m241 System parameter data (byte mode) 1m242 ... 1m263 User parameter data (byte mode) 1m264 ... 1m295 Configuration data (byte mode) 1m300 ... 1m999 Register range of the data exchange registers Ro: Read only RW: ReadWrite Jetter AG...
At the end of the initialization phase, it will be reset again. The same applies to command 5. After writing the station address, this bit will remain set, until the PROFIBUS controller has been initialized completely. no error Jetter AG...
Page 30
The "read data block" request of the master is confirmed by NOT OK. The "write data block" request of the master is confirmed by OK. The "write data block" request of the master is confirmed by NOT OK. Value range: 0 .. 255 Value after reset: Jetter AG...
Page 31
Value range: 0 .. 122 Value after reset: When initializing of the module by writing the station address has been completed, this register cannot be written into any more. The values that are entered after this will be discarded. Jetter AG...
Page 32
Value range: 300 .. 999 Value after reset: When initializing the module by entering the station address has been completed, writing into this register will not be possible any more. The values entered after this will be discarded. Jetter AG...
Page 33
"write data block" request is made. Two bytes will be stored in each register. The memory of the PROFIBUS controller is limited. This limit is dependent on the entire module configuration (cyclic and acyclic data exchange) and can thus decrease accordingly (see 6.2). Jetter AG...
Page 34
Register 1m117 contains the number of words, i.e. the size of this range. This means that after reset, registers 1m800 to 1m803 can contain the data transmitted by the master. An extensive description of various configuring possibilities can be found in chapter 6.1 "Buffer Configuration". Value range: 300 .. 999 Jetter AG...
Page 35
This register will be set by the PROFIBUS-DP master; it cannot be written into. Value range: 0 .. 254 Value after reset: Jetter AG...
Page 36
In case of a "write data block" request, the PROFIBUS-DP master will store the data block index which has been written into the data range in this register. This register will be set by the PROFIBUS-DP master; it cannot be written into. Value range: 0 .. 254 Value after reset: Jetter AG...
Page 37
In this register, the baud rate recognized last will be stored. Register Value Baud Rate 12 MBaud 6 MBaud 3 MBaud 1.5 MBaud 500 kBaud 187.5 kBaud 93.75 kBaud 45.45 kBaud 19.2 kBaud 9.6 kBaud This is a read-only register and must thus not be written into. Jetter AG...
Page 38
The sending process of the first telegram can be interrupted by issuing command 10. After reset of the module, an error has been detected during a memory check. This is a read-only register and must thus not be written into. Jetter AG...
Page 39
In this register, the latest diagnose command will be stored, until the master has fetched the diagnose data. This register must be checked, before a new diagnose command is sent or before new diagnose data are entered. Please find an extensive description of the diagnose data processing in section 6.3 "Diagnose". Jetter AG...
Page 40
Bytes) The length of the parameter data (number of bytes) that have been received from the master can be read out of this register. As this is only a status register, it must not be written into. Jetter AG...
Page 41
As these are only status registers, they must not be written into. Register 1m197: Reserved As this is only a status register, it must not be written into. Register 1m198: Reserved As this is only a status register, it must not be written into. Jetter AG...
Page 42
6 = 1), value -1 (0xFFFFFF) will be reported back and bit 7 will be set in the status register. A new value can be set by writing access. In case bit 6 has been set in the status register, this value will be ignored and bit 7 will be set in the status register. Jetter AG...
If the user does not want to carry out the "Read Data Block" request, as, for example, he does not want the slot address to be transmitted, he can issue command 12 to the master. Not before one of the commands has been transmitted, bit 4 of the status register will be cleared. Jetter AG...
In order to keep up data integrity, the possibility of access to these data ranges will be ignored during this application, whereas bit 7 is set in the status register. The following charts are to illustrate the time characteristics of the respective services: Jetter AG...
OUT: Round up the value of register 1m103 to the next highest value divisable by 4. Read the highest common value out of register 1m114 or 1m115. Round it up to the next highest value divisable by 4. Jetter AG...
Register 1m141 to These registers are already occupied with the standard 1m145 (resp. diagnose data and must not be changed. 1m200 to 1m209): Byte Access Word Access Fig. 10: Structuring of the registers for user diagnose data Jetter AG...
5th byte (or, if the 6 bytes according to the DP standard are considered, they will not be saved before the 11th byte). This must also be taken into account, if the telegram length in the master is to be evaluated. Jetter AG...
DP V1 Header DP Standard Registers must never be altered A new header can be written into these registers Registers can contain diagnose data for the user Fig. 11: Structuring of the entire range of diagnose data registers Jetter AG...
;data exchange can be started LABEL lEndless GOTO lEndless TASK tDataExchange WHEN BIT_SET (rPB_Status, 3) ;master operates the module THEN REGISTER_LOAD (rPB_DataIn, @500) ;transmit data ;to the master REGISTER_LOAD (@501, rPB_DataOut) ;transmit data ;from the master GOTO tDataExchange End of program Jetter AG...
Page 53
JetWeb Symbol File: Name Value Default tInit tDataExchange sEndless rPB_Status 12100 rPB_Command 12101 rPB_NumIn 12102 rPB_NumOut 12103 rPB_StatAdr 12107 rPB_DataIn 12300 rPB_DataOut 12400 Jetter AG...
Page 54
;number of output words ;configuration of the acyclic services REGISTER_LOAD (rPB_StartDSL, 600) REGISTER_LOAD (rPB_StartDSS, 800) REGISTER_LOAD (rPB_NumDSL, 120) ;600...719 REGISTER_LOAD (rPB_NumDSS, 120) ;800...919 REGISTER_LOAD (rPB_StatAdress, 3) ;slave no. 3 WHEN ;wait, until module is active BIT_CLEAR (rPB_Status, 13) Jetter AG...
Page 55
DELAY 50 ;display, for example, for 5 s ;here, errors will be evaluated ;the error can be acknowledged, if necessary REGISTER_LOAD (rPB_command, 6) ;acknowledge the error DISPLAY_TEXT (0, 25, "$") GOTO tError TASK tDiagnose WHEN BIT_SET (rPB_Status, 3) Jetter AG...
Page 56
;test, whether there is still a former ;diagnose to be processed REGZERO rPB_LatestDiag THEN ;here, error evaluation will be carried out ;issue command 10, if necessary DISPLAY_TEXT (0, 25, "former diagn found") DELAY 50 DISPLAY_TEXT (0, 25, "$") REGISTER_LOAD (rPB_Command, 10) Jetter AG...
Page 57
REGISTER_LOAD (rPB_Command, 7) ;simple diagnose RETURN LABEL suDiag3 CALL sTestDiag REGISTER_LOAD (rPB_DiagLen, 12) ;2 byte user data REGISTER_LOAD (rPB_DiagData1, 255) ;first word REGISTER_LOAD (rPB_Command, 9) ;static diagnose THEN WHEN REGZERO 400 ;wait, until diagnose trigger has been reset THEN Jetter AG...
Page 58
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 Jetter AG...
Page 59
REG 100 ;calculate the number of words REG rPB_DSSLen ;number of bytes COPY (100, 12800, 800) ;copy the data REGISTER_LOAD (rPB_command, 13) ;data are ok ELSE REGISTER_LOAD (rPB_command, 14) ;data are not ok THEN RETURN End of program Jetter AG...
Page 64
Structure of the input and output buffers Fig. 8: Time characteristic: Read data block Fig. 9: Time characteristic: Write data block Fig. 10: Structuring of the registers for user diagnose data Fig. 11: Structuring of the entire range of diagnose data registers Jetter AG...
Page 65
JX2-PROFI1 module 21 Description of Symbols device engineering devices diagnose diagnose - commands for transmitting diagnose data 45 diagnose - diagnose data registers diagnose - registers for diagnose data 44 diagnose telegram diagnostic messages dimensions Disposal error cause Jetter AG...
Page 67
- PROFIBUS DP standards - PROFIBUS DPV1 state machine technical data time monitoring transmission technology DP transmission technology fiber optics 21 transmission technology HART transmission technology RS-485 Usage as Agreed Upon Usage Other Than Agreed Upon Jetter AG...
Need help?
Do you have a question about the JetWeb JX2-PR0FI1 and is the answer not in the manual?
Questions and answers