background image

JX2-PROFI1

5 The Communication Module JX2-PROFI

Jetter AG

38

Register 1m134: Error Number

If an error occurs in this module, bit 15 of the status register 1m100 will be set; the 
error LED will be lit. If the error bit has been set, the cause of this error can be read 
out of this register.
This register is only valid, if bit 15 of status register 1m100 is set.
The error can be cleared by issuing command 6.

This is a read-only register and must thus not be written into.

Register Value

Error Cause

0

An error has not occurred

1

Invalid station address. Possible reasons:

– The station address that has been entered is 

outside the permitted range (0...126).

– The station address has already been set.

– The buffer configuration is invalid.

2

Input or output range error.
The input or output ranges of cyclic and acyclic 
processing have been configured. Either an invalid 
width has been defined, or two ranges have 
overlapped.

3

Reserved

4

Reserved

5

Reserved

6

Error during initialization of the PROFIBUS 
controller.
The exact error cause is displayed in register 
1m136.

7

During a check of the parameter telegram of the 
master, an error has occurred.
The configuration of the master differs from the 
configuration of the slave.

8

During a check of the configuration telegram of the 
master, an error has occurred.
The configuration of the master differs from the 
configuration of the slave.

9

The width of the diagnose data is not correct. The 
width must be within the range 6...32.

10

The diagnose telegram sent last has not been 
received by the master yet; an attempt has been 
made to send another diagnose telegram.
The sending process of the first telegram can be 
interrupted by issuing command 10.

11

After reset of the module, an error has been detected 
during a memory check. 

Summary of Contents for JetWeb JX2-PR0FI1

Page 1: ...Article 608 641 01 November 2002 Printed in Germany ...

Page 2: ...ROFI1 Module 24 5 4 1 Definitions 24 5 4 2 Configuring the JX2 PROFI1 25 5 4 3 Overview of the JX2 PROFI Registers 26 5 4 4 Register Description 28 6 Description of Operations 42 6 1 Buffer Configuration 42 7 The Services 44 7 1 Acyclic Services 44 7 2 Description Read Data Block 44 7 3 Description Write Data Block 45 7 4 Access to the data registers of the acyclic services besides a request made ...

Page 3: ...Table of Contents JetWeb 3 Jetter AG List of Appendices Appendix A List of Illustrations 62 Appendix B Index 63 ...

Page 4: ...JX2 PROFI1 Table of Contents Jetter AG 4 ...

Page 5: ...d not be documented in every single case This manual and the information contained herein have been compiled with due diligence However Jetter AG assumes no liability for printing or other errors or damages arising from such errors The brand names and product names used in this manual are trade marks or registered trade marks of the respective title owner ...

Page 6: ...ne 49 7141 2550 444 Telefax 49 7141 2550 425 E Mail Sales sales jetter de E Mail Technical Hotline hotline jetter de Internet Address http www jetter de This Manual is an Integral Part of the JetControl Module JX2 PROFI1 To be entered by the customer Copyright 2002 by Jetter AG All rights reserved Model Serial Number Year of Manufacture Order Number Inventory Number Place of Operation ...

Page 7: ... us to produce manuals that are more user friendly and to address your wishes and requirements From this JX2 PROFI1 module may result unavoidable residual risks to persons and property For this reason any person who has to deal with the operation transport installation maintenance and repair of the JX2 PROFI1 module must have been familiarised with it and must be aware of these dangers Therefore t...

Page 8: ...sified as SELV Safety Extra Low Voltage The JX2 PROFI1 module is therefore not subject to the EU Low Voltage Directive The JX2 PROFI1 module may only be operated within the limits of the stated data Usage Other Than Agreed Upon The JX2 PROFI1 module must not be used in technical systems which to a high degree have to be fail save e g ropeways and aeroplanes l If the JX2 PROFI1 module is to be run ...

Page 9: ...f material damage Important This sign is to indicate a possible impending situation which might bring damage to the product or to its surroundings Note You will be informed of various possible applications and will receive further useful suggestions Enumerations are marked by full stops strokes or scores Operating instructions are marked by this arrow Automatically running processes or results to ...

Page 10: ...on original parts and equipment any claims with respect to liability of Jetter AG are excluded Malfunctions Information Signs and Labels Disconnect the JX2 PROFI1 module from the mains to carry out maintenance work By doing so you will prevent accidents resulting from electric voltage and moving parts Safety and protective devices e g the barrier and cover of the terminal box must never be shunted...

Page 11: ...asures for increasing immunity to interference On principle physical separation should be maintained between signal and voltage lines Shield both sides of the cable The entire shield must be drawn behind the isolation and then be clamped under an earthed strain relief with the greatest possible surface area When male connectors are used Only use metallised connectors e g SUB D with metallised hous...

Page 12: ...ger Only connectors specified as PROFIBUS connectors may be used as they should already have been equipped with the terminating resistor which can be activated with the help of a special switch For baud rates that are greater than 1 5 MBaud specific PROFIBUS connectors for the reduction of cable capacitances must be applied Only use cables which have been specified as cable type A in the PROFIBUS ...

Page 13: ...1 Safety Instructions JetWeb 13 Jetter AG ...

Page 14: ...JX2 PROFI1 2 Physical Dimensions Jetter AG 14 2 Physical Dimensions Fig 2 Front View JX2 PROFI1 ...

Page 15: ...JetWeb 15 Jetter AG Fig 3 Side View JX2 PROFI1 Fig 4 Top View JX2 PROFI1 ...

Page 16: ...corrosive or electroconductive contaminants Operating Altitude Up to 2000 m above sea level DIN EN 61131 2 Mechanical Operating Parameters Parameter Value Reference Free Falls Withstanding Test Height of fall units within packing 1 m DIN EN 61131 2 DIN EN 60068 2 32 Vibration Resistance 10 Hz 57 Hz with an amplitude of 0 0375 mm for continuous operation peak amplitude of 0 075 mm 57 Hz 150 Hz 0 5 ...

Page 17: ...Reference Enclosure Frequency 30 230 MHz limit 30 dB µV m at 10 m distance frequency band 230 1000 MHz limit 37 dB µV m at 10 m distance class B DIN EN 50081 1 DIN EN 55011 DIN EN 50081 2 Operating Parameters EMC Immunity to Interference of Housing Parameter Value Reference RF field amplitude modulated Frequency band 27 1000 MHz Test field strength 10 V m AM 80 with 1 kHz Criterion A DIN EN 61131 ...

Page 18: ...and 0 15 80 MHz Test voltage 10 V AM 80 with 1 kHz Source impedance 150 Ohm Criterion A DIN EN 61000 6 2 DIN EN 61000 4 6 Burst Test voltage 1 kV tr tn 5 50 ns Repetition rate 5 kHz Criterion A DIN EN 61131 2 DIN EN 61000 6 2 DIN EN 61000 4 4 Operating Parameters EMC Immunity to Interference of DC Power Supply In and Outputs Parameter Value Reference Asymmetric RF amplitude modulated Frequency ban...

Page 19: ...JetWeb 19 Jetter AG ...

Page 20: ... Decentralised arrangement via power supply Voltage Supply DC 24 V 0 1 A at terminal X10 Connections to the basic unit via system bus Male connector SUB D 9 pins 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 ...

Page 21: ...JetWeb 21 Jetter AG ...

Page 22: ...y and correctly by the master ERR The LED is flashing the module has not been configured completely yet a correct station address has not been entered yet The LED is lit An error has occurred the reason for this error can be read out of a register 5 V This LED indicates that the voltage supply of the module is ok Pin Designation Comment 1 2 3 RxD TxD P Receive data Sending data positive 4 CNTR P C...

Page 23: ...JetWeb 23 Jetter AG 5 3 Features ...

Page 24: ...master outputs are sent from the master to the slave Fig 6 Diagram PPLC PROFIBUS communication via registers All registers that referring to the PROFIBUS data exchange are called word registers are 16 bit wide value range 0 65535 According to the PROFIBUS DP standard this data type is called unsigned 16 P P L C P R O F I B U S MASTER Buffer configuration register Status register Control register I...

Page 25: ...may have to be adjusted Write the respective values into registers 1m112 and 1m113 Number of input and output words Now set the number of PROFIBUS input and output words Write the respective numbers into registers 1m102 and 1m103 After you have taken this following step you will not be able to change the module configuration any more Initialize the PROFIBUS interface by setting the PROFIBUS statio...

Page 26: ...1 5 The Communication Module JX2 PROFI Jetter AG 26 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 ...

Page 27: ...f the data registers for write data block RW 1m118 Width of the input data for read data block number of bytes Ro 1m119 Width of the output data for write data block number of bytes Ro 1m120 Slot address of the data set for read data block Ro 1m121 Slot address of the data set for write data block Ro 1m122 Index of the data set for read data block Ro 1m123 Index of the data set for write data bloc...

Page 28: ...parameter data word mode low byte first Ro 1m180 Width of the received configuring data number of bytes Ro 1m181 1m196 Configuration data word mode low byte first Ro 1m197 reserved Ro 1m198 reserved Ro 1m199 Software version Ro 1m200 1m209 System diagnose data byte mode RW 1m210 1m231 User diagnose data byte mode RW 1m232 1m241 System parameter data byte mode Ro 1m242 1m263 User parameter data byt...

Page 29: ...e state i e communication with the master has been established successfully 4 1 The PROFIBUS master has sent a read data block request 5 1 The PROFIBUS master has sent a write data block request 6 1 Acyclic busy bit Acyclic data are exchanged between the module and the PROFIBUS master the acyclic data cannot be accessed at the moment 7 1 Acyclic error bit Although bit 6 had been set an acyclic dat...

Page 30: ...ter is cleared With the help of this command errors can be acknowledged Resetting the module by issuing command 5 will not clear an error report 7 A status diagnose telegram will be sent see 6 3 8 An extended diagnose telegram will be sent The data written in the diagnose data registers are being transmitted to the PROFIBUS master as a diagnose telegram see 6 3 9 The module is set into the state o...

Page 31: ...ion address has been completed this register cannot be written into any more The values that are entered after this will be discarded Note The memory of the PROFIBUS controller is limited thus it is not possible to transmit the maximum number of input and output data simultaneously The total number of input and output words must not exceed 208 This limit is dependent on the entire module configura...

Page 32: ...plication must be delayed until this bit has been cleared Register 1m112 Start Address of the Input Word Range The register range of the input data can be shifted within the module This register contains the start address of the input word range Register 1m102 contains the number of input words i e the size of this range This means that after reset registers 1m300 to 1m303 will contain the input w...

Page 33: ...e supplied for the PROFIBUS master by the module in case a read 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 After initializing the module by entering the station address this register cannot b...

Page 34: ...uring possibilities can be found in chapter 6 1 Buffer Configuration 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 Register 1m117 Start Address of the Data Registers for Write Data Block The register range of the input data can be shifted within the module This...

Page 35: ... of the Output Data for Write Data Block Number of Bytes In case of a write data block request the PROFIBUS DP master will store the number of bytes that have been written into the data block in this register This register will be set by the PROFIBUS DP master it cannot be written into Register 1m120 Slot Address of the Data Block for Read Data Block In case of a read data block request the PROFIB...

Page 36: ...In case of a read data block request the PROFIBUS DP master will store the data block index which is to be read out of the data range in this register This register will be set by the PROFIBUS DP master it cannot be written into Register 1m123 Data Block Index for Write Data Block In case of a write data block request the PROFIBUS DP master will store the data block index which has been written in...

Page 37: ...hat has been recognized The PROFIBUS controller will automatically recognize the baud rate of the master In this register the baud rate recognized last will be stored This is a read only register and must thus not be written into Register Value State 0 Wait_Prm 1 Wait_Cfg 2 Data_ex Register Value Baud Rate 0 12 MBaud 1 6 MBaud 2 3 MBaud 3 1 5 MBaud 4 500 kBaud 5 187 5 kBaud 6 93 75 kBaud 7 45 45 k...

Page 38: ...anges of cyclic and acyclic processing have been configured Either an invalid width has been defined or two ranges have overlapped 3 Reserved 4 Reserved 5 Reserved 6 Error during initialization of the PROFIBUS controller The exact error cause is displayed in register 1m136 7 During a check of the parameter telegram of the master an error has occurred The configuration of the master differs from th...

Page 39: ... 6 has been written into error number register 1m134 This is a read only register and must thus not be written into Register 1m139 Pending Diagnose Command 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 desc...

Page 40: ... byte first 1m200 1m231 Diagnose data byte mode The format of the diagnose data must agree with the description in section Diagnose Register 1m160 Length of the Received Parameter Data Number of 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 Register Value ...

Page 41: ... mode As these are only status registers they must not be written into Register 1m180 Width of the Received Configuration Data Number of Bytes The width of the configuration data number of bytes received from the master can be read out of this register as bytes As this is only a status register it cannot be written into Registers 1m181 1m196 and 1m264 1m295 Configuration Data Just as the parameter...

Page 42: ... input value to be reported back A writing access will cause the new input value to be set Output words If the module is in data exchange mode and if a valid station address has been defined a reading access will cause the latest value of the PROFIBUS DP master to be reported back If the prerequisites have not been met value 65536 0xFF0000 will be reported back A writing access will never be possi...

Page 43: ...JetWeb 43 Jetter AG ...

Page 44: ...rate the interplay of the registers Fig 7 Structure of the input and output buffers The address range of registers 1m300 through 1m999 is freely available to the user The data buffers can be freely distributed within this range Letter m stands for the module number which is dependent on the configuration of the controller The buffers may only be configured during the initialization phase Under any...

Page 45: ...JetWeb Jetter AG 45 ...

Page 46: ...dress of the Data Registers reg 1m116 respectively reg 1m117 in analogy with the configuration of normal data exchange Please mind that the registers are addressed as 16 bit words in the data range i e in order to transmit 20 byte 10 registers must be reserved This configuration can only be made during initialization i e before writing the station address 7 2 Description Read Data Block If the mas...

Page 47: ...issuing command 14 Not before one of these commands has been transmitted bit 5 of the status register will be cleared If the master is going to write more data than there will be room for in the reserved registers an error message will automatically be sent to the master whereas bit 5 will not be set 7 4 Access to the data registers of the acyclic services besides a request made by the master On p...

Page 48: ...d up the value of register 1m103 to the next highest value divisable by 4 AC Read the highest common value out of register 1m114 or 1m115 Round it up to the next highest value divisable by 4 Data are being transmitted by the master data access is not possible Command issued by the user Read request by the master 1 0 1 0 Bit 6 Bit 4 Data are being transmitted by the master data access is not possib...

Page 49: ...se telegram can be created This is to make sure that diagnose information does not get lost To interrupt the transmission of a diagnose telegram issue command 10 see section 6 3 2 Commands for Transmitting Diagnose Data Register 1m140 Enter the length of the diagnose data in byte The length must amount to between 10 and 32 bytes Length 10 bytes Only the standard diagnose data are transmitted accor...

Page 50: ...into account if the telegram length in the master is to be evaluated Command Number Meaning 7 Transmit a status diagnose telegram This telegram is transmitted either with or without user data depending on the defined length 8 Transmit an extended diagnose telegram This telegram must always contain diagnose data of the user The user should transmit a status diagnose telegram when the cause of the d...

Page 51: ...ngth that is defined in length register 1m140 must also contain all bytes the 6 DP standard bytes included Please do also mind the correct sequence of data input here as well i e the length must be entered first only after this the data can be altered Writing into the length register will always overwrite the 7th byte of the diagnose telegram automatically Fig 11 Structuring of the entire range of...

Page 52: ...t 16 number of output words REGISTER_LOAD rPB_StationAdr 4 WHEN wait until module is active BIT_CLEAR rPB_Status 13 THEN module has been initialized 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...

Page 53: ... 53 Symbol File Name Value Default 1 tInit 0 2 tDataExchange 1 3 4 sEndless 5 6 rPB_Status 12100 7 rPB_Command 12101 8 rPB_NumIn 12102 9 rPB_NumOut 12103 10 rPB_StatAdr 12107 11 12 rPB_DataIn 12300 13 rPB_DataOut 12400 ...

Page 54: ...B_Status 13 THEN REGISTER_LOAD rPB_Command 5 reset WHEN wait until Init is finished BIT_CLEAR rPB_Status 13 THEN REGISTER_LOAD rPB_Command 6 delete error configuration of cyclic services REGISTER_LOAD rPB_StartIN 300 REGISTER_LOAD rPB_StartOUT 400 REGISTER_LOAD rPB_NumIN 4 number of input words REGISTER_LOAD rPB_NumOUT 4 number of output words configuration of the acyclic services REGISTER_LOAD rP...

Page 55: ...the master will be evaluated DISPLAY_TEXT 0 13 IN DISPLAY_REG 0 4 rPB_DataIN DISPLAY_TEXT 0 13 OUT DISPLAY_REG 0 17 rPB_DataOUT GOTO tDataExchange TASK tProcess simulate a process REGINC 500 REGDEC 501 DELAY 1 GOTO tProcess TASK tError WHEN BIT_SET rPB_Status 15 THEN DISPLAY_TEXT 0 25 Error DISPLAY_REG 0 33 rPB_Error DELAY 50 display for example for 5 s here errors will be evaluated the error can ...

Page 56: ...HEN CALL suDiag2 THEN IF REG 400 10 10 static diagnose THEN CALL suDiag3 THEN REGZERO 400 the diagnose has been processed GOTO tDiagnose LABEL sTestDiag test whether there is still a former diagnose to be processed IF NOT 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 ...

Page 57: ...agData2 65535 second word REGISTER_LOAD rPB_Command 8 extended diagnose THEN WHEN REGZERO 400 wait until diagnose trigger has been reset THEN transmit these data to the master CALL sTestDiag REGISTER_LOAD rPB_DiagLen 10 no user data 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 wor...

Page 58: ... 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...

Page 59: ...ess and the index can be evaluated and command 12 can be issued if required IF REG rPB_DSSIndex accept for example only index 5 5 THEN REG 100 calculate the number of words REG rPB_DSSLen number of bytes 1 2 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 ...

Page 60: ...clDSS 17 18 19 rPB_Status 12100 20 rPB_Command 12101 21 22 rPB_NumIn 12102 23 rPB_NumOut 12103 24 rPB_StatAdr 12107 25 rPB_StartIN 12112 26 rPB_StartOUT 12113 27 28 rPB_NumDBR 12114 29 rPB_NumDBW 12115 30 rPB_StartDBR 12116 31 rPB_StartDBW 12117 32 rPB_DBRLen 12118 33 rPB_DBWLen 12119 34 rPB_DBRSlot 12120 35 rPB_DBWSlot 12121 36 rPB_DBRIndex 12122 37 rPB_DBWIndex 12123 38 39 rPB_Error 12134 40 41 ...

Page 61: ...JetWeb Jetter AG 61 43 rPB_DiagData1 12146 44 rPB_DiagData2 12147 45 46 rPB_DataIn 12300 47 rPB_DataOut 12400 ...

Page 62: ...JX2 PROFI1 8 Sample Programs 62 Jetter AG ...

Page 63: ...JX2 PROFI1 Appendices Jetter AG 63 Appendices ...

Page 64: ...p View JX2 PROFI1 15 Fig 5 Pin assignment of the male SUB D 9 pin PROFIBUS connector 22 Fig 6 Diagram PPLC PROFIBUS communication via registers 24 Fig 7 Structure of the input and output buffers 44 Fig 8 Time characteristic Read data block 48 Fig 9 Time characteristic Write data block 48 Fig 10 Structuring of the registers for user diagnose data 49 Fig 11 Structuring of the entire range of diagnos...

Page 65: ...4 configuration number of input and output words 24 configuration data 40 configuration telegram 52 cyclic transmission 21 D data formats configuration telegram 52 data formats diagnose telegram 53 data formats parametering telegram 50 data lengths 44 definition and function of the JX2 PROFI1 module 21 Description of Symbols 8 device engineering 21 devices 21 diagnose 44 diagnose commands for tran...

Page 66: ...unication cell level 21 levels of communication field level 21 levels of communication sensor actuator level 21 M Maintenance 7 Malfunctions 9 Modifications 9 O operating parameters 15 operating parameters electrical safety 16 operating parameters EMC 16 operating parameters environmental 15 operating parameters mechanical 15 output words 24 30 P parametering data 40 parametering telegram 50 plug ...

Page 67: ... programs basic program 55 sensor actuator bus 21 services 47 services acyclic services 47 services data formats 50 services read data block 47 services write data block 48 Siemens S7 systems 49 Significance of this Operator s Manual 4 software structure 23 standards PROFIBUS DP 46 standards PROFIBUS DPV1 46 state machine 36 T technical data 19 time monitoring 21 transmission technology DP 21 tran...

Reviews: