Home

A8NDPV1, Instruction Manual

image

Contents

1. i Add new device am Devices amp networks jj PLC_1 CPU 315 2 PN DP jm Controllers Dr Device configuration ig SIMATIC S7 1200 N Online amp diagnostics i SIMATIC S7 1500 Lo Program blocks gt La SIMATIC 57 300 EH Technology objects i SIMATIC S7 400 gt aj External source files ali ET200 CPU gt a PLC tags H H Le PLC data types Ca PC systems gt Ea Watch and force tables ir Drives amp starters w Online backups La Network components Ss Program info Km Detecting amp Monitoring EA PLC alarms ig Distributed UO Text lists Ca Field devices gt E Local modules x E Other field devices gt i Distributed UO i Additional Ethernet devices d Common data gt i PROFINETIO E Documentation settings X maras DP Je Languages amp resources S w rives gt hai Online access i Siemens aa i HMS Industrial Networks gt E Card Reader USB memory 7 7 Device overview ig ASNDPV1 E Filter 6o eje gt ILMPICH E d v 7 Profibus Telegram 1 5 00 aSunuo kE Y Module Slot Laddress Q address Type Order no Firmware Comment Slave_1 o 2043 ABNDPV1 Version 1 00 LL O telegram 101 Position C a Telegram 102 Custom Ii Telegram 103 Custom gt E Encoders ES Properties P Info ml Diagnostics gt ig Gateways ig General LU La Ident systems v Details view General No properties available
2. Website Region https eu3a mitsubishielectric com EU http www meau com eprise main sites public Products Americas Variable_Frequency_Drives A800 default GSD File EU https eu3a mitsubishielectric com fa en mymitsubishi download_manager id 10168 MyMitsubishi Login required GX Configurator DP 7 10L EU https eu3a mitsubishielectric com fa en mymitsubishi download_manager id 10160 MyMitsubishi Login required Profibus A800 function blocks EU https eu3a mitsubishielectric com fa en mymitsubishi download_manager id 10172 MyMitsubishi Login required Profibus A800 DPV1 function blocks EU https eu3a mitsubishielectric com fa en mymitsubishi download_manager id 9189 MyMitsubishi Login required Sample programs EU https eu3a mitsubishielectric com fa en mymitsubishi download_manager id 10170 MyMitsubishi Login required A8NDPV1 PROFIBUS Option Board 1 Document History Document History Summary of Recent Changes 1 00 Change About This Document Page s Revision List Revision 1 00 Date 03 2014 Author s Chapter s Description Doc Id HMSI 216 127 Doc Rev 1 00 About This Document Conventions amp Terminology Conventions amp Terminology The following conventions are used throughout this manual Numbered lists provide sequential steps Bulleted lists provide information not procedural steps The term
3. oooooooooooooooo 50 3 9 GX Works Q CPU Simple Ladder Acyclic communication example 54 3 9 1 Reading a parameter Sequence 1 6 ccc cc ccc ccc eee eee eeeeeees 54 3 9 2 Changing parameters Sequence Al 59 3 10 GX Works FX CPU Telegram 1 example 0 ccc ccc ccc eee eee eeeeeees 65 3 11 GX Works FX CPU Telegram 102 example ccc ccc ccc eee cece eee eeeeeeee 77 A8NDPV1 PROFIBUS Option Board V Table of Contents VI 3 12 3 13 3 14 3 15 3 16 3 17 4 4 1 4 2 4 3 5 5 1 6 6 1 6 2 6 3 6 4 GX Works FX CPU Acyclic communication example 82 3 12 1 Reading a parameter Sequence 1 6 ccc ccc eee eee ee eee eee eenee 82 3 12 2 Changing parameters Sequence A 85 TIA Portal Telegram 1 example ccc cc ccc ccc cee rr 89 TIA Portal Telegram 102 example ccc cece cece cece ERARE EEEE 98 TIA Portal Acyclic communication example ccc cece cece eee eee eeeeenees 101 3 15 1 Reading aparameterfGeouencell e rra 101 3 15 2 Changing parameters Sequence A 107 SIMATIG STEP LEXaIMDIC since nies O oh caw ita 111 3 16 1 Creating a Configuration io rara ria ie one 111 3 16 2 Download Configuration sriaias idad dais 116 31103 RU rada ai A A aa 116 WIEN d ee d ele EE 116 Je ee d ul EE AZ inverter arameo AAA 117 Option Board Parameters acs NERT RR dE dE NEEN Havas ee 117 Operation Mode Setting NEE A 119 Identifying Option Board
4. eee we ees ee Oe ee ET IA ee Om Os EN ENO EN ENO es ie ee A E ee ee Ss requestParameterNoBS 8 requestParameterNoBS iN DataToWrite 3 gt NANO l Ne ofvalues 0x01 EE GSS Ob need ORG oS eRe ge OAs eo 16 0106 IN bDataToWrite 5 PER Se AR Au 8 8 cp e A A ee z Rn z es a e A me A E a MOVE E a aaa ass EN ENO Requested value E ee requestParameterValue MIN requestParameterValueB Byte swapped value E A EE E NET EE ET E NEE NET OT E NEE E A i SWAP MO SE ee Je AE 8 AAA EA A RR AN ARA A CA EN ENO EN ENO E ay ee r eS aa y a e requestParameterValueBS 8 requestParameterValueBS MIN DataToWrite 6 Change the actual length of the write request Change the length to 28 bytes and change the amount of words to transfer 7 words starting from BFM 5764 Send acyclic request write Slave address slotno index datalength Ir e BS ey te te ier Wh ere res ve tao ee EE o TO GEES ES StartW rite AENSIENO EN ENO EN ENO ee ll ee E E K1 E sore ee Kl E K47 8 K28 E AAA E E TE K0 nl KO E K0 nl KO nl Roo WH ter ee ena 2 ee eee a9 K5760 n2 K5761 E
5. AND lt gt A K0 ni S LEE ER EN EN ENO EN ENO fo a es K4500 n2 KO E d d ReadResponse KO jnl d SlaveStatus KO js IS br L ee K1 n3 E s2 A e KZODO n2 A SlaveStatus s2 8 DEENEN EENEG CES ECH EE EE EECH EENEG K1 n3 co e a asas A A S TT 8 e A rw TA TA AND FROM bg Be em A ad Pe Sd Ba we by EN ENO Pe AAA AA en Se Oe AA ee ae 8 dea canik T We oa oe OR Re hy A eB ee ENEE EA KO ni d DataRead0 SL Bak OS OG rr IB A MA E A oO a Ot a i Gb Gn Wk we ai ee a Jay dP ap EO uae cee pet Ga a at cos ot at OB Sr A is GA GE dh Gh ky Gee we oh K4524 n2 a ak Re NaC et ch de Sy oe ewe we ee ME He ee Gs ft a eet Ge ee G Soo oe we ee ee EE EEN RENE A g K4 n3 n O p es Se a A A AA AAA SAA Proceed to process the received response The format of a positive response is as follows Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format See data format type table 6 7 Parameter value Byte swapped parameter value In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x81 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44
6. DataLength FDLAddressRead See se ea ee eek ee ee ee E oP a aa de Go 1 SlotNo DataLengthRead Se eS A ES BES eee A Se ee Re aS 47 Index SlotNoRead ve E es e e a a e e e ee ee a ev e e a en e e a E IndexRead pee er eer ee ee ee ke RP ae a ede 4 ee 4 DataRead Se a Se eee A ee A A A eRe we ErrorCode sie E ee e e RE e Ree ei e RE e Ree e A e E a DetailedErrorCode E E ee ee wo StartRead StariRead StariRead PA se If the response is received successfully bit rDone is ON then the received data can be accessed from DataRead The format of a positive response is as follows Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format See data format type table 6 7 Parameter value Byte swapped parameter value A8NDPV1 PROFIBUS Option Board 35 GX Works Q CPU Acyclic communication example Get Started Extract the parameter value from DataRead and byte swap it to receive the actual value E e a ee MOVE_E ve ee e e EE di EN ENO In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x81 1 Request reference 0x01 OxFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Byte swapped error value see error table
7. Online Status not connected E ER VO no 0x0 FDL 0 QJ71PB92V Benn O Add slaves via Drag amp Drop from GSD device tree GSD Da les Drives i w Switches aE vo D Controls Kr HMI f O Encoder a Kr NC RC d D Gateway Ces PLC gt D Identsystem L D PA 6 First setup the Profibus Master Double click on the master module in the screenshot visible as I O no 0x0 FDL 0 QJ71PB92V This will bring up the Master Parameters Wizard DR MELSOFT Series GX Works2 Untitled Project 0000 QJ71PB92V Parameter Project Edit Find Replace Compile View Online i IP AS eo Bix E H Glo Gu ey z d E Ei ce DO mi mi Navigation ax Project ES A Pr 2 Le r Parameter aa Intelligent Function Module GAB 0000 QJ71PB92V i 39 Parameter AQ Global Device Comment mm EI Global Label Sa Program Setting a Pou GA Program EA POL OL efi Program Dd i BS Local Label 28 FB FUN Dok 83 Structured Data Types f Local Device Comment set Device Memory i A Device Initial Value PE Debug et AW Diagnostics Tool Window Help AA DIARIA gt mM pew Mpe dls Local Label Setting POU_01 PRG Setup Tasks Master Settings jo GSD Device Database E VO Mapper Devices for Slave Specific Transfer Export Tasks Ft POU Generation Configuration Image Project in GX Configurator DP Fo
8. v Details view Name Q Properties info alu Diagnostics General 10 tags General Name 57 300 station_1 Author edc Comment Information v Project Profibus Telegram 1 created From the hardware catalog on the right side of the screen expand Other field devices gt Profibus DP gt Drives gt HMS Industrial Networks gt A8NDPV1 and add A8NDPV1 to the project by dragging it to an empty space YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation MU save project 3 X za zx EM 34 a ME BR Y oonline Y cooffine Jo MMM e II PORTAL Profibus Telegram 1 Devices networks Devices E Topology view B Network view 4 rx Network 27 Connections HM_conne v Profibus Telegram 1 i Add new device A Filter gm Devices amp networks HCH E eier vw jg PLC_1 CPU 315 2 PN DP i Controllers Dr Device configuration Not assigned gt d HMI H gt PC systems gt i Drives amp starters Ca Network components gt E Detecting amp Monitoring Da PLC tags jg Distributed 1 0 l PLC data types a Field devices A Watch and force tables v i Other field devices w Online backups ee Ethernet devices 315 Program info gt Li PROFINETIO EA PLC alarms X le DP Si i Drives Text lists S gt ig Local modules gt Lig Siemen
9. GX Works FX CPU Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 with a FXCPU and FX3U 64DP M Profibus Master It contains examples of read ing and writing individual parameters First perform the setup using telegram 1 The process of acyclic communication parameter read consists of a write request and a response read For details please refer to the Acyclic Data Exchange subchapter 7 7 3 12 1 Reading a parameter Sequence 1 Creating the request Start by preparing the content for the parameter read request The data request has the following format Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU Request reference is any valid number this value is mirrored back in the response and can be used to distinguish multiple requests The parameter number needs to be byte swapped the SWAP instruction can be used to swap the lower and higher byte of a word In the code below requestParameterNo contains the unswapped parameter number while re questParameterNoBS contains the byte swapped version The content of the parameter re quest DataToWrite and the request to perform it StartWrite are shown in the screensho
10. 39 Parameter Global Device Comment E Global Label 1 ai Program Setting 9 POU AER Structured Data Types Bi Local Device Comment A T GSD Database Setup Tasks e M Sur FDL 1 MyA840Inverter A8NDPV1 V0 size 4 4 byte s me O General fa GSD Device Database Lo fff Slot standard Telegram1 E Drives E VO Mapper i j Devices for Slave Specific Transfer f j wW ABNDPV1 Te FR ASNPA Export Tasks 2 pag FR ATNP k POU Generation i i Configuration Image f 1 S FR ESNP Project in GX Configurator DP Format i r Siih Import Tasks 2 EI Ki vo Import GX Configurator DP Project Add GSD File Import GSD Database e O Valves El EX Controls O HMI Documentation Project Documentation Documentation of I O Mapping bu 2 S LES Identsystem 2 From the configurator s left menu select POU Generation This will create the user libraries that can be used to control the inverter E orks2 Project Edit Find Replace Compile View En y Project i Parameter 5 23 Intelligent Function Module gh 0000 Q 71PB92V i gt Parameter i Global Device Comment mm EE Global Label G Program Setting ually Local Label i FB FUN 3 Structured Data Types B Local Device Comment aa Device Memory Navigation led Project 0000 QJ71PB92V Parameter Online Debug Diagnosti
11. Ed Properties ti Info Diagnostics General Message i y S 5 Shimer TT Date Time Project closed e 912312013 11 21 30 AM Project Profibus Telegram 1 opened 9 23 2013 11 21 35 AM Start downloading to device 912312013 11 23 55 AM w PLC1 9 23 2013 11 23 55 AM PLC_1 stopped 9 23 2013 11 24 02 AM Hardware configuration was loaded successfully 9 23 2013 11 24 03 AM Main OB1 was loaded successfully 912312013 11 24 03 AM PLC_1 started 9123 2013 11 24 06 AM Connected to PLC_1 address IP 192 168 0 1 9 23 2013 11 23 55 AM Connection to PLC_1 terminated 9 23 2013 11 24 06 AM Loading completed errors 0 warnings 0 9 23 2013 11 24 06 AM 9 23 2013 11 24 23 AM Project saved under DiProfidrivelProfibus Telegram 102_2 Profibus Telegram 102_2 ap1 9 23 2013 4 E FER lege o 2 Now drag Telegram 102 Custom from the Hardware Catalog to the empty slot Change the starting and Q address to 0 v Details view 4 9998888060000 Information v Project saved under D Profi YA Siemens Profibus Telegram 102_2 gt 4 Project Edit View Insert Online Options Tools Window Help 2 8 E seeprjer A N max N22 BS BG DR 3 coonine 8 coottine An IM x Profibus Telegram 102_2 PLC_1 CPU 315 2 PN DP Distributed UO DP Mastersystem 1 PROFIBUS_1 gt Slave_1 Totally Integrated Automation PORTAL U EX E Topology view le Network view Er Device view 30
12. Executing example requests After compiling the program and writing it to the PLC it is possible to execute parameter read requests First get the inverter running by setting bits MO and M1 Now read the actual frequency by writing PNU 9193 to requestParameterNo and setting bit requestParameter The result should be a value of 1000 in parameterValue which corresponds to 10Hz The PROFIdrive parameter numbers PNUs available for use are listed in the Data Exchange subchapters 7 1to 7 4 POU_01 requestParameter POU_01 request ParameterNo Word Signed POU_01 parameterValue Word Signed 36 1 Bit MW0 11755 D11752 MW0 11752 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Acyclic communication example Try reading an inverter parameter for example the FDL address of the inverter parameter 1305 5096 offset PNU 6401 The expected result is 1 It is possible to read any inverter parameter in this way Device Label Curent Value Liss ies Class Device Address Comment 1 Bit MX0 0 POU_01 requestParameter i 7 MX0 8183 POU_01 requestParameterNo Word Signed D11755 7 MW0 11755 POU_01 parameterValue Word Signed D11752 MW0 11752 3 6 2 Reading an array of parameters Sequence 3 Certain parameters are available in the form of an array It is possible to access individual ele ments of the array be changing the subindex It is also possible to retrieve multiple elements of the ar
13. M03 M03 ParameterReque ParameterReque st MOVE MOVE st EN ENO E ENO R ka 1 IN cae e DB 1 DBW6 OUTI state requestedPNU IN DB RequestRecord outi PNU DB2 DBX0 0 MOVE MOVE MOVE WRREC_DB REQ EN ENO EN ENO EN ENO 5 H l 0 IN MWI 4 O IN MD10 0 IN 4MDA OUTI readValue OUTI readStatus OUTI writeStatus MOVE EN ENO 0 d IMVZO OUTI readError The BUSY output of WRREC will immediately turn ON Once it turns OFF proceed to reading the result of the write request state 2 v Network 5 Wait until not BUSY e DB2 DBX10 1 state WRREC_DB BUSY MOVE EN ENO _ ____ 2 IN MWZ OUTI state Expect to see either output DONE or ERROR of WRREC in an ON state If DONE is ON the write re quest was performed successfully reset the REQ input and proceed to creating the read request state 3 If the ERROR output is ON check the STATUS output to read the error If the status is equal to OxDE80B500 the result is not yet ready In this case do nothing and wait for the actual result In every other case save the status to tag writeStatus and enter state 10 indicating that a write request error occurred v Network 6 Check writing result DB2 DBX10 0 kemm WRREC_DB DB2 DBX0 0 state DONE MOVE WRREC_DB REQ sl H EN ENO R kk 2 3 IN Mm OUTI state 0B2 DBX10 2 DB2 DBD12 WRREC_DB ny 082 DBX
14. RST M5 A8NDPV1 PROFIBUS Option Board ple 61 GX Works Q CPU Simple Ladder Acyclic communication example Get Started Read response 512 62 M100 Reading the response A positive response consists of just 4 bytes of data in the following format Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x82 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Byte swapped error value see error table The requests are completed after buffer memory bit G25120 0 turns ON Successful completion is achieved if buffer memory G25121 is equal to 0xA400 for read request and 0xA401 for write re quest If the write request is executed successfully the program will continue with the read re quest and if this is also successful bit M12 will be set ON to process the response lt Response code gt U0 MOV G25121 D3000 i lt Read request successful gt UO D3000 HOA400 MOV HO G23808 i lt Read data gt UO BMOV G25122 D3001 K12 lt Set process response flag gt SET M12 Y lt Write request successful gt U0 D3000 HOA401 sl MOV HO G23808 lt Set read r
15. STW1 bit 1 false _ ae E Enable Operation Disable Operation ON OFF b Quick Sto E p STWI bit 3 true STW1 bit 3 false STW1 bitO true STW1 bit0 false STW1 bit 2 false S4 Operation e ZSW1 bit 0 1 2 p e true 6 false Control Word 1 STW1 description State Bit combination Bit 10 Bit 7 Bit 3 Bit 2 Bit 1 Bit 0 ee Control By Faus Enable No quick No coast Description acknowl On PLC operation stop stop edge Switching on Inhibited 0 2 0 2 2 Ready To Switch On 1 1 Switched On 1 1 1 Operation 1 1 1 1 Rotation 1 1 1 1 1 Fault reset O gt 1 Set both No Coast Stop and No Quick Stop to reset the Switching On Inhibited bit in ZSW1 To do this set bits 1 and 2 in STW1 that is global label VHAO_output 0 26 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example Input the following ladder block to allow the inverter to enter Ready For Switching On sta tus after connection is established and initialization command is given MO If Bit6 of ZSW1 is ON Switching On Inhibated AND Initialize Command is given MO move 24110 to STW1 No Quick Stop Enabled and No Coast Stop Enabled TEST e 1 EN ENG MI E K6 s2 E E EEGEN This initialization will result in setting bit 0 in ZSW1 Ready To Switch On It is now possible to switch on the inverter and start operation
16. Speed Control SC IO DATA 2 5 NSOLL_A 2 3 SetPoint Speed 0405h Torque Control TC 14349 TargetTorque 0425h Position Control PC 9441 Run command 00F9h Position Control PC lO DATA 3 9713 4 7 Positioning pulse Position Control PC IO DATA 4 0209h 020Ah Position Control PC IO DATA 5 5 NSOLL_A 8 9 SetPointSpeed 0405h Position Control PC IO DATA 6 16383 10 13 AccelerationDeltaTime Position Control PC IO DATA 7 0417h 0418h Position Control PC IO DATA 8 16387 14 17 DecelerationDelta Time Position Control PC IO DATA 9 014Bh 041Ch Doc ld HMSI 216 127 Doc Rev 1 00 Data Exchange 7 6 4 A8NDPV1 PROFIBUS Option Board Actual Value Telegram Process Data Cyclic Data Exchange Actual value telegrams are used for data from the main unit to the master Depending on control mode the contents of the telegram may differ see table below for configuration IO DATA PROFidrive Write Process Data Main unit Telegram Word Signal Octet Process data Parameter Speed Control SC IO DATA 1 2 ZSW1 0 1 DriveStatus 0403h 0404h Torque Control TC Position Control PC Speed Control SC IO DATA 2 6 NIST_A Dias ActualSpeed 0407h Torque Control TC 14350 ActualTorque 0426h Position Control PC 9208 Output terminal 0010h Position Control PC lO DATA 3 9713 4 7 Positioning pulse Position Control PC IO DATA 4 0209h 0
17. click OK to add it to the project Project Edit View insert Online Options Tools Window Help Totally Integrated Automation SR epo BX O26 BAKES ws CAN Ae AR x PORTAL Devices Oo v ProSbys Telegram 1 ME Add new devxe E Dewees amp networks a Common deta E Documenta bon settings w Languages amp resources yep Online access D E Card ReederS8 memory v Details view Neme No properties available v a Consrollers KR SIMANC 7 1200 KR Suan 7 1500 vlt SIMANC 57 300 cou oum KEE ousa i ou acor gt EE Sa gt crust cru 314c2 DP ig CPU 3140 2 PrP KEE gt ig cru 3152 DP e i cru 315 2 Prev I 6057 3152030280 Hi 6Es7 315285140420 A cru 3172 DP iy cru 317 2 moor i cru 3193 PRD i Cru 3155 2 OF gt iy Cru 315 2 rope ig Cru 3176 2 oF ig Cru 317 2 PNUD gt i Cru 31943 moor i Unspecified Cru 300 E Topology view EI Network view iit Device view Options OU 315 2 Pepp Order na GES 315 2EM14 0480 Verson Description Work memory 384KB 0 05m1 1000 msrrucuons PROFINET interface 57 communication Josda ble FBS FCS X PROFINETIO consroller supports RTIRT 2 ports PROFINET CBA PROFIMET CBA Proxy EP transport protocol combined MPUDP mnteriace UP ce DP master or DP slave mule cer Configuration up to 32 modules constant bus cycle tiene routing rmware V3 2 i Py info wl Ko Diagnostics Mo properties can
18. to Pro ject Slave Modules The A8NDPV1 supports only one module Slave User Parameters Available Slave Modules f nki T j Telegram 1 f Telegram 1 E Slave User Parameters Available Slave Modules 00 Torque Control 01 Position Control 02 Custom 103 Custom f Ginka Taka f Telegram 1 Telegram 1 O0 Torque Control DT Position Control O Custom 03 Custom Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 1 example Click Next to proceed No changes are required on this screen After clicking Next proceed to the final screen and click Finish The configured Profibus Slave should appear in the Profibus Network window like below i MELSOFT Series GX Works2 Untitled Project 0000 QJ71PB92V Parameter Oo E Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help a 2 4 DAS o p CARR ACA ASS e A a o E E a 3 8 ar af Navigation Gg d Local Label Setting POU_01 PRG 4 POU_01 PRG Program Structur 33 0000 QJ71PB92V Parame X hs Project PROFIBUS Configurator Tasks d Global GSD data x dE d b 2 Mx SS BER Oe DEL Qu71PB92v El GSD Database r Parameter Setup Tasks x 1 eae Garg a a Module Master Settings A eneral 0000 QJ71 V 2 aa fu GSD D
19. 6 7 Error value Byte swapped error value see error table After a successful response is received BFM 7000 equals 0 check the received request ID to de termine whether the parameter write request was processed successfully d EEN Ee a SA GE EE EAT EE EE EE E TEE E gt FROM D D D D D D D D D D D D request Read error code D D D ReadResponse EN ENO AND a e RST E WI Sy WW a ta da FROM a e A DEE EE ee ee EE FROM A AA es Se A oA T E a cake KO ni d LEN ENO EN ENO EN ENO f EN ENO EN ENO eee ee EGE riwih K4500 n2 KO sl a d ReadResponse KO ni d SlaveStatus KO sl KO ni d ReadRequestError sre Sas Sas K1 n3 s2 dE AA n2 SlaveStatus s2 K7008 n2 pe ee et Se fey oxo tes tes tc TR et Re eee A Ste Ae te Noe Se Se we ee Blise Jeo E ee fe oe a O O EE K n3 E E ED ede cee Ae e 0 K1 n3 E E E LDL ReadrequestOK II i lll e e e AND FROM D D D D D D D A A A A IR A RA WEE A E EN ENO E TT UR O O O om O O oe If the request ID is equal to H02 a positive response was received and the parameter write was successful bit parameterWriteSuccess is set In case of a negative response request ID is equal to H82 bit parameterWriteError is set a
20. Bit String 16 bit D1009 MW0 1009 10 0 Word Unsigned Bit String 16 bit D1010 7 MV0 1010 11 0 Word Unsigned Bit String 16 bit D1011 MW0 1011 0 Word Unsigned Bit String 16 bit D1012 MW0 1012 A8NDPV1 PROFIBUS Option Board 33 GX Works Q CPU Acyclic communication example 3 6 3 6 1 34 Get Started GX Works Q CPU Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 with a QCPU and QJ71PB92V Profibus Master It contains examples of reading and writing individual parameters as well as arrays First perform the setup using telegram 1 The process of acyclic communication parameter read consists of a write request and a response read For details please refer to the Acyclic Data Exchange subchapter 7 7 These operations are done using libraries supplied with the QJ71PB92V module lib_dpv1 To perform acyclic commu nication without this library please refer to the Simple Ladder example chapter GX Works Q CPU Simple Ladder Acyclic communication example on page 54 Reading a parameter Sequence 1 Creating the request Start by preparing the content for the parameter read request The data request has the following format Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value att
21. Gp Gil Gps Syne Output Freeze Input Initialize slave when failing to respond 69 GX Works FX CPU Telegram 1 example Get Started 9 Select the communication protocol used to communicate with the option card For this tuto rial use Standard Telegram 1 Drag this option from the Available Slave Modules to Pro ject Slave Modules The A8NDPV1 supports only one module H Slave User Parameters Available Slave Modules Wl 1 MyA240inverter Standard Telegram 1 U Ki Aud moues via Dirag Dirop i Telegram 100 Torque Control 7 Telegram 101 Postion Control Telegram 102 Custom Telegram 103 Custom Slave User Parameters Available Slave Modules Standard Telegram 1 Telegram 100 Torque Control Telegram 101 Position Control Telegram 102 Custom Telegram 103 Custom 70 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 1 example Click Next to proceed No changes are required on this screen after clicking Next proceed to the final screen and click Finish The configured Profibus Slave should appear in the Profibus Network window like below Local Label Setting POU_01 PRG a POU_01 PRG Program Structur OFX D d DH H PROFIBUS Configurator Tasks 3 NN A Setup Tasks a Master Settings Dinvert fa GSD Device Database BH Slot standard Telegram 1 VO Mapper ow Devices for Slave Specific Transfer l p
22. MyA840Inverter hi 0 125 11 1 255 IT Gpi L Gp2 l Gp3 l Gp4 l Gp 5 Gp 6 Gp7 Gms Sync Output J Freeze Input IT Initialize slave when failing to respond Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example Select the communication protocol used to communicate with the option card For this tuto rial use Standard Telegram 1 Drag this option from the Available Slave Modules to Pro ject Slave Modules The A8NDPV1 supports only one module H Slave User Parameters Available Slave Modules Wl 1 MyA240inverter Standard Telegram 1 U Ki Aud mouues via Dirag Dirop i Telegram 100 Torque Control 7 Telegram 101 Postion Control Telegram 102 Custom Telegram 103 Custom H Slave User Parameters 100 Torque Control 101 Position Control 02 Custom 103 Custom A8NDPV1 PROFIBUS Option Board 21 GX Works Q CPU Telegram 1 example Get Started 1D Click Next to proceed No changes are required on this screen after clicking Next proceed to the final screen and click Finish The configured Profibus Slave should appear in the Profibus Network window like below Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help 8X H iM Ga Fa Dew Si ER Si e e D EN JUL AN o Dey Devi o Eal E e Bo lt E Navigat ion H x Project r Parameter o 2 Intelligent Function Module Eh 0000 Q 71PB92V
23. When the write request has been processed BFM 4510 will be equal to 0 If the request is com pleted successfully BFM 7000 is equal to 0 then perform a response read In case of an error read the error details from BFM 7008 For an explanation of the error codes refer to the FX3U 64DP M user manual To issue the read request set the slave address slot number target index and length of data of the expected response It should be noted that 240 bytes can always be read This is the maxi mum allowed length of a response In case of a shorter response only the available data will be read Waitfor acyclic request write finish Write request finished Error in write request AND lt gt d SlaveStatus K0 si SlaveStatus 82 When the read request has been processed BFM 4500 will be equal to 0 Similarly like before BFM 7000 will be checked for any errors A8NDPV1 PROFIBUS Option Board 83 GX Works FX CPU Acyclic communication example Get Started If the read request was completed successfully the requested data will be available starting from BFM 4524 Wait for acyclic request read finish Error in read A GE EE E EE FROM D D D D D D D D D D D D D D D request ReadResponse EN ENO L AND TE RST gra A E EN FROM
24. 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 102 example 3 From the Available Slave Modules drag Telegram 102 Custom to the Project Slave Mod ules section Click Next to proceed DP Slave Parameters Wizard Slave Modules d Modules installed 1 are possible Li usage 0 d 0 byte s Slave User Parameters Available Slave Modules Cancel Max Data size 128 byte s Max 1 0 sizes G4 64 byte s Project Slave Modules hl 1 MyA840Inverter h Add modules via Drag amp Drop _ sc JC tet vea 4 From the select module dropdown select slot 0 Telegram 102 Custom It is now possible to setup the input and outputs of the telegram There are 18 inputs and outputs used in this telegram one of each is reserved for control status word leaving 17 inputs outputs free for custom setup 5 The setup of the telegram is done by entering signal parameter numbers into the right col umn All monitor data can be viewed as input and some of the profile parameters as input output Please keep in mind that not all parameters can be accessed via cyclic communica tion The PROFIdrive parameter numbers PNUs available for use are listed in the Data Ex change subchapters 7 1to 7 4 Below is an example setup Slot Description PNU Output PZD 2 Speed set point 14317 Input PZD 2 Actual speed set point 14319 Input PZD 3 Output frequency 9193 Input PZD 4 Output voltage 9195
25. DP master system 1 SYNC FREEZE Capabilities lV SYN IV FREEZE Iw Watchdog Comment Cancel Help General Parameters Address Transmission rate 1 5 M Subnet New Properties Cancel Help 113 SIMATIC STEP7 example Get Started Select and drag and drop telegram to option board The telegrams are found in the HW cata log with the option board Ge HW Config SIMATIC 300 Station Configuration ABNDPV1_Example ol Station Edit Insert PLC View Options Window Help D g 5 lt CH ET 2005P Kal 3 ABNDPY1 ET 200L ae e gt l 82 wl Find at ajl Standard v PROFIBUS DP A 8 CPU319 3 PN2DP 1 MPDP DP Profile _PROFIBUS 1 DP master system 1 I PIO 3 Additional Field Devices 7 Drives E a ASNDPY 1 Post 7 Post 2 andard Telegram 1 Telegram 100 Torque Control Telegram 101 Position Control Telegram 102 Custom M Telegram 103 Custom C Switching Devices aa 10 LC Gateway 3 Compatible PROFIBUS DP Slaves CQ CiR Object Closed Loop Controller Configured Stations 1 DP V0 slaves CC DP AS i CH DP PA Link 3 ENCODER ET 2008 ET 200C ET 200eco ET 200 Order Number Designation l Address Q Address Comment ET 200pro ET 2007 ET 2005 ET 200U ET 200x Function Modules IDENT IPC Ce CH CH ET 200M 7 G r Press F1 to get Help 114 Doc
26. E 0000 Q 71PE92V a Parameter Y Global Device Comment E 6 Global o P Data Security Setting ae Sg 8 Standby Program z W Fixed Scan Program Eh No Execution Type E Pou FI ZEN Program ER Ka POU 01 w DR Program Bee ly Local Label 5 The Profibus controller is setup and ready to run after compilation and write to the PLC Pro ceed to write the program to get the inverter running under a set frequency Go to the User Library section select the library generated by Profibus configurator and ex pand Global Label section Double click on the global variables Global1 Take note of the name of the global variables representing the input and output parameters to the inverter Profibus controller In this case it should be vHAO_input and vVHAO_output Both are an ar ray of two words containing 24 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example For vHAO_input 0 ZSW1 1 NIST_A ForvHA0_output 0 STW1 1 NSOLL_A Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help 8X a i En Ty n Aad Bai Een ot ine ine gt ELL QU71PB92V_0000 ea Program EEN Global Label 3 FB FUN EAR Structured Data Types Em EFAA A ANNAA aAA A Jrs me a Ja PEER AE EEEE Reservation to Register System Label DA O Reflect to Reservation to Release System Label System Label Not Reflec
27. GSD A standard GSD file is available for download see Download on page 1 6 3 DAP DAP is implemented for backwards compatibility 6 4 L d Identification Maintenance I amp M provides a standard way of gathering information about an I O device The 18M information can be accessed by the I O Controller by means of acyclic Record Data Read Write services The option board provides support for I amp M 0 4 data A8NDPV1 PROFIBUS Option Board 123 I amp M PROFIBUS DP V1 Implementation 124 Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange General Information 7 Data Exchange 7 1 General Information Inverter parameters can be accessed acyclically by means of the PROFldrive Parameter Protocol The master issues a parameter request to the option board The option board processes the re quest Meanwhile the master repeatedly tries to read the parameter response but an error mes sage will be returned until the request is fully processed by the module after which the master can read the response Translation of signal numbers Signal numbers used in the inverter do not directly translate to signal numbers PNUs used on PROFIBUS An offset is added to avoid ambiguous numbering on PROFIBUS where parameters and monitor data have different PNU numbers The array below presents a summary of the signal number translation For a complete presenta tion of how to translate the signal numbers for the option board drive pr
28. Get Started TIA Portal Acyclic communication example Try testing a negative response by changing the axis number to 0x10 Notice that after executing the sequence state 12 is active An error code of 0x19 AXIS_DO_NONEXISTENT is expected Profibus Acyclic Read PLC_1 CPU 315 2 PN DP Watch and force tables gt Watch table_1 i Name Address Display format Monitor value Modify value 7 1 requestedPNU S I DECH 6400 6401 MA 2 ParameterRequest MO 2 Bool E FALSE TRUE E A state sama DEC ER writeStatus d Hex 16800000000 E readValue sana DEC Y 7 DB RequestRecord Axis DB1 DBB2 Hex eg 16 10 MA i readError MAZO Hex 160019 o H lt Ads ne 3 15 2 Changing parameters Sequence 2 This example will be based off of the previous example Reading a parameter Sequence 1 as the changes needed are minimal Preparing structure of write request and read response Start by preparing the structure for the write request The data request has the following format Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number PNU to modify 8 9 Subindex irrelevant 0x00 10 No of values 0x01 11 Format 0x06 UINTEGER16 for all inverter parameters See data format type table 12 13 Set value PNU value to write A8NDPV1 PROFIBU
29. H LLE StatRead Get Started ee rError FDLAddressRead rOataLengthRead rSlotNoRead rindexRead DataRead rErrorCode rDetalledErrortode Finally modify the ladder block processing the response data A positive response consists of just 4 bytes of data in the following format Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x82 1 Request reference 0x01 OxFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Byte swapped error value see error table After a successful response is received bit rDone is ON check the length of the received re sponse to determine whether the parameter write request was processed successfully If the length rDataLengthRead is equal to 4 set a bit indicating a successful parameter write If this is not true a bit indicating parameter write failure shall be set and the error code shall be extracted to variable parameterWriteErrorCode wb ne Bowe A 4 E 40 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Acyclic communication example Executing example requests To perform a parameter write set the PNU of the parameter to change in requestParameterNo As an exam
30. RA Unsigned16 Always 8001h Vendor specific mode P944 Fault message R Unsigned16 Incremented by one each time the fault buffer counter P947 changes P947 Fault numbers R Array 8 Subindex 0 Active fault situation if the Unsigned16 drive is in Faulted state Subindex 1 7 Fault history where subindex 1 holds the most recent fixed fault situation Fault number is the corresponding PROFIdrive fault class P950 Scaling of fault R Array 2 Subindex 0 8 buffer Unsigned16 Subindex 1 1 A8NDPV1 PROFIBUS Option Board Defines the number of fault situations subindex 0 and the number of fault messages subindex 1 for each situation that the fault buffer can hold 129 Drive Profile Parameters Acyclic Data Exchange Data Exchange Parameter Definition R W Data Type Value Description P951 Fault number list R Array 255 Holds descriptive text for each fault that is sup Unsigned16 ported by the option board Each subindex corresponds to the event code num ber which means that the accessible subindices are limited The fault description is accessed as an additional text array P964 Device identifica R Array 5 Manufacturer ID 010Ch HMS tion Unsigned16 Drive Unit Type 0 Version software xxyy decimal Firmware date year yyyy decimal Firmware date day ddmm decimal month P965 Profile number R OctetString Byte 0 3 PROF ldrive profile 2 Byte 1 41 Version 4 1 P967 STW1 R
31. ZS Watch table_1 General Name Address Display format Value Comment v Connected to PLC_1 address IP 192 1 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Acyclic communication example 3 15 TIA Portal Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using TIA Portal It contains examples of reading and writing individual parameters First perform the setup using telegram 1 The process of acyclic communication parameter read consists of a write request and a response read performed using instructions WRREC and RDREC For details please refer to the Acyclic Data Exchange subchapter 7 7 3 15 1 Reading a parameter Sequence 1 Preparing structure of write request and read response Start by preparing the structure for the write request The data request has the following format Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU Request reference is any valid number this value is mirrored back in the response and can be used to distinguish multiple requests Once this request is processed successfully a read request can be issued The response of this request will contain the actual parameter value Th
32. hex Parameter Name Description 1300 514h Option parameter 1 General settings see Parameter 1300 514h General Settings on page 118 1301 515h Option parameter 2 N A 1302 516h Option parameter 3 Network Type 1303 517h Option parameter 4 Serial number low word 1304 518h Option parameter 5 Serial number high word 1305 519h Option parameter 6 Network specific 1 see Parameter 1305 519h Device address node address on page 118 1306 51Ah Option parameter 7 Network specific 2 see Parameter 1306 51Ah Actual device address node address on page 118 1307 51Bh Option parameter 8 Network specific 3 see Parameter 1307 51Bh Option board settings priority on page 119 1308 1343 51Ch 53Fh Option parameter 9 44 N A During startup the option board will verify value of this parameter If it differs from the network type of the option board the option board will change the parameter value to the actual network type and clear all other parameters 2 During startup the option board will verify the value of this parameter If it differs from the serial number of the option board the option will board will change the parameter value to the actual serial number and also set the option board host name to main unit name serial number The option board and the inverter start up with default standard settings Any changes of the pa rameter values during runtime will not be available until the inverter has
33. lt gt DWord EN 16 DE80_B500 DB3 DBD12 RDREC_DB A8NDPV1 PROFIBUS Option Board Get H EN ENO R La DB 3 DBX0 0 MOVE RDREC_DB REQ EN ENO R ka 11 MW OUTI state 105 TIA Portal Acyclic communication example Get Started Finally process the received response Check the ResponselD field of the ResponseRecord A value of 1 indicates that the request was performed successfully In this case move the Value field of this structure to the readValue tag Enter state 7 to indicate a successful parameter read If the respon selD is equal to 0x81 then a negative response was received Save the error value also the Value field of the structure to the errorValue tag Enter state 12 to signal a negative response v Network 10 Process response DB1 DBB11 D I MAW ResponseRecord E a ResponselD state P MOVE MOVE Int Byte EN ENO _ _ _ _ __ EN ENO 6 1 7 IN H DB1 DBW16 mam ra DB OUTI readValue OUTI state ResponseRecord Value jy DB1 DBB11 D I ResponseRecord ResponselD MOVE MOVE Byte EN ENO EN ENO 16884 12 IN SC DB1 DBwW16 e Leger DB our readError OUTI state ResponseRecord Value jy MOVE EN ENO DB3 DBW16 MWS RDREC_DB LEN N OUT readLen Executing example requests After compiling the program and writing it to the PLC it is possible to execute par
34. module refers to the communication module Hexadecimal values are written in the format NNNNh where NNNN is the hexadecimal value Support MITSUBISHI ELECTRIC EUROPE EUROPE B V German Branch Gothaer Stra e 8 D 40880 Ratingen Phone 49 0 21 02 486 0 Hotline 49 2102 1805 000 765 766 Fax 49 0 21 02 4 86 1 120 e mail megfa mail meg mee com https eu3a mitsubishielectric com MITSUBISHI ELECTRIC USA AUTOMATION 500 Corporate Woods Parkway Vernon Hills Illinois 60061 Phone 1 847 478 2100 Fax 1 847 478 0327 www MEAU com MITSUBISHI ELECTRIC JAPAN CORPORATION Tokyo Bldg 2 7 3 Marunouchi Chiyoda Ku Tokyo 100 8310 Phone 81 0 3 32 18 31 76 Fax 81 0 3 32 18 24 22 Please refer to the drive manual for other region contact addresses A8NDPV1 PROFIBUS Option Board 3 Support About This Document 4 Doc Id HMSI 216 127 Doc Rev 1 00 Pre Operation Instructions General 1 Pre Operation Instructions 1 1 General The FR A800 series from Mitsubishi Electric ME is a family of frequency inverters The commu nication modules option boards enabling communication on different industrial networks are developed and produced by HMS Industrial Networks Examples of applications for the frequency inverters are Lifting equipment Warehouse systems Extruders Centrifuges 1 2 Product Overview The A8NDPV1 PROFIBUS Option Board allows information to be transferred seamlessly between
35. to change parameter 15 Jog frequency add the offset 5096 and write the result to this variable Set variable requestParameterValue to the requested value The value that will be set will be the output of multiplication of the set value and the minimum setting increments as according to the parameter list in the inverter manual For parameter 15 the minimum setting increment is 0 01Hz If a jog frequency of 5Hz is requested set requestParameterValue to 500 Fi nally execute the request by setting bit requestParameter to ON A successful write will result in setting of the parameterWriteSuccess bit Watch 1 Monitor Executing POUL 01 request ParameterNo POU 01 request ParameterValue POU 01 parameter Write Eror POU_01 parameter Write Success POU 01 request Parameter Test receiving a negative response by trying to write an out of range value After trying to write OxFFFF as the value of parameter 15 a negative response with error code 0x02 LOW_OR_HIGH_LIMIT_EXCEEDED will be received which is the expected behavior Watch 1 Monitor Executing POUL 01 requestParameterNo POU O1 request ParameterValue POU_01 parameterW rite Error POU O1 parameterWhrite Success POU 01 request Parameter POU_01erorValue Word Signed 88 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 1 example 3 13 TIA Portal Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using
36. zl Ohh Im E Lu Mech VD cn 10 11 12 13 14 15 16 17 18 19 20 21 DB Name Data type J Static 8 e RequestRecord Struct SH a ReferencelD Byte 11 a RequestiD Byte J a Axis Byte J a NoOfParameters Byte HI a Attribute Byte SH a NoOfindices Byte lt lt a PNU Int 1 a Index Int a lt Add new gt 4 e ResponseRecord Struct SH a ReferencelD Byte 11 a ResponselD Byte 1 a Axis Byte OT a NoOParameters Byte al a Format Byte J a MNoOfvalues Byte 1 a Value Int KETT a ErrorDetails Int a lt Add new gt Offset 0 0 0 0 1 0 20 3 0 40 5 0 6 0 SU 10 0 0 0 1 0 2 0 3 0 E 40 5 0 6 0 8 0 Start value 05 DI 1610 16 0 mm H a Ti H Fh H D amp E Di it Di On E L Ga Retain Visible in Setpoint COOC COOC Doc ld HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Acyclic communication example Creating the request Proceed to create the user program for reading the parameter value A state machine architec ture is used forthe process of creating receiving and processing acyclic communication The cur rent state of the state machine is held in PLC tag state A description of each state used in this example is provided below State Description Send write request wait for BUSY 0 Write request sent read results Write request sent successfully send read request Wait for BUSY 0 Read request Read request sent read
37. 0x02 INTEGER16 0x03 INTEGER32 0x04 UINTEGER8 0x05 UINTEGER16 0x06 UINTEGER32 0x07 VISIBLESTRING 0x09 OCTETSTRING Ox0a ZERO 0x40 ERROR 0x44 N2 0x71 N4 0x72 V2 0x73 137 Acyclic Data Exchange 7 7 3 7 7 4 7 7 5 138 Data Exchange Error table Error description Value IMPERMISSIBLE_PARAMETER_NUMBER 0x00 PARAMETER_VALUE_CANNOT_BE_CHANGED 0x01 LOW_OR_HIGH_LIMIT_EXCEEDED 0x02 FAULTY_SUBINDEX 0x03 NO_ARRAY 0x04 INCORRECT_DATA_TYPE 0x05 SETTING_NOT_PERMITTED 0x06 DESCRIPTION_ELEMENT_CANNOT_BE_CHANGED 0x07 NO_DESCRIPTION_DATA_AVAILABLE 0x09 NO_OPERATION_PRIORITY Ox0b NO_TEXT_ARRAY_AVAILABLE OxOf REQUEST_CANNOT_BE_EXECUTED_BECAUSE_OF_OPERATING_STATE 0x11 VALUE_IMPERMISSIBLE 0x14 RESPONSE_TOO_LONG 0x15 PARAMETER_ADDRESS_IMPERMISSIBLE 0x16 ILLEGAL_FORMAT 0x17 NUMBER_OF_VALUES_ARE_NOT_CONSISTENT 0x18 AXIS_DO_NONEXISTENT 0x19 PARAMETER_TEXT_ELEMENT_CANNOT_BE_CHANGED 0x20 Sequence 1 Request parameter value single Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of elements 5 Attribute value 6 7 Parameter number 8 9 Subindex irrelevant for non arrays Sequence 1 Parameter response positive Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of values 5 Format 6 7 Parameter value 8 9 Parameter value only for 32 bit data Doc Id HMSI 216 1
38. 10 3277 IN QW2 OUTI NSOLL_A 96 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 1 example 5 Finally add the code to stop the drive when MO 1 is reset In a new ladder block check wheth er the first 3 bits of ZSW1 are ON This condition means that the drive is in operation mode If this condition is met and M1 is not ON reset the set point speed to zero and set STW1 as 6 v Network 3 If drive is in operation and rotation command is not on stop drive 41 0 41 2 MO 1 ReadyToSwitchO 41 1 OperationEnable RotationComma n ReadyToOperate d nd MOVE l 1 EN ENO 10 6 IN QUO our sTw1 MOVE EN E 10 0 IN QW2 OUTI NSOLL_A Compile and write the program and parameters to the PLC After resetting the PLC and pow ering up the inverter set bits MO O and MO 1 to get the inverter running with the requested set speed YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help 7 AE Sve project 5 Devices 3 ax tz NM 3 gt PLC 1 CPU 315 2 PNIDP gt Wat ch and force table D Totally Integrated Automation PORTA Options 300 v _ Profibus Telegram 1 i Add new device am Devices amp networks v jg PLC_1 CPU 315 2 PN Dr Device configuration Y Online amp diagnostics al Program blocks gt E Technology objects External source files Ca PLC tags Le PLC data types Es Wa
39. 3 In the new window click Module Type and select PROFIBUS DP Module Module Name should be set to QJ71PB92V Save this setting by clicking OK 4 The Profibus DP module should be inserted into the Intelligent Function Module tree Expand it and double click on Parameter This should open the Profibus Configurator i Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help 8x iy Ea E Pai ES a er n ER A i Parameter 5 33 Intelligent Function Module i CA 0000 bes jobal Device Comment H Program Setting Pou a Program fat MAIN ib D Local Device Comment H Device Memory a A Device Initial Value P PO mu onde EN ER T GSD Database e Ki General e Ki Drives En Switches Setup Tasks a Eb E vo n0 0 0 FDL 0 OEB Master Settings ho Add slaves via Drag amp Drop from GSD device tree fo GSD Device Database E VO Mapper Devices for Slave Specific Transfer vo Export Tasks a i pov Ki Valves I Configuration Image H Project in GX Configurator DP Format Ki Controls a m Import Tasks a Import GX Configurator DP Project Add GSD File Import GSD Database Ki Encoder i NC RC Documentation Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP Online Status not connected A8NDPV1 PROFIBUS Option Boa
40. 7 7 8 Sequence 2 Parameter response positive ooooooooomooommmmmmoP 139 7 7 9 Sequence 2 Parameter response negative oooooooooocccnroncccccc ooo 139 7 7 10 Sequence 3 Request parameter value several array elements 140 7 7 11 Sequence 3 Parameter response positive oooooooocoooommmmmmm o 140 7 7 12 Sequence 3 Parameter response negative oooooooooccccroncccccca oo 140 DIAGNOSUICS isa 141 TFOUDIESNOOEING iras E Translation of Signal Numbers ooooooooooo oo 145 ndek iii ir 147 A8NDPV1 PROFIBUS Option Board VII Table of Contents VIII Doc Id HMSI 216 127 Doc Rev 1 00 About This Document Related Documents About This Document For more information documentation etc please visit the ME website https eu3a mitsubishielectric com Related Documents Document Author Installation guideline of Mitsubishi inverter drive ME Instruction manual of Mitsubishi inverter drive ME Q Series Profibus Master QJ71PB92V manual https eu3a mitsubishielectric com fa ME en mymitsubishi download_manager id 1839 FX Series Profibus Master FX3U 64DP M manual https eu3a mitsubishielectric com ME fa en mymitsubishi download_manager id 1862 GX Configurator DP 7 10L Software Manual https eu3a mitsubishielectric com fa ME en mymitsubishi download_manager id 1404 Download The following websites are available for downloads
41. Contents About This Document ccccccccccccccccccccccccccsssccccce I Related DOCUMENTS choc wish ata cone ti ete Saas esata eee 1 DA A IN 1 DOCUMENTATION CO ba 2 Conventions a TermiNOlogy deal dida 3 SUPONE rar aid adas 3 1 Pre Operation Instructi0NS oooooooooooooooooooco D EL GCC ala dice we bats ei he ceed ahs Ot EE 5 EZ Product EE 5 UE SR GE 5 1 4 Unpacking and Product Confirmation 6 BE DN SHIPMENECONGMNAUOM EE EEN 6 1 4 2 COMPONENTOVEVIE Wi A EAS 6 1 5 Environmental Specifications Ate EE ii ie 7 Zo IMSTallatiON sitiar aa 2 1 Pre installation INStr ctionS ere E ee 9 22 instolation Procedure ia al iras 9 2 3 Network Connector DSUB female 0 cece cece cence eet e eee eeeeneeeeneee 12 ZA CEDNA TEE 13 Se GetStarted iia caida E 3 1 ERYsica listada IN oe 15 32 Download GSD ler is dias 15 3 3 INVerter seta dale Bown Ata 15 3 4 GX Works Q CPU Telegram 1 example cc ccc ccc ccc cece raro 16 3 5 GX Works Q CPU Telegram 102 example ccc ccc ccc cee eee eeeeeeee 29 3 6 GX Works Q CPU Acyclic communication example cece cece eee eee mmm 34 3 6 1 Reading a parameter Sequence 1 6 ccc ccc ccc ccc eee eee carro 34 3 6 2 Reading an array of parameters Sequence 2 37 3 6 3 Changing parameters Sequence Al 38 3 7 GX Works Q CPU Simple Ladder Telegram 1 example ooooooooooommmooo 42 3 8 GX Works Q CPU Simple Ladder Telegram 102 example
42. D3504 PROF Idrive error value To perform a parameter write set the PNU of the parameter to change in D3500 In order to change parameter 15 Jog frequency add the offset 5096 and write the result to D3500 Set D3502 to the requested value The value that will be set will be the output of multiplication of the set value and the minimum setting increments as according to the parameter list in the inverter manual For parameter 15 the minimum setting increment is 0 01Hz If a jog frequency of 5Hz is requested set D3502 to 500 Finally execute the request by setting bit M70 to ON A successful write will result in setting of the M74 bit Watch 2 Monitor Executing Device Label MO 0 Bit MO Initialize command M1 0 Bit M1 Rotation comma M10 M10 0 Bit D3500 5111 Word Signed 500 D350 Word Signed D350 M11 Bit M11 M13 Bit M13 M14 Bit M14 D354 Word Signed D3504 Test receiving a negative response by trying to write an out of range value After trying to write OXFFFF as the value of parameter 15 a negative response with error code 0x02 LOW_OR_HIGH_LIMIT_EXCEEDED will be received which is the expected behavior Watch 2 Monitor Executing Device Label MO 0 Bit MO Initialize command M1 0 Bit M1 Rotation comma M10 0 Bit M10 D3500 5111 Word Signed 3500 03502 1 Word Signed D3502 M11 0 Bit M11 M13 1 Bit M13 M14 0 Bit M14 D3504 2 Word Signed D3504 Doc ld HMSI 216 127 Doc Rev 1 00 Get Sta
43. E Device Initial Value Starting 1 0 number 000 0x0 xFE0 Import Tasks Error action flag I Goto Clear State Min slave interval I Calculate ti 55 1 65535 Import GX Configurator DP Project SE E d Add GSD File JV Use Min slave interval for Target Token Rotation Time T_tr Import GSD Database Polling timeout 50 1 65535 Documentation IV Slave watchdog IV Calculate time 3 1 65025 Project Documentation Estimated bus cycle time 5 500 ms Documentation of O Mapping Watchdog for time sync 0 0 65535 Help Help Topics Meret sa oul hit it La User Library E Connection Destination Project GSD data GSD data Global GSD data a Online Status not connected Watch ax The Baudrate FDL address and other settings can be changed as needed For this tutorial these settings will not be changed Click Next to proceed 7 On this screen it is possible to change the buffer devices and data transfer between Profibus Master and CPU For this tutorial use AutoRefresh with Consistency Click Finish to save set tings and close this wizard DP Master Parameters Wizard CPU Device Access Enter the device addresses for buffering 140 and diagnostic data r Butter Devices C Slave Specific Transfer f Block Transfer Comm Trouble Area Extd Comm Trouble Area Slave Status rea Data Transfer between CPU and master module using f Copy Instructions e A
44. ENEE AND d K6 _IN _ yHA0_output 0 e e ooo o ee ww w te e Se e WAND CEET EQ M1 lt w es mg gl de E A E Me sa SW Some LR cme ets Som A Tse we An eee A eee wn e e Sei E e 1 EN ENO a 2111 eg A TO TO e eoe dde a e e OR m 98 Mae e vHA0_input 0 sl dl O uae uh es es ee ea a Be Mas ae a as EECHER na sa AP oe A A Bg 28111 s2 A te cep ae er e wa om ter Le er a a a e Se A S MOVE_E O O IT A E San aN ary a O NN eh ay O A A me et RT ce et a EN ENO ee a a Fa te te ok Oe aoe pea et ps E N E ad ar tat oe Suey ds ter us tee ay EN a ee ee a em Ter fe cee pr ter ote te GE GE ear ie na at pes des pes pede oe nek ee te Cae Se E K0 IN i vHA0_o utp ut 1 E CR as Ee A8NDPV1 PROFIBUS Option Board 27 GX Works Q CPU Telegram 1 example Get Started GO Compile and write the program and parameters to the PLC After resetting the PLC and pow ering up the inverter set bits MO and M1 to get the inverter running Be sure to select the in telligent function module like on the screenshot below a Online Data Operation zm EE um e a 1 penton Target Data es Necessary Setting Mo Setting AlreadySet Setifitismeeded Mo Setting f Already Set Remote Operation Set Clock PLC User Data Write Tite Format PLC Clear PLC Memory Arrange PLC Memory Memory 28 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 102 example 3 5 GX Works Q CPU Telegra
45. Input PZD 5 Actual operation time 9215 A8NDPV1 PROFIBUS Option Board 51 GX Works Q CPU Simple Ladder Telegram 102 example 52 Module Parameters PNU in Output PZD 2 PNU in Output PZD 3 PNU in Output PZD 4 PNU in Output PZD 5 FNU in Output PZD 6 FNU in Output PZD 7 FNU in Output PZD 8 PNU in Output PZD 9 PNU in Output P7D 10 FNU in Output PZD 11 FNU in Output PZD 12 PNU in Output PZD 13 PNU in Output PZD 14 FNU in Output PZD 15 FNU in Output PZD 16 PNU in Output PZD 17 FNU in Output P7D 18 FNU in Input PZD 2 PNU in Input PZD 3 FNU in Input PZD 4 FNU in Input PZD 5 FNU in Input PZD 6 PNU in Input PZD 7 PNU in Input PZD 8 PNU in Input PZD 9 FNU in Input PZD 10 FNU in Input PZD 11 PNU in Input PZD 12 PNU in Input P2D 13 FNU in Input PZD 14 FNU in Input P2D 15 FNU in Input PZD 16 FNU in Input PZD 17 FNU in Input P D 18 PNU in Input PZD 8 0 65535 0 Telegram 10 Custom oS eo ee fee 8 e Ca e Fe amp e Ca amp 3 E oS S amp S e 8 amp Ca Fe E amp Ca amp Get Started Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 102 example 6 Click Next and Finish to proceed Save the project and write it to the PLC The additional mon itor data can be viewed in the appropriate buffer device To view the devices that are occu pied by Profibus double click on the Profibus master to bring up the Master Parameters Wizard and click Next The buffer
46. K5762 n2 K5763 n2 ES eae E OA Ser a ada a K1 n3 co K K1 n3 K1 n3 a a G a o Posa repka na n e a Sendacyclic write PAS ace Wee Pos oe e Data request e e e ew e ew pe kp e A e TO TO RST SET dE EN ENO EN ENO EN ENO ee e dE DataToWrite 0 8 IE Sr ube StartWrite WriteResponse Soa Spog awe we onom i KO ni lt KO Wee ae es ey eG E r a SS E E ew K5764 n2 K4510 n2 A A ST e 8 I IR WEN e ER e a K7 n3 ee KE ie E IR e RR LR e e WIER E EI Nr e e e ue d A Reading the response The length of the expected read response is up to 8 bytes The ladder block responsible for wait ing for completion of the write request and issuing the read request does not change Finally modify the ladder block processing the response data A positive response consists of just 4 bytes of data in the following format Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 86 Doc ld HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Acyclic communication example In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x82 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error
47. MOV D3501 G23817 i lt Set request execution flag gt SET M5 lt Reset parameter read request gt RST M10 Y The code above after executing the write to the Profibus slave will return information regarding the success of making the request not the actually requested data Before making the actual re quest prepare the data for the read request Continue sequence prepare read request lt Read service M11 M100 M108 UO 250 _ _ _ __________o Q MOV H1400 G23809 lt Clear data UO kl FMOV KO G23814 K123 KS Tt lt Se request execution flag T1 306 SET M5 lt Reset read request flag RST M11 A8NDPV1 PROFIBUS Option Board 55 GX Works Q CPU Simple Ladder Acyclic communication example 56 Get Started In the program there is a delay of 500ms between receiving confirmation of the write request and executing the read request Due to the nature of Profidrive acyclic communication the re sponse may not be immediately available after execution of the request Waiting a small amount of time significantly increases the chance of receiving a response on the first try Another solution is to keep executing read requests until a proper read request is received Finally include the code that executes the prepared request Perform write read request 338 M5 M108 M100 h MOV MOV MOV MOV MOV lt FDL address gt UO K1 G23810 lt Data length gt UO
48. Name Description 1 NC 2 NC 3 RxD TxD P Receive Transmit data P B line 4 CNTR P Repeater control signal Direction control RTS 5 ES signal 5 DGND Data ground Reference voltage to VP AAA 6 VP Power supply PSV 9 6 7 NC 8 RxD TxD N Receive Transmit data N A line 9 NC Shield PE Doc Id HMSI 216 127 Doc Rev 1 00 Installation 2 4 A8NDPV1 PIRJOLF BJuJs LED Network status LED Indicators LED Indicators Network Status Module Status State Status Off Offline or no power Green Online data exchange Green 1 flash Online clear Red 1 flash Module initialized parametrization error Red 2 flashes Module initialized configuration error Red Fatal error Network status LED and Module status LED will both be red Module status Off Not initialized no power or setup not finished Green Operational Green 1 flash Module initialized diagnostic event s present Red Exception error the option board is in the exception state If the Network status LED also indicates solid red a fatal error has occurred Error Off Communication with main unit is working without problems Red Error in communication with main unit A8NDPV1 PROFIBUS Option Board Red flashing 2 blinks Invalid process data parameter mapped Red flashing 3 blinks Too many process data parameters mapped LED Indicators Installation 14 Doc Id HMS
49. No properties can be shown at the moment There is either no object selected or the selected object does not have any displaya ble properties Information 4 Portal view ch Sleve_1 Y Project Profibus Telegram 1 created E eg 90 23 09 2013 YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation 25 1 Ej save project 3 NM za zx 0 14 wa BD Y coonline Y Go offline de DIR ze II PORTAL Profibus Telegram 1 PLC_1 CPU 315 2 PN DP gt Distributed I O DP Mastersystem 1 PROFIBUS_1 gt Slave_1 Devices L Topology view 2 OC ES it slave 2 v Profibus Telegram 1 ES f If Add new device E amy Devices amp networks vw jg PLC_1 CPU 315 2 PN DP sg Controllers DY Device configuration ig SIMATIC 57 1200 N Online amp diagnostics im SIMATIC s7 1500 Le Program blocks gt Ca SIMATIC 57 300 E Technology objects ig SIMATIC S7 400 Ke External source files En SIMATIC ET 200 CPU gt HMI Ca PLC tags Ci PLC data types ig PC systems Watch and force tables d Drives amp starters i Network components i Online backups li Program info a psrecing amp Monitoring EA PLC alarms La Distributed 1 0 Text lists gt Ca Field devices al gt La Local modules y Im Other field devices gt ji Distributed UO ij Additional Ethernet devices 34 Common data ij PROFI
50. Started Modify the ladder block preparing the content of the request Prepare an acyclic parameter read E E GE O E E PLS requestParameter AENSIENO ee ee REEGELE a e e e e ns e d EN ENO EN ENO E k Re wes e e GREEN EES EE di requestParameter wm Ai E SI A E LEN SE e III at Ge Request ID 0x02 parameter write 0 s d ReadRequestError 160205 _IN DataT oWrite 0 Request reference Q05 mg e Kn EN ENOL No ofparameters 0x01 DO ID 0x01 first axis EN Ne ee 160101 __IN DataToWrite 1 0o S men WriteRequestEror EEN EES e pe elt 1 No ofetements 0x00 LEN ENO 16 0010 IN DataToWrite 2 Attribute value 0x10 value_attribute e e e e d parameterWriteError e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e e E IA o Teer MOVE_E en ee l EN ENO Requested PNU ee requestParameterNo MIN requestParameterNoBS EE AA di parameterWriteSuccess AA EE A g ei NA R W AR RR ge reiege e CR E E a e n E Jan 8 en ZA SWAP MOVE_E
51. TIA Portal CO Start with a new project YA Siemens FR ABNDPV1 Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation P Ma Save project d i 0 xX 2 Ms vg a e i BR D g oonline Y Go offline de Re X 3 ORTAL FR ASNDPV1 gt Devices amp networks ay Network view l Device view E Topology view Devices oo v _ FRASNDPV1 E Add new device sh Devices amp networks x Wi Common data Les Alarm classes Si Text lists B Logs EB Instruction profiles LU E Documentation settings gt Languages amp resources Online access ER Card Reader USB memory k Details view EN Network Connections HMI_connection Name 4 Portal view A catalog lt Search gt 4 Filter ig Controllers gt E Hm ET PC systems Im Drives amp starters gt Ca Network components La Detecting amp Monitoring La Distributed 110 gt Ca Field devices gt Ca Other field devices Q Properties IS info ale Diagnostics No properties available No properties can be shown at the moment There is either no object selected or the selected object does not have any displayable properties Information v Project FR ABNDPV1 opened Do agangen E 5 00 BUJU le 2 Select Add new device from the Project tree section In the new window select the PLC and DA Siemens Profibus Telegram 1
52. Type ASNDPV1 Telegram 102 Custom _1 o 0 35 0 35 Telegram 102 Cust Q Properties i Info amp V Diagnostics DI General IO tags Texts Firmware Version 1 00 Comment sauesqr E v General Catalog information Device specific parameters Hex parameter assignment lO addresses Hardware interrupt dh Slave_1 e Watch table_1 Device specific parameters PNU in Output PZD 2 PNU in Output PZD 3 C PNU in Output PZD 4 C PNU in Output PZD 5 C PNU in Output PZDI6 C PNU in Output PZD 7 PNU in Output PZD 8 PNU in Output PZD 9 PNU in Output PZD 10 PNU in Output PZD 11 PNU in Output PZD 12 PNU in Output PZD 13 PNU in Output PZD 14 eleeteeeeete 19 19 9 0 PNU in Output PZD 15 v gt Information v Connected to PLC_1 address IP 192 1 I lu Q Properties s PNU in Output PZD 18 0 PNU in Input PZD 2 14319 PNU in Input PZD 3 9193 PNU in Input PZD 4 9195 PNU in Input PZD S 9215 PNU in Input PZD 6 PNU in Input PZD 7 PNU in Input PZD 8 PNU in Input PZD 9 PNU in Input PZD 10 PNU in Input PZD 11 PNU in Input PZD 12 PNU in Input PZD 13 lollollollollollollollollol PNU in Input PZD 14 PNU in Input PZD 15 ele PNU in Input PZD 16 Board 99 TIA Portal Telegram 102 example Get Started 4 Compile the project a
53. With this setup STW1 is available under QWO NSOLL_A under QW2 ZSW1 under IWO and NIST_A under IW2 UA Siemens Profibus Telegram 1 Project Edit View Insert Online C 2 Y E seveprojer SM sel Devices HOO v _ Profibus Telegram 1 If Add new device am Devices networks v jj PLC_1 CPU 315 2 PN DP Y Device configuration Y Online amp diagnostics at Program blocks K Add new block gt Ls Technology objects b External source files gt Ca PLC tags Ci PLC data types gt El Watch and force tables e Online backups 305 Program info EA PLC alarms Text lists gt ig Local modules gt i Distributed UO 34 Common data EJ Documentation settings Le Languages resources gt pa Online access gt 5 Card Reader USB memory 94 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 1 example 2 After powering up the inverter and Profibus master connection will be established Expect to see bit 6 Switching on inhibited set in ZSW1 Below is a simplified state diagram dependent on control word 1 STW1 General State Diagram Power supply ON S1 Switching ON Inhibited ZSW1 bit 6 true 0 1 2 p e false OF Coast Stop detected OR AND No Coast Stop OR Quick Stop b Coast Stop Disable Operation AND No Quick Stop STW1 bit1 false STW1 bit 1 false STW1 bit 3 false STW1 bit 0 false AND bit 1 true OR bit 2 false k AND bit 2 true ee
54. ZS ar OS ee Ly A gt gt gt gt gt x o ae A N ee nee ee Byteswappedvalue 0 a EE ENEE NENNEN EE EE EE NEE ONE S D D D D D D D MOVE_E D D A SUS eG EN ENO N ENO moo cat Se CO om OR Ca a ao ee A A OO GO Ck ee ee ee requestParameterValueBS 8 requestParameterValueBS MIN H DataToWritel6 gt gt ecr soroa k r sair sdm op moB 2 Change the actual length of the write request Change the length to 28 hex characters in the lad der block that executes the request DoviVriteCh2 1 Q Headaddress Done Done 1 FDLAddress Error Error 20 DataLength FDLAddressWrite FDLAddress 1 SloiNo DataLengthW rite DataLength a 47 Index SlotWoW rite SlotNo Data ToW rite Data Write IndexW rite Index DE 2 2 2 E ErrorCode Error ode E DetailedErrorCode DetailedErrarCode Start rite Start dea Start rite 2 es E es A8NDPV1 PROFIBUS Option Board 39 GX Works Q CPU Acyclic communication example Reading the response The length of the expected read response is up to 8 bytes 0 Headaddress DpviReadthi_1 1 Fil Address 16 DataLength 1 SloiNo 4 Index StatRead StanRead DpviReadChi Done Error FDLAddressRead DataLengthRead SlotNoRead IndexRead DataRead ErrorCode DetailedErrarCode
55. be shown at the moment There is esther no object selected or the selected object does mot have any displeysble properties A8NDPV1 PROFIBUS Option Board bom DE E 003 SUIUO Kc Sauer 89 TIA Portal Telegram 1 example Get Started 3 Now add the power supply Select the power supply from the hardware catalog on the right side of the screen YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help F 1 El Save project 2 Profibus Telegram 1 PLC_1 CPU 315 2 PN DP Devices A ES x ys ces ii ul m Dr g la y Go online wi Go offline A A IR Ka 4 a Totally Integrated Automation PORTAL 3 Topology view ay Network view 400 v Profibus Telegram 1 i Add new device gm Devices amp networks v jg PLC_1 CPU 315 2 PN DP Dr Device configuration Online amp diagnostics gt Lei Program blocks C Technology objects gt External source files gt LG PLC tags gt Le PLC data types gt Ea Watch and force tables gt Ex Online backups ls Program info EA PLC alarms Si Text lists gt Ca Local modules gt fad Common data Ej Documentation settings LV lo Languages amp resources LU Ta Online access IS Card Reader USB memory Do asempiey E X EI Controllers gt ig SIMATIC S7 1200 ig SIMATIC S7 1500 v jg SIMATIC 57 300 E Back v E PS ig PS 307 2A Herz 307 1840 5 00 uijuo ss
56. confirm that input power to the inverter has been switched off via observation of the inverter s display panel Additionally wait for at least 10 minutes after removal of input power and then confirm that all residual voltage has been dissipated by using a voltage meter Internal DC bus capacitors may contain high voltages for several minutes after removal of input power resulting in a dangerous situation should anything come into contact with them All personnel involved in the installation or inspection of this equipment should be fully competent to perform the required work Always install plug in options prior to wiring main power Do not touch the plug in option with wet hands Do not subject the cables to scratches excessive stress heavy loads or pinching To prevent explosions or similar damage apply only the voltages specified in the instruction manual to each terminal To prevent explosions or similar damage ensure that all cables are properly connected to the correct terminals To prevent explosions or similar damage observe all wiring polarity indicators To prevent burns from hot components do not touch the inverter while power is on or for some time after power is removed A8NDPV1 PROFIBUS Option Board III Additional Instructions Please note the following points to prevent equipment damage injury or electrical shock Transportation and mounting e Do not install or operate the plug in option if it is damaged
57. gt Ca PLC tags p Cil PLC data types gt Es Watch and force tables Data type v Network 3 If drive is in operation and rotation comm gt xl Online backups 30 Program info EA PLC alarms Z Text lists gt E Local modules gt ij Distributed UO 3d Common data Ej Documentation settings gt la Languages resources gt aj Online access gt 5 Card Reader USB memory v Details view At Aero gt 4 0 ReadyToOperate m E Offset Comment Q Um P i Organization block Function block Function e Data block E E Type Language Number Description DB manual Gei automatic Data blocks DBs are data areas in the user program which contain user data Select one of the following types Aglobal data block An instance data block gt Additional information M Add new and open Device information Connection information I Alarm display The data block will be added to the program blocks with the specified name Add two structures RequestRecord and ResponseRecord to the data block Create the structure of the records accord ing to the specification like on the screenshot below Enter the start value for the variables so that the fields don t need to be initialized in the user program Profibus Acyclic Read PLC_1 CPU 315 2 PN DP Program blocks DB DB1 SFE BE PRR Be
58. hot FEEEEEEEEEEO Ci C Co D D DP PA Link E E E E E E Doc Id HMSI 216 127 Doc Rev 1 00 Get Started A8NDPV1 PROFIBUS Option Board SIMATIC STEP7 example 6 Drag and drop an instance of the option board to the configuration fis HW Config SIMATIC 300 Station Configuration ABNDPV1_Example al Station Edit Insert PLC View Options Window Help Vel X Des r g MO gp we N BI x End ant ani ai CPU319 3 PN DP 1 Profile Standard y 9 MAYDA DP PIO Post T Post 2 _PROFIBUS 1 DP master system 1 Additional Field Devices El Drives a ASNDPY1 9 Switching Devices 10 Gateway AL Compatible PROFIB4AS DP Slaves o Cih Sbe C Closed Loop Controller LC Configured Stations DP VO slaves A DP AS i 3 DP PA Link Y ENCODER Y ET 2008 9 ET 200 3 ET 200eco CH ET 2001S f ET 200i5P 3 ET 200L 7 With the option board selected right click on it and open Object Properties from the menu in the pop up window Select the General tab Click the PROFIBUS button and then enter the node address under the Parameters tab Properties DP slave General Parameter Assignment m Module Order number GSD file type file HMS_18E0 GSD Drives A8NDPY1 A8NDPY1 Node Master System Family DP slave type Designation m Addresses e 86 Diagnostic address
59. how to configure a PROFIBUS network including an A8NDPV1 PROFIBUS Option Board using the SIMATIC STEP7 configuration tool Please consult the SIMATIC STEP7 for further information on how to use the tool The configuration is created offline and downloaded to the network when it is finished 1 Open SIMATIC Step7 2 Select Options Install GSD a HW Config SIMATIC 300 Station Configuration ASNDPV1_Example H Station Edit Insert PLC View Mei Window Help 8 X D Ge 2 a d amp Customize Ctrl Alt E a ol x Configure Network Symbol Table Ctrl Alt T Find ant ajl Profile Standard si Edit Catalog Profile PROFIBUS DP Update Catalog ii PROFIBUS PA Install HW Updates Ko PROFINET 10 fil SIMATIC 300 E SIMATIC 400 Find in Service amp Support E SIMATIC PC Based Control 300 400 SIMATIC PC Station lt 3 Browse for the correct GSD file to use with the option board Select file and click Install Install GSD Files Install GSD Files from the directory C Documents and Settings Administrator Desktop Browse HMS_18ED gsd Default S i Show Log Select All Deselect All Close Help A8NDPV1 PROFIBUS Option Board 111 SIMATIC STEP7 example Get Started 4 Select PLC and drag an instance of the selected PLC into the configuration window T C ABNDPV1_Example IR CPU319 3 PNZDP 1 MPDP DP PIO Post T Port 2 Kal SI
60. ooooooooooooomomommomom 121 SSA A o e dee ado ceo 121 PROFIBUS DP V1 Implementation oooooooooooooom 2 123 Eh ido labs ao 123 Electronic Datasheet SD iia EA IAEA 123 RTE 123 Md ados 123 Doc Id HMSI 216 127 Doc Rev 1 00 7 SCH 7 2 1 3 7 4 7 5 7 6 1 7 Table of Contents Data Exchange siii Zo Generator an Rule eb san eee R eee o 125 Inverter parameters Acyclic Data Exchange 0 cc cc ccc cece cece eee e eee eeeees 126 Monitor Data Acyclic and Cyclic Data Exchange 126 Drive Profile Parameters Acyclic Data Exchange 129 7241 PROFIGIIVEP aVaImetelrs usaras a 129 74 2 Setpoint and Actual Value POoilb boiel 130 TA ION MISION AS ADA 130 7 4 4 Drive Reset POTD is 130 General State Did TM AAA AAA AA 131 Process Data Cyclic Data Exchange 132 E A AP od eukaryote eens task E 132 FOZ EE 132 LO Telegram YDES diri 134 7 6 4 Vendor Specific Access to Parameters o ooooooocccccccccccccccc caco 135 Acyclic Data EXtha Nge aiii iia 136 7 7 1 Explanation of fields Used in requests 0 cc ccc ccc eee eee eee eeeeee 137 7 7 2 Data tormat type table EE 137 LID HEET 138 7 74 Sequence 1 Request parameter value single oooooooooooooo 138 7 7 5 Sequence 1 Parameter response positive o oooooooooooommmmmmmm m oo 138 7 7 6 Sequence 1 Parameter response Negative ccc eect teen eee eens 139 7 7 7 Sequence 2 Change parametervalue 139
61. parameter 51Ah reflects the current node address setting 255 A factory default reset is performed The device will default to node address 126 and wait for an SSA command Option Param eter 7 parameter 51Ah reflects the current node address setting 8 15 reserved 0 N A 1 Parameter 51Ah option board parameter 7 reflects the current setting 2 For more information see Set Slave Address on page 121 When read by the parameter unit an address in the span 0 125 indicates that a node address has been set by the unit If the value is 126 address setting has been managed via SSA functionality see Set Slave Address on page 121 Parameter 1306 51Ah Actual device address node address Only read from the option board during startup The parameter cannot be changed at runtime Bit Name Default Description 0 7 Actual device This device address reflects the current setting address Valid settings range from 0 126 8 15 reserved 0 N A Doc Id HMSI 216 127 Doc Rev 1 00 Inverter Settings Operation Mode Setting Parameter 1307 51Bh Option board settings priority Note Ifthe settings of parameter 1305 are to be used by the option card this parameter must be set to 1 Bit Name Default Description 0 7 Communication This parameter decides the priority of setting Valid settings range settings from 0 1 Value Description 0 Option board settings are used for net
62. read through this Instruction Manual and any related documents carefully and can use the equipment correctly Do not use this product until you have a full working knowledge of the equipment safety information and instruc tions In this Instruction Manual the safety instruction levels are classified into WARNING and CAUTION levels Assumes that incorrect handling may cause hazardous conditions result ing in death or severe injury SES A Assumes that incorrect handling may cause hazardous conditions result ing in moderate or slight injury or may cause physical damage only Please note that even the level may lead to a serious consequence depending on condi tions Please be sure to follow the instructions of both levels as they are critical to personnel safety SAFETY INSTRUCTIONS Electric Shock Prevention N WARNING Do not open any cover on the inverter while power is on or while the inverter is running as an electri cal shock may result Do not operate the inverter with any cover or wiring cover removed as accidental contact with exposed high voltage terminals and internal components may occur resulting in an electrical shock If power is off do not remove any cover except when necessary for wiring or periodic inspection While any cover is removed accidental contact with exposed high voltage terminals and internal compo nents may occur resulting in an electrical shock Prior to starting wiring or inspection
63. results Oh Un BW NI Results read 7 Successfully read requested PNU value 10 Write request error 11 Read request error 12 Parameter read error negative response Start by adding a new network that will contain the instructions to issue the actual write and read requests T Network 11 Execute write Comment DE WRREC_DB WRREC Int to Int EN ENG FALSE REQ DONE sl 3 D BUSY A 47 INDEX ERROR 10 LEN STATUS PIDB 1 DBX0 0 DB RequestRecord RECORD T Network 12 Execute read Comment DB 3 RDREC_DB RDREC Any EN EN FALSE REQ WALID sl Km BUSY A 47 INDEX ERROR 10 MLEN 5TATUS PADB1 DBX10 0 DE ResponseRecord RECORD A8NDPV1 PROFIBUS Option Board 103 TIA Portal Acyclic communication example Get Started 104 It will now be possible to reference the inputs and outputs of the function block instances mak ing it easier to create the program Proceed to prepare the sequence Add a new network in the user program that will start the state machine sequence Setting ParameterRequest will start the state machine from state 1 initialize all used variables readStatus readValue writeStatus copy the requested PNU from tag requestedPNU to the data structure and trigger the write request by setting the REQ input of the WRREC function block v Network 4 Start parameter request
64. unsigned R 9195 3 Output voltage 0 1V unsigned R 9196 4 reserved 9197 5 Frequency setting value 0 01Hz unsigned R 9198 6 Motor speed 1 rpm unsigned R 9199 7 Motor torque 0 1 unsigned R 9200 8 Converter output voltage 0 1V unsigned R 9201 9 Regenerative brake duty 0 1 unsigned R 9202 10 Electric thermal relay function 0 1 unsigned R 9203 11 Output current peak value 0 01A 0 1A unsigned R 9204 12 Converter output voltage peak value 0 1V unsigned R 9205 13 Input power 0 01 unsigned R 0 1kWh 9206 14 Output power 0 01 unsigned R 0 1kWh 9207 15 Input terminal status S R 9208 16 Output terminal status K gt 126 Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange Monitor Data Acyclic and Cyclic Data Exchange PNU No Internal No Description Unit Type SE 16 bit 9209 17 Load meter 0 1 unsigned R 9210 18 Motor excitation current 0 01A 0 1A lunsigned R 9211 19 Position pulse 1 unsigned R W 9212 20 Cumulative energization time 1h unsigned R 9213 21 reserved 9214 22 Orientation status 1 unsigned R 9215 23 Actual operation time 1h unsigned R 9216 24 Motor load factor 0 1 unsigned R 9217 25 Cumulative power 1kWh unsigned R 9218 9223 26 31 reserved 9224 32 Torque order 0 1 unsigned R 9225 33 Torque current order 0 1 unsigned R 9226 34 Motor output 0 1kW
65. unsigned R 9227 35 Feedback pulse 1 unsigned R 9228 9237 36 45 reserved 9238 46 Motor temperature R 9239 9241 47 49 reserved 9242 50 Power saving effect unsigned R 9243 51 Cumulative saving power unsigned R 9244 52 PID set point 0 1 unsigned R W 9245 53 PID measured value 0 1 unsigned R W 9246 54 PID deviation 0 1 unsigned R W 9250 38 Option input terminal status1 gt j R 9251 59 Option input terminal status2 a H R 9252 60 Option output terminal status g R 9253 61 Motor thermal load factor 0 1 unsigned R 9254 62 Transistor thermal load factor 0 1 unsigned R 9256 64 PTC thermistor resistance ohm unsigned R 9257 65 Output power R 9192 with regenerative display 9258 66 Cumulative regenerative power R 9260 68 2nd PID set point 0 1 unsigned R W 9261 69 2nd PID measured value 0 1 unsigned R W 9262 70 2nd PID deviation 0 1 unsigned R W 9272 80 Integrated power on time R 9273 81 Running time R 9274 82 Saving energy monitor R 9276 9283 84 91 Fault code 1 8 R 9441 249 Run command gt i R W 32 bit 9705 513 Output frequency 0 01Hz signed R 9707 515 Setting frequency 0 01Hz signed R 9709 517 Motor rotation 0 1rpm signed R 9711 519 Load meter 0 1 signed R 9713 521 Positioning pulse 1 signed R W 9715 523 Watt hour meter 1kWh step 1kWh unsigned R 9717 525 Watt hour meter 0 1 0 01kWh step 0 1 unsigned R 0 01kWh 9719 527 Position error 1 signed R 127 A8NDPV1 PROFIBUS Option Bo
66. used in this telegram one of each is reserved for control status word leaving 17 inputs outputs free for custom setup 79 GX Works FX CPU Telegram 102 example 80 Get Started The setup of the telegram is done by entering signal parameter numbers into the right col umn All monitor data can be viewed as input and some of the profile parameters as input output Please keep in mind that not all parameters can be accessed via cyclic communica tion The PROFIdrive parameter numbers PNUs available for use are listed in the Data Ex change subchapters 7 1 to 7 4 An example setup is provided Slot Description PNU Output PZD 2 Speed set point 14317 Input PZD 2 Actual speed set point 14319 Input PZD 3 Output frequency 9193 Input PZD 4 Output voltage 9195 Input PZD 5 Actual operation time 9215 DP Slave Parameters Wizard Slave User Parameters Select module Module Parameters PNU in Output PZD 2 PNU in Output PZD 3 PNU in Output PZD 4 PNU in Output PZD 5 PNU in Output PZD 6 PNU in Output PZD 7 PNU in Output PZD 8 PNU in Output PZD 9 PNU in Output P2D 10 PNU in Output P2D 11 PNU in Output PZD 12 PNU in Output PZD 13 PNU in Output PZD 14 PNU in Output PZD 15 PNU in Output PZD 16 PNU in Output PZD 17 PNU in Output PZD 18 PNU in Input PZD 2 PNU in Input PZD 3 PNU in Input PZD 4 PNU in Input PZD 5 PNU in Input PZD 6 PNU in Input PZD 7 PNU in Input PZD 8 PNU in Input PZD 9 PNU in In
67. 0 v Profibus Telegram 102_2 I Add new device sm Devices E networks yg PLC_1 CPU 315 2 PN DP DY Device configuration Online amp diagnostics Kei Program blocks C Technology objects gt m External source files LG PLC tags Le PLC data types lz Watch and force tables ig Online backups tui Program info EA PLC alarms Z Text lists ig Local modules H KE Distributed I O 34 Common data Ej Documentation settings Languages amp resources gt i Online access KE Card Reader USB memory v Details view lt Device overview 5o e3e gt ajempiey E I Asnopvi IH universal module I standard telegram 1 HI Telegram 100 Torque Control Telegram 101 Position Control Telegram 102 Custom 5100 aunuo e Y Module Slave_1 Telegram 102 Custom _1 Cross references Compile General laddress Q address Type 2043 ASNDPV1 0 35 0 35 felegram 102 Cust Value range 0 2012 Firmware Version 1 00 Q Properties ti Info Comment Diagnostics sauesqr E 1 Message 4 Portal view 98 Project closed Project Profibus Telegram 1 opened Start downloading to device Y PLCI PLC_1 stopped 4 Main OB1 was loaded successfully PLC_1 started Connected to PLC_1 address IP 192 168 0 1 Connection to PLC_1 terminated Loading completed errors 0 warnings 0 9999909090009 Hardware c
68. 0 0 ERROR MOVE MOVE WRREC_DB REQ lt gt Ha HA en ENO e EN ENO R Ha 16 DE80_ DB2 DBD12 YMDA4 10 IN YMWZ gt WRREC_DB OUTI writeStatus OUTI state STATUS IN Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Acyclic communication example To initiate the read request set input REQ of function block RDREC Enter state 4 and wait for the BUSY output to turn off Once this condition is met enter state 5 to check the results of the read request v Network 7 Initialize read MW2 state VE MO e He ENO Kat IN YIMWZ OUTI state v Network 8 waitfor end of read MW k g DB 3 DBX10 1 state RDREC_DB BUSY MOVE Int EN ENO 5 IN IMWZ OUTI state Expect to see either output DONE or ERROR of RDREC in an ON state If DONE is ON the read re quest was performed successfully reset the REQ input enter state 6 to process the response If the ERROR output is ON check the STATUS output to read the error If the status is equal to OxDF80B500 the result is not yet ready In this case do nothing and wait for the actual result In every other case save the status to tag readStatus and enter state 11 indicating that a read re quest error occu rred v Network 9 Check read result DB3 DBX10 0 RDREC_DB VALID MOVE 6 IN MW OUTI state 0B3 DBX10 2 DB3 DBD12 RDREC_DB RDREC_DB ERROR STATUS
69. 031 13288 14319 Yes Yes SpeedScaleNumerator 408 1032 13288 14320 Yes No SpeedScaleDenominator 40A 1034 13288 14322 Yes No RatedSpeed 40C 1036 13288 14324 Yes No PoleCount 40D 1037 13288 14325 Yes No RatedCurrent 40E 1038 13288 14326 Yes No RatedVoltage 410 1040 13288 14328 Yes No MotorType 411 1041 13288 14329 Yes No DriveMode 412 1042 13288 14330 Yes No 15336 16378 Yes Yes SupportedModes 413 1043 13288 14331 Yes No AccelerationDeltaSpeed 415 1045 13288 14333 Yes No 15336 16381 Yes Yes AccelerationDeltaTime 417 1047 13288 14335 Yes No 15336 16383 Yes Yes DecelerationDeltaSpeed 419 1049 13288 14337 Yes No Time 15336 16385 Yes Yes QuickDecelerationDelta 41D 1053 13288 14341 Yes No Speed QuickDecelerationDeltaTime 41F 1055 13288 14343 Yes No MaxSpeed 421 1057 13288 14345 Yes No MinSpeed 423 1059 13288 14347 Yes No TargetTorque 425 1061 13288 14349 Yes Yes ActualTorque 426 1062 13288 14350 Yes Yes TorqueSlope 427 1063 13288 14351 Yes No TorqueProfileType 429 1065 13288 14353 Yes No RatedTorque 42A 1066 13288 14354 Yes No TorqueScaleNumerator 42C 1068 13288 14356 Yes No TorqueScaleDenominator 42E 1070 13288 14358 Yes No DisableOptionCode 430 1072 13288 14360 Yes No ShutdownOptionCode 431 1073 13288 14361 Yes No These parameters can either be mapped as acyclic data as an array with offset 13288d or can each entry in the array be mapped as a separate parameter with offset 15366d as acyclic and or cyclic data A8NDPV1 PROFIBUS O
70. 1 is not ON return to Ready To Switch On state 1 EN ENO S o EQ i Mi EN _ A800_Outj0 51 dl 24110 _IN Asoo ouo 2111 67 p 2111 p TE EN ENO gt 0 IN Taso um A8NDPV1 PROFIBUS Option Board 75 GX Works FX CPU Telegram 1 example Get Started GO Compile and write the program and parameters to the PLC Be sure to select the intelligent function module like on the screenshot below i Online Data Operation E Pc Moce Execution TargetData No Yes Parameter will be written to flash ROM Necessary Setting No Setting AlreadySet Setifitis meeded Mo Setting f Already Set Ifthis option is not visible then the firmware on your FX3U 64DP M module does not support the new intelligent module function Please upgrade the firmware or download the module setup using the standalone GX Configurator DP After resetting the PLC and powering up the inverter set bits MO and M1 to get the inverter running Doc Id HMSI 216 127 76 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 102 example 3 11 GX Works FX CPU Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 version 1 501X or newer with a FXCPU and FX3U 64DP M Profibus Master O7 Enter the Profibus Configurator and double click on the inverter to bring up the Slave Param eters Wizard Click Next to proceed ES Local
71. 103 Custom 3 From the Available Slave Modules drag Telegram 102 Custom to the Project Slave Mod ules section Click Next to proceed T Modules installed 1 are possible Max Data size 128 bytels LO usage T f T byte s Max 1 0 sizes 64 if 164 byte s Slave User Parameters Available Slave Modules i Sanimi Teega I Telegram 100 Torque G Telegram 101 Position Control Telegram 102 Custom Telegram 103 Custom Doc Id HMSI 216 127 Doc Rev 1 00 Get Started Module Parameters PNU in Output PZD 2 PNU in Output PZD 3 PNU in Output PZD 4 PNU in Output PZD 5 PNU in Output PZD 6 PNU in Output PZD 7 PNU in Output PZD 8 PNU in Output PZD 9 PNU in Output PZD 10 PNU in Output P2D 11 PNU in Output PZD 12 PNU in Output PZD 13 PNU in Output PZD 14 PNU in Output PZD 15 PNU in Output PZD 16 PNU in Output PZD 17 PNU in Output PZD 18 PNU in Input PZD 2 PNU in Input PZD 3 PNU in Input PZD 4 PNU in Input PZD 5 PNU in Input PZD 6 PNU in Input PZD 7 PNU in Input PZD 8 PNU in Input PZD 9 PNU in Input PZD 10 PNU in Input P D 11 PNU in Input PZD 12 PNU in Input PZD 13 PNU in Input PZD 14 PNU in Input PZD 15 PNU in Input PZD 16 PNU in Input PZD 17 PNU in Input PZD 18 A8NDPV1 PROFIBUS Option Board D Telegram 102 Custom CO OO o ce OO CO Ce OO OO E CO OO CO OO CO OO OO E CO OO OO CO OO OO E CO OO OO E CO OO CO a GX Works Q CPU Telegram 102 example 4 Fr
72. 200x 5 Function Modules 3 IPC Standard v PROFIBUS DP 3 Additional Field Devices 2 3 Drives ASNDPY1 Universal module Standard Telegram 1 Telegram 100 Torque Control Telegram 101 Position Control Telegram 102 Custom Telegram 103 Custom Switching Devices 10 CC Gateway Compatible PROFIBUS DP Slaves R Object onfigured Stations 3 DP VO slaves 3 DP AS 3 ET 2008 3 ET 200eco 3 IDENT 115 Parameter Settings Get Started 3 16 2 3 16 3 3 17 1 Download Configuration The configuration of the PROFIBUS network can be built offline To download the configuration to the physical network follow the steps below CO Power up network 2 Set node address for each individual module using the parameter unit 3 Download the configuration to the master How this is done depends on which configuration tool is used 4 Iferrors occur during the connection phase scan the network and use the live list to find the slaves Make sure that the node addresses are correct otherwise they can be changed to match the configuration Run Set the PLC in RUN mode Parameter Settings Parameters can be set at runtime using the hand held parameter unit orthe setup software MEL SOFT FR Configurator The values of some of parameters will not be valid until the module has been restarted For more information please consult the manual for the FR A800 series frequency in
73. 20Ah Position Control PC IO DATA 5 6 NIST_A 8 9 ActualSpeed 0407h Position Control PC IO DATA 6 14350 10 11 ActualTorque 0426h Position Control PC IO DATA 7 Position Control PC IO DATA 8 9719 122315 PositionError 020Fh 0210h Position Control PC IO DATA 9 Vendor Specific Access to Parameters Vendor specific parameters 1001 59999 can be defined via the PROFIBUS network master Pa rameter range below 1001 can not be accessed as vendor specific as they may be reserved for other uses 135 Acyclic Data Exchange Data Exchange 7 7 Acyclic Data Exchange This subchapter describes some of the basic sequences used in acyclic communication All avail able sequences are described in the ProfiDrive Specification manual chapter 6 2 3 6 Telegram se quences for Parameter Access The data flow for acyclic communication always consists of writing of the parameter request and reading the parameter response The parameter response read may fail if the data requested is not yet ready The option card should be asked for a response again until it is ready This is pre sented on the figure below Controller Supervisor Communication System DU DO Parameter Manager Client Server Parameter Request Write parameter request to PAP Parameter Request Error because Read parameter response from PAP response not yet available Parameter Processing in the Parameter Manager Bauere Read parameter resp
74. 27 Doc Rev 1 00 Data Exchange Acyclic Data Exchange 7 7 6 Sequence 1 Parameter response negative Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of values 5 Format 6 7 Error value 7 7 7 Sequence 2 Change parameter value Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of elements 5 Attribute value 6 7 Parameter number 8 9 Subindex irrelevant for non arrays 10 No of values 11 Format 12 13 Set value 7 7 8 Sequence 2 Parameter response positive Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 7 7 9 Sequence 2 Parameter response negative Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of values 5 Format 6 7 Error value A8NDPV1 PROFIBUS Option Board 139 Acyclic Data Exchange Data Exchange 7 7 10 Sequence 3 Request parameter value several array elements Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of elements n 5 Attribute value 6 7 Parameter number 8 9 Subindex 7 7 11 Sequence 3 Parameter response positive Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of values 5 Format 6 7 Parameter value 1 8 9 Parameter value 2 4 2n 5 2n Parameter value n 7 7 12 Sequence 3 Pa
75. 28 POU_01 k POU Generation Model ASNDPV1 Revision W Program Configuration Image AMS hada roo E Ki Controls Local Label Project in GX Configurator DP Format pata i E FB FUN lave Properties SR Name 6 eter Data Dee Import Tasks ene O Encoder O Local Device Comment FDL Add i 0 125 Device Memory Import GX Configurator DP Project E Ki NC RC Device Initial Value Add GSD File min T_sdr 11 1 255 Import GSD Database Group identification number IT Gp1 l Gp2 T Gp3 T Gp4 Ki Gateway Tops C Gps l Gp7 l Gps Jn Documentation IV Slave is active TF Syne Output TF Freeze Input x E F Ignore AutoClear F Initialize slave when failing to respond O Identsystem Project Documentation E Swap VO Bytes in Mast Documentation of I O Mapping ben Se O PA Help o o Help Topics Ar et Project GSD data Global GSD data Es Online Status not connected Watch ax Device Label Current Value Data Type Class Device Address Comment T Watch1 E Output A8NDPV1 PROFIBUS Option Board 29 30 GX Works Q CPU Telegram 102 example Get Started 2 Select Standard Telegram 1 in the Project Slave Modules section Click the red x above this section to clear this slot Max Data size 128 byte s Max ti ges ES EC bytes Project Slave Modules BW AENDPVI Standard Telegram 1 Telegram 100 Torque Control Telegram 102 Custom f Telegram 101 Postion Control Telegram
76. A Aa AS ee A E a E ia 13109 d REPASO fa Navigation ax Tb Local Label Setting POU_01 PRG e POU_O1 PRG Program Structur TZ 0000 Q471PB92V Parameter QJ71PB92V_0000 Global La X SES ing ee been See es ee ao ER E 4 4 4 pa pa pa pa pa pa pa pa pa pa pa pa pa pa pa a pa pa pa pa pa ja pa C System label is reserved to be registered _ System label is reserved to be released al The system label is already registered to the system label database To execute the Reservation to Register Release for the system label reflection to the system label database is required e Sg Please execute Reflect to System Label Database L Connection Destination To execute Online Program Change execute Online Program Change and save Not Reflected 0 Total 0 Watch 1 Device Label Curent Value DataType ass Device Address Comme EH Cross Reference Device List Output atch A8NDPV1 PROFIBUS Option Board 73 GX Works FX CPU Telegram 1 example Get Started 17 Return to the project section From the MAIN Task select the Program of POU_01 This Pro gram should be blank this is where the example user program will be written Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help ex M 50M RRA IIA AA ARAS a EA ST rar th E H wm ax Boal Label Setting POU_01 PRG POU_01 P
77. A8NDPV1 PROFIBUS Option Board 47 GX Works Q CPU Simple Ladder Telegram 1 example Get Started 3 After powering up the inverter and Profibus master connection will be established Expect to see bit 6 Switching on inhibated set in ZSW1 Refer to the simplified state diagram chapter GX Works Q CPU Telegram 1 example dependent on control word 1 STW1 Control Word 1 STW1 description State Bit combination Bit 10 Bit 7 Bit 3 Bit 2 Bit 1 Bit 0 ee Control By Faut Enable No quick No coast Description acknowl y On PLC operation stop stop edge Switching on Inhibited 0 z 0 S Ready To Switch On 1 1 Switched On 1 1 1 Operation 1 1 1 1 Rotation 1 1 1 1 1 Fault reset 0 gt 1 Both No Coast Stop and No Quick Stop need to be set to reset the Switching On Inhibited bit in ZSW1 To do this set bits 1 and 2 in STW1 that is D2000 Input the following ladder to allow the inverter to enter Ready For Switching On status after connection is established and initialization command is given MO Exit Switching on inhibited state MO D1000 6 20 MOV K6 D2000 This initialization will result in setting bit O in ZSW1 Ready To Switch On Switch on the in 48 verter and start operation To do this enable bits 0 ON Off 3 enable operation and 10 Control By PLC of STW1 while leaving bits 1 and 2 enabled 5 At this moment it i
78. Actual operation time 9215 YA Siemens Profibus Telegram 102 2 Project Edit View Insert Online Options Tools 5 3 El save project 5 X 8 Devices pl Window Help ax Sitz wa 2G BR Y coonline d Go offline As RE x gt PLC_1 CPU 315 2 PN DP Distributed UO DP Mastersystem 1 PROFIBUS _1 00 v Profibus Telegram 102_2 If Add new device gi Devices E networks ig PLC_1 CPU 315 2 PN DP Y Device configuration Online amp diagnostics Le Program blocks If Add new block 28 Main 081 E Technology objects External source files l PLC tags Ci PLC data types elei Watch and force tables BE Add new watch table PS Force table ses Watch table_1 LU w Online backups Sl Program info EA PLC alarms 3 Text lists jg Local modules gt ig Distributed UO gt Je Common data LU Ej Documentation settings Languages amp resources gt Da Online access gt E Card Reader USB memory v Details view Name 4 Portal view A8NDPV1 PROFIBUS Option I a eH Apos Device overview A y Catalog f Search gt k Filter DR Asnopvi E Universal module I Standard Telegram 1 IH telegram 100 Torque Control II telegram 101 Position Control H Telegram 102 Custom II Telegram 103 Custom 5o eze gt ajempiey E 5 00 a3unuo e syse kit Module Slave_1 Rack Slot Order no 0 o 2043 laddress Q address
79. Doc Rev 1 00 Get Started GX Works FX CPU Telegram 1 example 5 First setup the Profibus Master Double click on the master module in the screenshot visible as Slot 0x0 FDL 0 FX3U 64DP M This will bring up the Master Parameters Wizard ES Local Label Setting POU_01 PRG K POU_01 PRG Program Structur Devices for Slave Specific Transfer Export Tasks fm POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks PROFIBUS Master fo 10 125 KT 1060 07 IT Goto Clear State am 1 65535 Min slave interval Jh Calculate time 15 Mbps gt _Bus Parameters 100 ps PROFIBUS Configurator Tasks d Global GSD data mmer a E slot 0x0 FDL 0 FXBU 64DP M ER E GSD Database etup Tas a Dinti Selling i Add slaves via Drag amp Drop from GSD device tree Eu Ki General jo GSD Device Database em GC Drives O Mapper DP Master Parameters Wizard Master Settings 7 E VO Mapp T Import GX Configurator DP Project PO OO PO E T E ee i eem Ki NC RC Add GSD File Polling timeout 50 1 65535 1ms Import GSD Database e CJ Gateway V Slave watchdog JN Calculatetime 4 1 65025 10ms s PLC Documentation i Estimated bus cycle time Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP Online Status not connected 6 It is possible to change the Baudr
80. E 6 Fault 6 Microcontroller Hardware or 01 Software F7h E 7 Fault 7 Microcontroller Hardware or 01 Software FBh E 11 Fault 11 Technology 17 FDh E 13 Fault 13 Power Electronics 05 51h E UVT Under Voltage Mains Supply 02 Doc Id HMSI 216 127 Doc Rev 1 00 Troubleshooting 9 Troubleshooting The table shows tips on troubleshooting Error Event Possible Cause s Corrective Action A8NDPV1 PROFIBUS Option Board 143 Troubleshooting 144 Doc Id HMSI 216 127 Doc Rev 1 00 Translation of Signal Numbers A Translation of Signal Numbers Appendix A Signal numbers used in the main unit do not directly translate to signal numbers PNUs used on PROFIBUS An offset is added to avoid ambiguous numbering on PROFIBUS where parameters and monitor data have different PNU numbers Every signal number corresponds to to 16 bits A 32 bit parameter e g occupies two numbers but is addressed by the lower number only Signal No Main Unit PNU No Acyclic Nana headet Offset PROFIdrive Data Cyclic Data j Decimal decimal Signal No Exchange imal Offset Exchange DriveControlMaskWrite 400 1024 13288 14312 Yes Yes DriveControl 402 1026 13288 14314 Yes Yes DriveStatus 403 1027 13288 14315 Yes Yes SetpointSpeed 405 1029 13288 14317 Yes Yes CommandSpeed 406 1030 13288 14318 Yes Yes ActualSpeed 407 1
81. E eS ErrorCode ErrorCode Start rite Sta iie Receiving the response DetailedErrarCode If the request is completed successfully bit wDone is ON then perform a response read after a delay of 500ms Due to the nature of Profidrive acyclic communication the response may not be immediately available after execution of the request Waiting a small amount of time significantly increases the chance of receiving a response on the first try Another solution is to keep executing read requests until a proper read request is received It should also be noted that 240 bytes can always be read using the Dpv1ReadCh function blocks This is the maximum allowed length of a response In case of a shorter response only the available data will be read rFDLAddressRead 4DataLengthRead gt rSlotNoRead gt H iindexRead DataRead rErrorCode rDetailedErrorCode wDone Coll alueOut A re 25 Preset Status I ee 0 Valueln p ai a Geese gt e E II E e E e l E RST E EE EE E E LEEN AR ee ao a Ne Te ya ta le Nag se De le ft Be is mp Ge e e Je t e gi anenee n S go pow oe b oa a a oa an a a e k a So a ao Gaa SEENEN DpviReadChi_i gt e um kk je e ee ee 8 Dem E w e O Ex a e mx E mm og Dpv1ReadCh1 E E E E E E E 0 Headaddress Done IE E E E E 1 FDLAddress Error LAA ADA AAA A 8
82. I 216 127 Doc Rev 1 00 Get Started Physical Installation 3 Get Started All example programs described in this chapter are available for download from the MyMitsubi shi website See section Download on page 1 for a direct link 3 1 Physical Installation How to physically install the option board is described in Installation Procedure on page 9 3 2 Download GSD file Download the appropriate GSD file from the Mitsubishi Electric website see section Download on page 1 for a direct link 3 3 Inverter setup This chapter describes the first part of setting up a system using an A800 inverter controlled by Profibus It assumes that the A8NDPV1 option card has been installed correctly and all inverter parameters are set to default values This setup will be used for all get started example programs The first step is to set the FDL address of the inverter Profibus slave One way to do this is to set parameter 1305 to the desired address and parameter 1307 to 1 After restarting the inverter the option card will be available under the input address The valid range for the FDL address is 0 125 Parameter No Value 1305 1 FDL Address 1307 1 The next step is to change the operation mode of the inverter to network mode Do this by leav ing the default setting of parameter 79 0 and setting parameter 340 to 1 After restarting the inverter it should operate in network mode For detailed settings please
83. INVERTER Plug in option A8NDPV1 INSTRUCTION MANUAL PROFIBUS communication interface Doc Id HMSI 216 127 Rev 1 00 44 AmS TY Connecting Devices HALMSTAD CHICAGO KARLSRUHE TOKYO BEIJING MILANO MULHOUSE COVENTRY PUNE COPENHAGEN Important User Information This document is intended to provide a good understanding of the functionality offered by the A8NDPV1 PROFIBUS Option Board The document only describes the features that are specific to the option board For general information regarding the FR A800 inverter consult the FR A800 inverter design guides The reader of this document is expected to be familiar with high level software design and com munication systems in general The use of advanced PROFIBUS specific functionality may require in depth knowledge in PROFIBUS networking internals and or information from the official PROFIBUS specifications In such cases the people responsible for the implementation of this product should either obtain the PROFIBUS specification to gain sufficient knowledge or limit their implementation in such a way that this is not necessary Liability Every care has been taken in the preparation of this manual Please inform HMS Industrial Net works AB of any inaccuracies or omissions The data and illustrations found in this document are not binding We HMS Industrial Networks AB reserve the right to modify our products in line with our policy of continuous product develo
84. Id HMSI 216 127 Doc Rev 1 00 Get Started SIMATIC STEP7 example 9 With the new telegram instance selected right click and open the telegram Properties win dow from the pop up menu Enter a name for the telegram and map the cyclic data in the tel egram ft HW Config SIMATIC 300 Station Configuration ASNDPV1_Example ly Station Edit Insert PLC View Options Window Help Dez 2h Se doa MO Bw ai CPU319 3 PN DP 1 MPDP DP PIO Post T Port 2 D Kal 3 ABNDPY1 Order Number Designation _PROFIBUS 1 DP master system 1 Comment Telegram 101 Position Control Press F1 to get Help Properties DP slave Address 1D Parameter Assignment Parameters SKI HKJ Device specific parameters PNU in Output PZD 10 HE PNU in Input PZD 9 2 PNU in Input PZD 10 Sy Hex parameter assignment 2 User_Prm_Data 0 to 7 E User_Prm_Data 8 to 15 E User_Prm_Data 16 to 23 E User_Prm_Data 24 to 31 2 User_Prm_Data 32 to 39 A8NDPV1 PROFIBUS Option Board 0 0 00 00 24 E1 25 F1 25 F1 37 ED 3F FF 3F FF 40 03 40 03 00 00 00 00 23 F8 25 F1 25 F1 37 EF 38 0E 25 F7 25 F7 00 00 00 00 Cancel Help Find Profile E oc CC Closed Loop Controller at CH DP PA Link J ENCODER GET 200C 3 ET 200i5 GET 200i5P ET 200L 3 ET 200M 3 ET 200pro 23 ET 200R 3 ET 2005 ET 200U v 23 ET
85. Ii 6E57 305 1848 gt ig PS 307 5A ig PS 307 10A ig CPU OCH am ano ig DIIDO gt ig Al ig Ao ig AAO seuesqr E aj v Device overview ij Communications mod gt ig FM Y Module Slot PS 307 2A_1 1 APEC 2 MPIDP interface_1 2X1 gt PROFINETinterface_1 2X2 3 2047 v Details view 2035 Name IO tags General laddress Q address Type Order no 6E57 307 1BA01 0AA0 CPU 315 2 PNIDP 6ES7 315 2EH14 0AB0 MPUDP interface PROFINET interface Firmware V3 2 Comment E Properties i 1Q SENSE gt a Special gt ig SIMATIC 57 400 i SIMATIC ET 200 CPU gt E HMI A gt Ca PC systems gt i Drives amp starters i Info al Diagnostics La Network components gt yg Detecting amp Monitoring General Name PS 307 2A _1 Author edc Comment rs 4 Portal view gt ig Distributed UO gt E Field devices gt i Other field devices H E Information v Project Profibus Telegram 1 created 4 Fromthe top menu select Options and Install general station description file GSD Search for the GSD file supplied with this manual click install and follow instructions to add the option card to the hardware library Install general station description file D Profidrive FR ASNDPV1 Source path Content of imported path E File hms_18e0
86. K16 G23811 Y lt Slot No gt UO K1 G23812 lt Index gt U0 K47 G23813 i lt Execute request gt UO H1 G23808 lt Reset request execution flag gt RST M5 i Doc Id HMSI 216 127 Doc Rev 1 00 Get Started Receiving the response GX Works Q CPU Simple Ladder Acyclic communication example The requests are completed after buffer memory bit G25120 0 turns ON Successful completion is achieved if buffer memory G25121 is equal to OxA400 for read request and 0xA401 for write re quest Read response M100 D3000 HOA400 D3000 HOA401 D3000 HOA400 lt Response code gt UN MOV G25121 D3000 i lt Read request successful gt U0 MOV HO G23808 i lt Read data gt UO T BMOV G25122 D3001 K12 lt Byte swap parameter value gt l SWAP D3008 H lt Move parameter value gt MOV D3008 D3502 lt Write request successful gt U0 MOV HO G23808 I lt Set read request flag gt l SET M11 lt Read write request failed gt UO H lt gt D3000 H0A401 Jl MOV HO G23808 lt Read error codes gt U0 BMOV G25122 D3001 K4 After the write request is executed successfully expect G25121 D3000 to equal 0xA401 SetM11 to continue the sequence and issue the read request This time a value of 0xA400 means a suc cessful execution The received data starts from buffer memory address G25127 D3006 In buff er memory G25121 25126 D3000 D3005 data regarding t
87. Label Setting POU_01 PRG 4 POU_01 PRG Program Structur PROFIBUS Configurator Tasks d e FX3U64DPM_0000 Global Label S n el dl Slot 0x0 FDL 0 FX3U 64DP M Setup Tasks Master Settings fo GSD Device Database Ty VO Mapper Devices for Slave Specific Transfer Export Tasks fa POU Generation A8NDPV1 Revision Configuration Image Vendor Hms Industrial Networks 1 00 Project in GX Configurator DP Format Slave Properties Name MyA840Inverter Import Tasks FDL MN 0 125 Import GX Configurator DP Project aie Tak D 1 255 Add GSD File 7 l r e 65D Database Group identification number Gp1 Gp2 Gp3 Gp4 Gp5 Gp6 Gp7 Gps ss Iw Slave is active Sync Output Freeze Input Ignore AutoClear Initialize slave when failing to respond Project Documentation Y Swap 1 0 Bytes in Master Documentation of I O Mapping Help Help Topics About GX Configurator DP Online Status not connected A8NDPV1 PROFIBUS Option Board 77 GX Works FX CPU Telegram 102 example Get Started 2 Select Standard Telegram 1 in the Project Slave Modules section Click the red x above this section to clear this slot DR Au a J Standard Taaa T J Telegram 100 Torque Control J Telegram 101 Postion Control a d Telegram 102 Custom J Telegram 103 Custom 3 From the Available Slave Modules drag Telegram 102 Custom to th
88. MATIC 300 Station Slot Designation ano gp wi DP master system 1 DP DP master system 1 Press F1 to get Help Find Profile Standard Ge PROFINET I0 E E SIMATIC 300 E Ga C7 63 CP 300 CPU 300 o CPU 312 3 CPU 312 1FM 3 CPU 312C CPU 313 3 CPU 313C 3 CPU 313C 2 DP CPU 313C 2 PIP CPU 314 3 CPU 3141FM CH CPU 314C 2 DP 3 CPU 314C 2 PIP 3 CPU 315 CPU 315 2 DP 3 CPU 315 2 PN DP 2 CPU 315F 2 DP 3 CPU 315F 2 PN DP 3 CPU 316 2 CPU 316 2 DP 3 CPU 317 2 3 CPU 317 2 PN DP CPU 317F 2 3 CPU 317F 2 PN DP 3 CPU 318 2 E CPU 319 3 PN DP fae 00 0 20 e CRORE H el Rh 7 De 6ES7 318 3ELOO 04B0 Work memory 1400KB 0 01 ms 1000 instructions PROFINET connection G communication loadable FBs FCs 5 Locate the option board in the HW catalog PROFIBUS DP gt Additional Field Devices Drives fi HW Config SIMATIC 300 Station Configuration aly Station Edit Insert PLC View Options Window Help ABNDPV1_Example EEx E x Deg IR CPU319 3 PNZDP 1 MPDP DP PENSO Post T Por 2 112 ple UB DP master system 1 gt Ll E al x Find ant ad Profile Standard x a ee Davies 10 ii Gateway EUS DP Slaves osed Loop Controller nfigured Stations Pv slaves It NCODER T 200eco T 20015 T 200i5P
89. NETIO gt E Documentation settings X E ple DP Languages amp resources i Drives 5o e3e gt ajempiey E 5 00 aunuo e sanesqr E gt Online access Cm Siemens AG gt ly Card ReaderiUSB memory E 7 A v i HME Industrial Networks Device overview ae D asnorvi Y Module Rack Slot laddress Q address Type Order no Firmware Comment H Universal module Slave_1 o o 2043 ABNDPV1 Version 1 00 OI Standard Telegram 1 Standard Telegram 1_1 o 1 Standard Telegram 1 Ii Telegram 100 Torque Co telegram 101 Position C a Telegram 102 Custom H Telegram 103 Custom gt La Encoders ES Properties E Info alu Diagnostics gt ig Gateways gt Ca General gt ig Ident systems vw Details view General 10 tags General Name Standard Telegram 1_1 Author edc Comment Information 4 Portal view Y Main 0B1 Y Project Profibus Telegram 1 created Case A8NDPV1 PROFIBUS Option Board 93 TIA Portal Telegram 1 example Get Started Double click on Slave_1 from the device view to bring up the Properties panel Select PROFI BUS Address and enter 1 in the address field _mxX YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help AY El sepo BM a K 2H BS LG BR A coonine y coottine fo E EE Profibus Telegram 1 PLC_1 CPU 315 2 PN DP Distributed UO DP Mast
90. O 8 DEE EC E RST RE EE SY Ae A A A A RST i ber uae Mer es Uae OU 984 G8 SET O O E E E E E aos oa Sa ia OR O a d EN ENO EN ENO Be ee SE Ee iere co L reen di parameterWriteSuccess d parameterWriteFail Gamme ee ARA SE ee OE EN ENOL RequestID 0x02 parameter write Ae earch aca eres E aoe ke EEN Se ae be bec Ga dak A Har Dees Wak ae tae a Di 16 0205 _IN DataToWrite 0 Request reference 0x05 By Uae ue UBF By Us E Nay de ay se ay es es es a a eee MEss EN ENO No ofparameters 0x01 STi ia Be at yh es See cae ee a fe Revie ses Fe shee eee es GS 1680101 IN L DataToWrite 1 DO ID 0x01 first axis A E EE PERES ME OL No ofelements 0x00 GEESS ZE 1680010 IN DataToWrite 2 Attribute value 0x10 value_attribute oh a es UE a ee ae oe a we Lio o ne pet IEA EN EN oo Requested PNU IR CEET ak ok a neo ee A EEE Byte swappedPNU 2222 A A e SWAP D D D VE D D D D D D D D D A AAA Cw EEN EN ENO EN ENO Be Seated Se SS ie eS ee ee er a A E a e GE a a requestParameterNoBS S requestParameterNoBS IN DatlaToWiteB 2 2 222222 ae Be ee ee A eS oa li AL we stehen ei ara oa BAS OM Se a Ya eC ae bo ed 4 Format 0x06 uinteger16 E Ss oe SB cee 1640106 IN Data T oWrite 5 me ad a ed TT ee ws se DU ee eee TEE EN ENO Requested value oe wee ele ee es we eee ere we So ee AAR
91. RG Program Str 0000 QJ71PB92V Parameter 4 QU71PB92V_0000 QJ71PB92V_000 vi QJ71PB92V_0000 QJ71PB92V_000 dbw A MENE 1 t Parameter 1 33 Intelligent Function Module 2 0000 Q71PB92V G Parameter Global Device Comment 1 E Global Label o Si PROFIBUS by Stan ndby Program Cross Reference Device List E Outp atch Class Device Address Comment After powering up the inverter and Profibus master connection will be established Expect to see bit 6 Switching on inhibated set in ZSW1 For details refer to chapter 7 5 General State Diagram Set both No Coast Stop and No Quick Stop to reset the Switching On Inhibited bit in ZSW1 To do this set bits 1 and 2 in STW1 that is global label VHAO_output 0 Input the following ladder block to allow the inverter to enter Ready For Switching On sta tus after connection is established and initialization command is given MO If Bit6 of SW is ON Switching On Inhibated AND Initialize Command is given M0 move 2 110 to STW1 No Quick Stop Enabled and No Coast Stop Enab 1 E 6 M A800 Info _ 8 a 110 pe E un o og 74 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 1 example This initialization will result in setting bit 0 in ZSW1 Ready To Swi
92. S Option Board 107 TIA Portal Acyclic communication example 108 Get Started Once this request is processed successfully a read request can be issued The response of this re quest will determine whether the parameter write was successful The format of a positive re sponse is as follows Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 In case of a negative response the format is as follows Byte no Description Value 0 Request ID 0x82 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Error value see error table Modify the data structures created in the previous example to account for the changes note the changes in start value fields SEE Res Ei z DB Name Data type 1 i e Static 2 RequestRecord Struct 3 a a ReferencelD Byte 4 lt i a RequestiD Byte 5 a a Axis Byte 6 a a NoOfParameters Byte 7 a a Attribute Byte a a a NoOfindices Byte H a 8 PMU Int 10 i a Index Int 11 ei a Format Byte 12 a a NoOMValues Byte 13 a a SetValue Int 14 a Add news 15 4 e ResponseRecord Struct 16 4 a ReferencelD Byte 17 lt a a ResponselD Byte 18 a a Axis Byte 19 a a NoOfParameters Byte 20 4 a Format Byte 21 4 a NoOMValues Byte 22 4 a Value Int 23 wl a Erro
93. Standard Telegram 1 from the device overview YA Siemens Profibus Telegram 102_2 Project Edit View Insert Online Options Tools Window Help KE Ma Save project 2 x Zei Ls xX ic bei 5 m Di g D y Go online e Go offline de IR ig x a Totally Integrated Automation PORTAL Devices Topology view s Network view 400 v _ Profibus Telegram 102_2 I Add new device sy Devices networks v jg PLC_1 CPU 315 2 PN DP DT Device configuration Online amp diagnostics Kei Program blocks LU E Technology objects kat External source files LG PLC tags Le PLC data types Es Watch and force tables 5o eze gt ajempiey E IE asnorv1 IB universal module DR standard telegram 1 HI Telegram 100 Torque Control Ii Telegram 101 Position Control H Telegram 102 Custom Ii Telegram 103 Custom 5100 aunuo e D w Online backups gl Z Program info E E x Ea PLC alarms vd Si Text lists H E Local modules LI os E gt E Distributed UO A n Device overview 3 34 Common data A E Documentation settings Y Module Rack laddress Q address Type Order no Firmware Comment 5 Slave_1 2043 ABNDPV1 Version 1 00 Standard Telegram 11 mM na na Standard Telegram 1 LU la Languages amp resources gt a Online access gt iE Card Reader USB memory 2 MK Cut Ctrl X Se Copy Ctrl C Paste Ctrl V Cross references x el Rename F2
94. Switches DP Slave Parameters Wizard Slave Settings isc EF vo Export Tasks i CJ Valves Ft POU Generation Model ASNDPV1 Rewer Configuration Image Control TE HMS Industrial Networks ha D ai Project in GX Configurator DP Format Slave Properties dh LZ HMI Name A840Inverter Import Tasks E Ki Encoder FDL Address 1 0 125 Import GX Configurator DP Project Ki NC RC Add GSD File min T_sdr 1 1 255 Import GSD Database Group identification number T Gpi FP Gp2 Gp3 T Gp4 a Gateway l Gp5 Gg TI Gp7 T Gg CHE Pic Documentation IV Slave is active T Sync Output Freeze Input 7 Ignore AutoClear Initialize slave when failing to respond CJ Identsystem Project Documentation Iv l in M Documentation of I O Mapping A Ki PA Help Help Topics About GX Configurator DP Online Status not connected Select Standard Telegram 1 in the Project Slave Modules section Click the red x above this section to clear this slot Nor Stave Parameters Wani Siave Modules 1 Modules installed Max Data size 128 byte s O usage 4 Max LO sizes 64 64 byte s Slave User Parameters Available Slave Modules Project Slave Modules Dud ASNDPV1 il 1 MyA840inverter Standard Telegram 1 Standard Telegram 1 f Telegram 100 Torque Control J Telegram 101 Postion Control Telegram 102 Custom f Telegram 103 Custom 50 Doc Id HMSI 216 127 Doc Rev
95. To do this enable bits 0 ON Off 3 enable oper ation and 10 Control By PLC of STW1 while leaving bits 1 and 2 enabled At this moment it is also possible to set the desired rotation frequency Assuming the motor is rated for 50 Hz inverter parameter 3 and a frequency of 10 Hz is requested set 20 of the rated motor speed to achieve this frequency The value in Profidrive to allow full power is 16384 so setting 20 of this value 3276 8 round to 3277 will give the expected result This value shall be set in NSOLL_A Add the following ladder block to enable rotation command after initialization and giving ro tation command M1 If BitO of ZSW1 is ON Ready To Switch On AND Rotation Command is given M1 Set Bits 0 ON 3 Enable Operation and 10 Control By PLC in STW1 Set 20 rated motor speed Finally add the code to stop the drive when M1 is reset In a new ladder block check whether the first 3 bits of ZSW1 are ON This condition means that the drive is in operation mode If this condition is met and M1 is not ON reset the set point speed to zero and set STW1 as 6 If ZSW1 bits 0 1 and 2 are ON ready to switch on ready to operate operation enabled AND Forward Rotation Command M1 is not CN return to Ready To Switch On state E EE EE E EE EE E VE e La bn A DN NEE EE EE EE ESO GE EE EE ENEE ENEE E EE EE EE ENEE NEE EE NEE EN ENO ee A NEE WEE EENHEETEN EE EE NEE EE EE EE EE SEET EE EE EE NEE E EE ENEE
96. U Telegram 1 example 72 2 The POU Generation creates a library containing global variable definitions The global label name conflicts with the project global label name setup by default in GX Works 2 In order to avoid conflict change the name of the project global label from Global1 to Global If this is not done an error will occur upon compilation Project Eu Dn a i Parameter EI Special Module Intelligent Function Module ZA 0 FX3U 64DP M E Parameter Q Global Device Comment E E Global Label emio E Program Se CN Executid Delete C S MAI Rename SACH WW Read from CSV File El 3 58 A Write to CSV File Eb Property E e a POU e Data Security Setting ai Program G POU OL fi Program Local Label FB FUN B Structured Data Types 13 Local Device Comment Device Memory Navigation AX Eel Local Label Setting POU 01 PRG i POU_01 PRG Program Structur PROFIBUS Configurator Tasks PROFIBUS Network Setup Tasks Master Settings fg GSD Device Database Ty VO Mapper Devices for Slave Specific Transfer Export Tasks fm POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Docum
97. V2 Last control word received from the controller P968 ZSW R V2 Current status word from the drive P972 Drive reset R W Unsigned16 1 Power on reset 2 Prepare power on reset P980 List of parameters R Array n Parameter numbers of all existing parameters are Unsigned16 saved in the subindices profile parameters and reg 7 4 2 ular drive parameters The array is assigned in increasing sequence and consecutively The end of the list of defined parameters is marked by a subin dex with the value 0 Setpoint and Actual Value P915 P916 P915 and P916 reflect the configuration of the PROFIBUS telegrams that are used for process da ta The parameters are read only and consist of arrays where the number of elements corre sponds to the number of words in the IO DATA Each element holds the Parameter Number PNU of the parameter mapped to that particular IO DATA word The parameters reflect the latest accepted parameterization data 7 4 3 Signal List P923 The signal list is not saved It is created at the time of request only for those elements subindices that are requested The possibility to map vendor specific parameters is examined by asking for the Descriptor attribute of the specific parameter It is not possible to map other PROFIdrive standard parameters than P967 and P968 Control and Status words 7 4 4 Drive Reset P972 The PROFIBUS master can send a reset request to the application by writing to this para
98. aining pa rameters can be accessed as vendor specific parameters It is recommended not to use the standard PROFldrive parameters as vendor specific parameters PROF Idrive Parameters The following parameters are implemented in the option board Parameter Definition R W Data Type Value Description P915 Selection switch IR Array n Holds the current configuration of the Setpoint tel Setpoint telegram Unsigned16 egram P916 Selection switch R Array n Holds the current configuration of the Actual value Actual value tele Unsigned16 telegram gram P918 Node Address R Unsigned 16 Current node address P922 Telegram Selec R Unsigned 16 Reflects the latest accepted configuration data from tion the master Value Telegram 0 Telegram 1 Speed Control or telegram 100 Torque Con trol depending on which tel egram is configurated 101 Telegram 101 Position Con trol 102 Telegram 102 103 Telegram 103 P923 List of all parame R Array 60000 All parameters that are possible to map to process ters for signals Unsigned16 data i e is defined as PROFldrive signals are listed here subindex signal number Ifa parameter connected to the specific signal is possible to map the PNU number is returned If the parameter is not possible to map 0 is returned P924 Status word bit R Array 2 Subindex 0 2 Signal number for ZSW1 Pulses Enabled Unsigned16 Subindex 1 15 Bit position P930 Operating mode
99. ameter read requests First get the inverter running by setting bits MO and M1 Now read the actual frequency by writing PNU 9193 to requestPNU and setting bit ParameterRequest The result should be a value of 1000 in readValue which corresponds to 10Hz The PROFIdrive parameter numbers PNUs available for use are listed in the Data Exchange subchapters 7 1to 7 4 Profibus Acyclic Read PLC_1 CPU 315 2 PN DP Watch and force tables Watch table_1 Ea Ely 7 A BZ Fi 1 Name Address Display format Monitor value Modify value Si 1 requestedPNU AMW S DECH 9198 aas MA 2 ParameterRequest MO 2 Bool E FALSE TRUE A writestatus GI Hex te 0000 0000 5 readStatus MD10 Hex 16 0000_0000 gt So 7 initialize DIE Bool Mme Re DA 8 RotationCommand MO 1 Bool MR TRUE MA 9 lt Add new gt Try reading an inverter parameter for example the FDL address of the inverter parameter 1305 5096 offset PNU 6401 The expected result is 1 It is possible to read any inverter parameter in this way Profibus Acyclic Read PLC_1 CPU 315 2 PN DP Watch and force tables Watch table_1 i Name Address Display format Monitor value Modify value 7 1 requestedPNU Ej mws DECH ha Ten IMA 2 ParameterRequest MO 2 Bool TRUE A A 3 state SAM DEC 4 writeStatus MD4 Hex 5 readStatus MD10 Hex 6 readValue SMI 4 DEC 7 dd new gt 106 Doc ld HMSI 216 127 Doc Rev 1 00
100. ameterValue which corresponds to 10Hz The PROFIdrive parameter numbers PNUs available for use are listed in the Data Exchange subchapters 7 1 to 7 4 Watch 1 Monitor Executing y e DeviceLabel Current Value Data Type POW _O01 request ParameterNo 9193 Word Signed POW _01 request Parameter Bit POW _01 parameterRead Error Bit POW _01 parameterReadSuccess Bit POW _01 parameterValue Word Signed Try reading an inverter parameter for example the FDL address of the inverter parameter 1305 5096 offset PNU 6401 The expected result is 1 It is possible to read any inverter parameter in this way Watch 1 Monitor Executing Device Label Data Type POL 01 request ParameterNo 6401 Word Signed AMET POL 01 parameterReadEmor O Bit POL_01 parameterReadSuccess 1 Bit POU_01 parameterValue 1 Word Signed Changing parameters Sequence 2 Creating the request The format of the write request is as follows Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU 8 9 Subindex irrelevant 0x00 10 No of values 0x01 11 Format 0x06 UINTEGER16 for all inverter parameters See data format type table 12 13 Set value Byte swapped set value A8NDPV1 PROFIBUS Option Board 85 GX Works FX CPU Acyclic communication example Get
101. an FR A800 series inverter and a PROFIBUS network with minimal configuration requirements The interface installs directly onto the inverter s control board and presents a standard DSUB port for connection to the PROFIBUS network The option board is connected directly to the control board of the inverter and communicates with the inverter via a built in communication port Note that when the inverter s network com munication port is used by the A8SNDPV1 PROFIBUS Option Board it is unavailable for use by any other network Before using the option board please familiarize yourself with the product and be sure to thor oughly read the instructions and precautions contained in this manual In addition please make sure that this instruction manual is delivered to the end user of the product and keep this instruc tion manual in a safe place for future reference or unit inspection 1 3 Features PROFIBUS DPV1 communication according to IEC 61158 Type 3 Drive operation according to PROFldrive V4 1 PDTS Supports Application class 1 functionality Diagnostic support Automatic baud rate detection Baud rates up to 12 Mbit supported Support for Set Slave Address SSA functionality i e node address can be set from the net work by a configuration tool or by a PROFIBUS master Customized GSD file provided Up to 64 bytes of I O data in each direction A8NDPV1 PROFIBUS Option Board 5 Unpacking and Product Confirmation Pre Operation Inst
102. ard Monitor Data Acyclic and Cyclic Data Exchange Data Exchange 128 1 Input terminal status details ex A800 b15 bO a CS RES STOP MRS JOG RH RM RL RT AU STR STF This data indicates status of main unit input terminal The number of terminal and names depends on main unit specification SS Output terminal status details ex A800 b15 bO SO ABC2 ABC1 FU JOL IPF SU RUN This data indicates status of main unit output terminal The number of terminal and names depends on main unit specification 3 Option input terminal status1 2 ex A800 and FR A8AX Option input terminal status1 b15 bO X15 X14 X13 X12 X11 X10 X9 X8 X7 X6 Ab X4 X3 X2 Ai XO Option input terminal status2 This data indicates status of FR A8AX terminal a Option output terminal status ex A800 and A8AY A8AR b15 bO kh b b b b RAS raz RAT e ys Ya Io 0 DY This data indicates status of FR A8AY Y0 Y6 FR A8AR RA1 RA3 terminal 3 Run command ex A800 and A8AY A8AR Users can specify the terminal function using this data b15 bO RES STOP CS JOG MRS RT RH RM RH AU These bits function is depending on VFD parameter setting Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange 7 4 7 4 1 Drive Profile Parameters Acyclic Data Exchange Drive Profile Parameters Acyclic Data Exchange Inverter parameters are when possible mapped to PROFIdrive parameters The rem
103. ard by tightening the included screws at the left top and right bottom corners The PE plate is attached along with the screw in the right bottom corner Note Over tightening the screws will damage the board 10 Doc Id HMSI 216 127 Doc Rev 1 00 Installation Installation Procedure 6 Fasten the other end of the PE plate with another screw as shown in the picture e E a A A NEBBREREBBBREBBBBBEEBE O a e en EI ARA AMA CEN pS i d el o d Le MO E Ml A ern ie CEN A RR je A Sy To fit the LED cover on the front cover of the drive do as follows Cutthe bridges using nippers on the upper front cover A8NDPV1 PROFIBUS Option Board 11 Network Connector DSUB female Installation 2 3 12 Snap the LED cover into the front cover of the drive 9 Fasten both front covers top front cover first The option board is now mounted and power can be applied Removal CO Remove both lids of the FR A800 inverter 2 Remove the network cable 3 Remove the screws 4 Carefully remove the option board by lifting it straight up 5 Remove the board spacers 6 Replace the lids Network Connector DSUB female The option board provides connection to PROFIBUS through a female DSUB connector Pin
104. ate FDL address and other settings as needed For this tuto rial these settings will not be changed Click Next to proceed A8NDPV1 PROFIBUS Option Board 67 GX Works FX CPU Telegram 1 example Get Started 7 On this screen the buffer devices and data transfer between Profibus Master and CPU can be changed Forthis tutorial use AutoRefresh with Consistency Click Finish to save settings and close this wizard DP Master Parameters Wizard CPU Device Access Enter the device addresses for buffering O and diagnostic data Butter Devices C Slave Specific Transfer 01000 to f Block Transfer 2000 to Comm Trouble Area A Extd Comm Trouble Area A Slave Status Area Data Transfer between CPU and master module using f Copy Instructions i Consistency PLE code options C Data transfer only C User variables e AIDUTs Contents of user library start of data transfer global variables for all DUT Automatically generate code cancel na men pa 68 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 1 example In the Global GSD data section expand drives and search for A8NDPV1 If it is not available right click and select Add GSD File Search for the GSD File on the drive included with this manual afterwards the A8NDPV1 should appear under drives Drag this option to the Profi bus Master like on the screenshot PROFIBUS Configurator Tasks Setup Tasks Mas
105. been restarted The application can more often than not be run on standard settings See http eu3a mitsubishielectric com fa en products drv inv fr_configurator A8NDPV1 PROFIBUS Option Board 117 Option Board Parameters Inverter Settings Note 118 Parameter 1300 514h General Settings Only read by the option board during startup Bit Name Default Description 0 3 reserved 0 N A 4 Clear all Option Parame 0 Will clear all option parameters and set the default values ters when set to 1 Resets itself to False 0 after completion 5 15 reserved 0 N A Parameter 1305 519h Device address node address Only read by the option board during startup The lower byte can be written by using the hand held parameter unit For these settings to be used parameter 1307 51Bh has to be set to 1 Bit Name Default Description 0 7 Configured This device address node address is set via the parameter unit The mod device ule must have a unique node address device address in order to be able to address communicate on the PROFIBUS network Value Description 0 125 Values in this range are considered as a local address setting by the inverter set by the parameter unit e g and will be used as the new node address after restart Set Slave Address SSA functionality is disabled 126 254 Use previous valid setting received from network Any value in this span will default to 126 Option Parameter 7
106. ce Initial Value TH Cross Reference Device List E Output EY Watc ES 4 In the new window click Module Type and select PROFIBUS DP Module Module Name should be set to QJ71PB92V Save this setting by clicking OK Base Mo p Mounted Slot No lo E Acknowledge 1 0 Assignment M Specify start XY address 0000 H 1 Slot Occupy 32 points A8NDPV1 PROFIBUS Option Board 17 GX Works Q CPU Telegram 1 example Get Started 5 The Profibus DP module should be inserted into the Intelligent Function Module tree Expand it and double click on Parameter This should open the Profibus Configurator cl e bev Mees Project 3 r Parameter H Intelligent Function Module Er 0000 QI71PB92V i 38 Parameter CH Global Device Comment mm EE Global Label G Program Setting Pou Ey Program i POU_O1 iA Program ii Local Label e FB FUN a 83 Structured Data Types By Local Device Comment ER Device Memory i f Device Initial Value Setup Tasks Master Settings fo GSD Device Database E VO Mapper Devices for Slave Specific Transfer Export Tasks Ft POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Documentation of I O Mapping H Help Help Topics About GX Configurator DP
107. cs Tool Window Help 8X E E fro AAN AD aan ajo P d i Lk SS x kE CH YO no 0x0 FDL 0 Q 71PB92V E T GSD Database EE E MW DLA MyAs40inverter ABNDPVI VO size 4 4 byte s ae General Ja GSD Device Database fff Slot Standard Telegram 1 CR Ki Drives Es VO Mapper F Devices for Slave Specific Transfer f j wW ABNDPV1 ee a FR ASNPA Export Tasks a i FR A7NP k in POU Generation d a Configuration Image f e a FR ESNP Project in GX Configurator DP Format i i O Switches Import Tasks ES EN Ba Ki Lo Import GX Configurator DP Project e LZ M e Add GSD File i Import GSD Database E Ki Controls HMI Documentation Project Documentation H Documentation of I O Mapping Vaio a Help x i F LZ PLC Help Topics i About GX Configurator DP LJ Ki Identsystem Online Status not connected Watch 1 ax Device label Curent Value Data Tye ss Device Adress Comment A A EH Cross Reference Device List EJ Outpur EZ ES Doc ld HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example 3 From the GX Works 2 Navigation window expand Program settings There should be two tasks under No Execution Type MAIN and PROFIBUS Drag both tasks to Scan Program to allow them to execute Navigation Project it i ah s Parameter 0 3 Intelligent Function Module o bih 0000 Q 71PB92V ia Parameter Y G
108. d GSD File Import GSD Database Documentation Project Documentation Documentation of 1 O Mapping Help Help Topics About GX Configurator DP Online Status not connected Watch1 Device Label Current Value_ Data Type ass Device Adress Comment S HABRA Sh i be A bs Bo DR vo ELO ODER O Add e ha vray drop from GSD device tree E GSD Database LZ General Ki Drives Dall A8NDPV1 g Za FR ASNPA EV FRATNP o BA FR ESNP Ki Switches E vo O Valves Ki Controls E an O Encoder O NC RC LZ Gateway Ki PLC Ki Identsystem Dra The Slave Parameters Wizard should now be shown Enter a name select 1 for FDL Address and make sure to select Swap I O Bytes in Master All other settings can remain as default Click Next to proceed Vendor Slave Properties Name FDL Address min T_sdr Group identification number Slave is active T Ignore AutoClear A8NDPV1 PROFIBUS Option Board MyA840Inverter fi 10 125 nm n 28 l Gp2 M Gp3 M Gp4 l Gps Gpz l Gps Syne Output Freeze Input Initialize slave when failing to respond 45 GX Works Q CPU Simple Ladder Telegram 1 example 46 Get Started 9 Select the communication protocol used to communicate with the option card For this tuto rial use Standard Telegram 1 Drag this option from the Available Slave Modules
109. devices section displays which device addresses are occu DP Master Parameters Wizard CPU Device Access Enter the device addresses for buffering O and diagnostic data Butter Devices C Slave Specific Transfer D1 000 to Dinz Mien D2000 to ban GER Comm Trouble Area Ir Ir Estd Comm Trouble Area po po Slave Status Area Data Transfer between CPU and master module using C Copy Instructions e AutoRefresh i Consistency PLE code options C Data transfer only C User variables f All DUTs Contents of user library start of data transfer global variables for all DUT Cancel Back Default Watch 1 Monitor Executing Class 1 Bit El Bit Word Signed Word Signed Word Signed Word Signed Word Signed A8NDPV1 PROFIBUS Option Board 53 GX Works Q CPU Simple Ladder Acyclic communication example Get Started 3 9 3 9 1 54 GX Works Q CPU Simple Ladder Acyclic communication example This chapter describes using acyclic communication through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a QCPU and QJ71PB92V Profibus Master It con tains examples of reading and writing individual parameters First perform the setup using tele gram 1 For additional information refer to the QJ71PB92V manual The process of acyclic communication parameter read consists of a write request and a response read For details please refer to the Acyclic Data Exchan
110. e Project Slave Mod ules section Click Next to proceed 0 Modules installed 1 are possible Max Data size 128 byte s 1 0 usage D zD byte s Max I O sizes 64 B4 byte s i Standard Telegram 1 i da 100 Tope f Telegram 101 Posin Control f Telegram 102 Custom f Telegram 103 Custom 78 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started Module Parameters PNU in Output PZD 2 PNU in Output PZD 3 PNU in Output PZD 4 PNU in Output PZD 5 PNU in Output PZD 6 PNU in Output PZD 7 PNU in Output PZD 8 PNU in Output PZD 9 PNU in Output PZD 10 PNU in Output P2D 11 PNU in Output PZD 12 PNU in Output PZD 13 PNU in Output PZD 14 PNU in Output PZD 15 PNU in Output PZD 16 PNU in Output PZD 17 PNU in Output PZD 18 PNU in Input PZD 2 PNU in Input PZD 3 PNU in Input PZD 4 PNU in Input PZD 5 PNU in Input PZD 6 PNU in Input PZD 7 PNU in Input PZD 8 PNU in Input PZD 9 PNU in Input PZD 10 PNU in Input P D 11 PNU in Input PZD 12 PNU in Input PZD 13 PNU in Input PZD 14 PNU in Input PZD 15 PNU in Input PZD 16 PNU in Input PZD 17 PNU in Input PZD 18 A8NDPV1 PROFIBUS Option Board D Telegram 102 Custom CO OO o ce OO CO Ce OO OO E CO OO CO OO CO OO OO E CO OO OO CO OO OO E CO OO OO E CO OO CO a GX Works FX CPU Telegram 102 example 4 From the select module dropdown select slot 0 Telegram 102 Custom It is now possible to setup the input and outputs of the telegram There are 18 inputs and outputs
111. e following conditions The Configured device address attribute in option parameter 6 is set to a value higher than 125 or option parameter 8 is set to 0 The module is not in exchanging data The module is addressed with the correct Ident Number No previous Set Slave Address request with the flag No Add Change set prevents the mod ule from accepting the new settings A8NDPV1 PROFIBUS Option Board 121 Set Slave Address Identifying Option Board 122 Doc Id HMSI 216 127 Doc Rev 1 00 PROFIBUS DP V1 Implementation General 6 PROFIBUS DP V1 Implementation 6 1 General The A8NDPV1 PROFIBUS Option Board complies to PROFIBUS specification IEC 61158 Type 3 Drive operation complies to PROFidrive V4 1 Supports Application class 1 functionality Performance Up to 12 Mbit detected automatically by the module Device Model The communication relationship between the controller and master is represented by MSO AR plus MS1 AR Relationship between a DP master class2 Supervisor is represented by MS2 AR Cyclic communication uses the MSO channel Two different channels exists for acyclic communication the MS1 and MS2 Data access via DP V1 read write services via slot index Slots One slot available for a selection of telegram types I O Data The amount of I O data that can be transferred is determined by the main unit interface ora max imum of 64 bytes of I O data in each direction 6 2 Electronic Data Sheet
112. e format of a positive response is as follows Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format See data format type table 6 7 Parameter value Byte swapped parameter value In case of a negative response the format is Byte no Description Value 0 Request ID 0x81 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Byte swapped error value see error table A8NDPV1 PROFIBUS Option Board 101 TIA Portal Acyclic communication example Get Started The content of the data request will be contained in a data block structure Expand the PLC in the project tree and add a new block 102 YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help FC H save projet X EEK Hts re SM fr H D g coonline Y Go offline A R IR ae Bu Devices 500 7Profibus Telegram 1 li Add new device das 2 amp Bellas aa CO aad s Interface Name 1 lt lt e Temp da Devices amp networks 2 as OB1_EV_CLASS v jj PLC_1 CPU 315 2 PN DP 3 Jans OBISCAN1 Dr Device configuration Y Online diagnostics v e Program blocks Y Main 081 gt 38 Technology objects gt External source files 41 0 ReadyToSwitchO 41 1 S
113. ections HiMi_connectic l BE Qs 100 H l v Catalog I Add new device Filter am Devices amp networks pti anaes wiet ES v jg PLC_1 CPU 315 2 PN DP El D I sa Controllers Y Device configuration pu gt hm T PC systems i Drives amp starters Ca Network components LU Im Detecting amp Monitoring Ca PLC tags La Distributed UO ig PLC data types i Field devices Gal Watch and force tables ym Gtber Beta devices ig Online backups E Ee devices eee va SC DP Text lists v Drives ig Local modules i Siemens AG gt Unassigned devices HMs Industrial Networks Kaf Common data ig ABNDPV1 LV E Documentation settings E EEN lo Languages amp resources cares jg Online access tandard Telegram i Card ReaderiUSB memory E Telegram 100 Torque Co BB telegram 101 Position C D Telegram 102 Custom Ii telegram 103 Custom gt E Encoders gt La Gateways gt ig General Ca Ident systems vw _ Profibus Telegram 1 5o eze gt ajempiey E Y Online amp diagnostics Lei Program blocks GH Technology objects gt m External source files 5100 Su uo le sauesqr E v Details view Q Properties Info alu Diagnostics General 10 tags General Name Slave_1 Author edc Comment Information SCH 7 S 4 Portal view v Project P
114. ecute parameter read requests First get the inverter running by setting bits MO and M1 Now read the actual frequency by writing PNU 9193 to D3500 and setting bit M10 The result should be a value of 1000 in 3502 which corresponds to 10Hz The PROFIdrive parameter numbers PNUs available for use are list ed in the Data Exchange subchapters 7 1 to 7 4 Watch 2 Monitor Executing Device Label__ Curent Value MO 1 Bit CO E E 1 M10 0 Bit D3500 9193 Word Signed D3502 1000 Word Signed 58 Initialize command A ETE Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Acyclic communication example 3 9 2 Changing parameters Sequence 2 Creating the request The idea of executing a change write of a PNU is the same as reading one The only difference is the change of the data request response The format of the write request is as follows Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU 8 9 Subindex irrelevant 0x00 10 No of values 0x01 11 Format 0x06 UINTEGER16 for all inverter parameters See data format type table 12 13 Set value Byte swapped set value A8NDPV1 PROFIBUS Option Board 59 GX Works Q CPU Simple Ladder Acyclic communication example Get Started Mod
115. entation of I O Mapping Help Help Topics About GX Configurator DP Online Status not connected E gt MII Bar el Sch Slot 0x0 FDL 0 FX3U 64DP M Ti FDL 1 MyA840Inverter ABNDPV1 I O size 4 4 byte s f Slot 0 Standard Telegram 1 3 The Profibus controller is setup and ready to run after compilation and write to the PLC Pro ceed to write the program to get the inverter running under a set frequency Go to the User Library section select the library generated by Profibus configurator and click on the lock pad icon to unlock it E H Program E E Global Label E Global fj FB FUN Ss Structured Data Types Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 1 example 5 Enter the global label definition file and modify the label names to your liking To allow easy following of this tutorial please use the names like on the screenshot below Local Label Setting POU_01 PRG 4 POU_01 PRG Program Structur ES O FXSU 64DP M Parame Class Label Name Data Type tHAOSLVSMODO 1 VAR_GLOBAL z 2 VAR_GLOBAL S 3 VAR GLOBAL Y Unsi ng 16 bitJ D 1 4 OS E 5 sl O 6 sl O 7 sl O 8 sl O O 9 sl A 10 sl O 11 sl O 12 sl O 13 sl O O 14 sl O 15 sl O 16 sl O The data is defined as follows For A800_In 0 ZSW1 1 NIST_A For A800_Out 0 STW1 1 NSOLL_A LS E DBAS O BARRAC
116. equest flag gt SET M11 lt Read Write request failed gt U0 lt gt D3000 HOA400 H lt gt D3000 HOA401 MOV HO G23808 lt Read error codes gt U0 BMOV G25122 D3001 K4 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Acyclic communication example Ifa successful parameter write request was performed request ID 0x02 bit M14 shall turn on In case of a failure request ID 0x82 bit M13 will be ON and the error code will be stored in D3504 process response lt Extract bytes M12 665 WTOB D3005 D3600 K2 lt Request ID negative D3601 H82 SET M13 lt Byte swap error value SWAP D3008 lt Move error value MOV D3008 D3504 lt Request ID positive 5 D3601 K2 Y SET M14 lt Reset process response flag RST M12 A8NDPV1 PROFIBUS Option Board 63 GX Works Q CPU Simple Ladder Acyclic communication example Get Started 64 Executing example requests In this program the following devices are used Device Description M5 Perform acyclic request M10 Trigger sequence Prepare write request M11 Continue sequence Prepare read request M13 Parameter write failed M14 Parameter write success M100 M108 Acceptance completion status D3000 Acyclic response code D3001 D3013 PROFIdrive response data D3500 PNU to change D3501 Byte swapped PNU no D3502 PNU value to set D3503 Byte swapped PNU value to set
117. erRequest to ON A successful write will result in entering state 7 Profibus Acyclic Write PLC_1 CPU 315 2 PN DP gt Watch and force tables Watch table_1 SEAR diel i Name Address Display format Monitor value Modify value 7 1 requestedPNU SAM 8 DEC 5111 MA 2 ParameterRequest MO 2 Bool TRUE E A 3 state eMW2 DEC 4 writeStatus ei soba Hex e 16 0000_0000 O 5 readStatus MD10 Hex 6 readError MW20 Hex 7 500 MA CO writeValue MW22 DEC Test receiving a negative response by trying to write an out of range value After trying to write OxFFFF as the value of parameter 15 state 12 will be entered indicating a negative response with error code 0x02 LOW_OR_HIGH_LIMIT_EXCEEDED stored in readError tag which is the expect ed behavior Profibus Acyclic Write PLC_1 CPU 315 2 PN DP Watch and force tables Watch table_1 Se NE AE E dl a i Name Address Display format Monitor value Modify value Si H 1 requestedPNU MW18 DECH 5111 MA 2 ParameterRequest MO 2 Bool TRUE MA 3 state MW2 DEC 4 writeStatus MD4 Hex 16 0000_0000 D 5 readStatus MD10 Hex 6 readError HMW20 Hex 7 writeValue E MW22 Hex 16 FFFF 16 FFFF Ma 00 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started SIMATIC STEP7 example 3 16 SIMATIC STEP7 example 3 16 1 Creating a Configuration This section describes a simple example on
118. error 6 7 Error value Byte swapped error value see error table First check the received request ID to identify the type of received response positive or negative Set bit parameterReadError in case of a negative response and write the error code to variable pa rameterValue lf a positive response was received set bit parameterReadSuccess and write the read parameter value to parameterValue After receiving a response extract the parameter value Ifthe response is negative parameterValue will hold the error code d EN ENO EN ENO DataRead 0 s d responseHeader 0 ARAN sl LEN ENO EN ENO s SET sponseHeaderf1 sl gi parameterReadSuccess EN ENO Si i 01 52 gl parameterfieadEnor ere Extract requested parameter value MOVE_E LEN ENO q DataRead 3 IN parameterValueB MOVE E parameterValueBS _IN SWAP i i i i EN ENO PE EE s 84 Doc ld HMSI 216 127 Doc Rev 1 00 Get Started 3 12 2 GX Works FX CPU Acyclic communication example Executing example requests After compiling the program and writing it to the PLC it is possible to execute parameter read requests First get the inverter running by setting bits MO and M1 Now read the actual frequency by writing PNU 9193 to requestParameterNo and setting bit requestParameter The result should be a value of 1000 in par
119. ersystem 1 PROFIBUS_1 Slave_1 Devices Totally Integrated Automation PORTAL E Topology view 2 OC dE Slave_1 vw _ Profibus Telegram 1 i Add new device sh Devices amp networks ig PLC_1 CPU 315 2 PN DP gt Tei Cornmon data Ej Documentation settings Languages amp resources gt hai Online access np Card ReaderiUSB memory Qs liom Isi I Device overview MS Dote ajempiey E IH universal module D standard Telegram 1 HI Telegram 100 Torque Control i Telegram 101 Position Control a Telegram 102 Custom Ii Telegram 103 Custom 5100 aunuo e Sept kit Y Module Slave_1 Standard Telegram 1_1 10 tags Texts Slot laddress Q address Type Order no Firmware Comment 0 2043 ABNDPY1 1 0 3 0 3 Standard Telegram 1 Version 1 00 Properties Info 0 Diagnostics sanesqr E vw Details view Catalog information Identification amp Maintenance PROFIBUS address Name General DP parameters Hex parameter assignment Watchdog SYNCIFREEZE Diagnostics addresses 4 Portal view PROFIBUS address Interface networked with Subnet PROFIBUS 1 Highest address Transmission speed 5 Mbps Information v Project Profibus Telegram 1 opened 1D From the project tree select Program blocks and double click on Main to start editing the pro gram
120. evice Database y Slot 0 Standard Telegram 1 Ki Drives reif E VO Mapper i Global Device Comment ee z E e Global Label Devices for Slave Specific Transfer W ASNDPVL Sd Program Setting Za FR ASNPA a4 POU Export Tasks x a ECH Program T FR A7NP 4 POU_01 Ft POU Generation a ff Program Configuration Image a FR ESNP Local Label Project in GX Configurator DP Format nm Si FB FUN Switches 5 Structured Data Types Importa e E Ki yo 3 Local Device Comment Device Memory Import GX Configurator DP Project Ki Valves A Device Initial Value Add GSD File ES Import GSD Database T Ki Controls Ki HMI Documen tation x O Encoder Project Documentation Documentation of I O Mapping Ki NC RC Ki Gateway Help x O Pic Help Topics Myris About GX Configurator DP SS Identsystem Lagi User Library Ki PA En Project GSD data Global GSD data 2 Online Status not connected 1D As of now the Profibus controller is setup and ready to run after compilation and write to the PLC Proceed to write the program to get the inverter running under a set frequency Below is a table of PLC devices and their corresponding meaning in PROFldrive Device Description D1000 input ZSW1 D1001 input NIST_A D2000 output STW1 D2001 output NSOLL_A 2 Start the ladder program by initializing Profibus communication Start Profibus communication SM402 X0 SET YO
121. fications Acyclic communication 34 SU ele RU EE 7 Simple Ladder Acyclic communication 54 Speed actual value A NIST_A 133 Simple Ladder Telegram 1 42 Speed setpoint A NSOLL_A 133 Simple Ladder Telegram 102 50 Status WOTAZSWl aida da 133 Telegrama ida as 16 Telegrami EE 29 U Telegram Types rro 134 TIA Portal Inverter parameters 126 Acyclic communication 101 Tela iia 89 Tele gra MAIZ rasa 98 A8NDPV1 PROFIBUS Option Board 147 Index 148 Doc Id HMSI 216 127 Doc Rev 1 00
122. for vendor specific parameters The table below shows the implementation of the PROFIdrive signal list Signal Abbreviation PROFIdrive Parameter Main unit Parameter 1 STW1 Control word 1 P967 DriveControl 2 ZSW1 Status word 1 P968 DriveStatus not assigned 5 NSOLL_A Speed setpoint A SetpointSpeed 6 NIST_A Speed actual value A ActualSpeed not assigned 1001 59999 Vendor specific Mapped to Process Data if possible Below is a brief explanation of the format of the used signals For a detailed explanation includ ing control and status words specific to various operation modes please consult ProfiDrive spec ification manual Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange Process Data Cyclic Data Exchange Control Word STW1 Contents ON No Coast Stop No Quick Stop Enable Operation or Enable Ramp Generator Unfreeze Ramp Generator Enable Setpoint Fault Acknowledge Jog 1 ON not used Jog 2 ON not used Control By PLC 11 15 OINI OV Un AIU NI VO O Status Word ZSW1 Contents Ready To Switch ON Ready To Operate or Operation Enabled Fault Present Coast Stop Not Activated Quick Stop Not Activated Switching On Inhibited Warning Present DIr AIA BI WIN za Speed Error Within Tolerance VO Control Requested 10 14 15 Pulses Enabled Speed set
123. ge subchapter 7 7 Reading a parameter Sequence 1 Creating the request The first part ofthe program should read the acceptance completion status of the acyclic re quest This can be done with the following code Read acceptance completion status SM400 U0 q _ _ o o o BA 2 MOV 25120 K4M100 7 Prepare the content for the parameter read request The data request has the following format Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU Doc ld HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Acyclic communication example Request reference is any valid number this value is mirrored back in the response and can be used to distinguish multiple requests The parameter number needs to be byte swapped the SWAP instruction can be used to swap the lower and higher byte of a word Below is an example on how to prepare the request data l La Start sequence prepare write request lt Write service gt M10 M100 M108 U0 101 MOV H1401 G23809 l lt DataStart Request ID Ref ID gt UO MOV H105 G23814 lt No Parameters DO ID gt U0 MOV H101 G23815 lt 00 Attribute value gt U0 MOV H10 G23816 lt Prepare PNU gt MOV D3500 D3501 SWAP D3501 lt PNU gt U0
124. geg Sp Switching OFF S2 Ready for Switching ON ZSW1 bit 0 1 p e true ZSW1 bit 0 true 1 2 6 p e false a bit 2 6 false Standstill detected Quick Stop STW1 bit 2 false Coast St oast Stop ON OFF Disable Operation OR Quick St a FF T e STW1 bit 0 true STW1 bit0 false STW1 bit 3 false OR bit 2 false S3 Switched ON ZSW1 bit 0 1 true 2 6 p e false Coast Stop STW1 bit 1 false ES ei Enable Operation Disable Operation ON j OFF b Quick Sto p STW1 bit 3 true STW1 bit 3 false STW1 bit 0 true STW1 bit0 false STW1 bit 2 false S4 Operation 4 ZSW1 bit 0 1 2 p e true 6 false Control Word 1 STW1 description State Bit combination Bit 10 Bit 7 Bit 3 Bit 2 Bit 1 Bit 0 ae Control By raut Enable No quick No coast Description acknowl i On PLC operation stop stop edge Switching on Inhibited 0 0 pa E Ready To Switch On 1 1 Switched On 1 1 1 Operation 1 1 1 1 Rotation 1 1 1 1 1 Fault reset 0 gt 1 Both No Coast Stop and No Quick Stop need to be set to reset the Switching On Inhibited bit in ZSW1 To do this set bits 1 and 2 in STW1 that is bit 1 and 2 in QWO A8NDPV1 PROFIBUS Option Board 95 TIA Portal Telegram 1 example Get Started Input the following ladder block to allow the inverter to enter Ready For Switching On sta tus after connection i
125. gsd 90 Version Language Status Already installed C Doc ld HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 1 example After finishing installation and returning to the main window switch to Network view JA Siemens Profibus Telegram 1 a X Project Edit View Inset Online Options Tools Window Help S Totally Integrated Automation SF Ra Save projet Si MX zs 3 Str H a FG BER Y coonline H Go offline de RE X Ss PORTAL Profibus Telegram 1 Devices networks Devices E Topology view BY Device view Options 2 OCH rk Network F Connections HMi_connectic SS D 3 A A y Catalog v _ Profibus Telegram 1 iy iri i Add new device m Fil ilter gm Devices amp networks jg PLC_1 CPU 315 2 PN DP ig Controllers Dr Device configuration d m systems Kei Program blocks gt i Drives set Eg Technology objects gt Um waves he in gt External source files La Detecting amp Monitoring a PLC tags En Distributed 1 0 gt Field devices Le PLC data types gt Ea Watch and force tables gt ig Other field devices ij Online backups ls Program info EA PLC alarms Si Text lists ig Local modules gt fad Common data Ej Documentation settings gt Languages amp resources Online access fy Card Reader USB memory Do asempiey E Online amp diagnostics 5 00 Sunuo e LI gt g Kal
126. he acyclic request is held as described in the QJ71PB92V manual The format of a positive response is as follows Byte no Description Value 0 Request ID 0x01 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format See data format type table 6 7 Parameter value Byte swapped parameter value A8NDPV1 PROFIBUS Option Board 57 GX Works Q CPU Simple Ladder Acyclic communication example In case of a negative response the format is as follows Get Started Byte no Description Value 0 Request ID 0x81 1 Request reference 0x01 0xFF same as in request 2 No of parameters 0x01 3 DO ID 0x01 4 No of values 0x01 5 Format 0x44 error 6 7 Error value Byte swapped error value see error table The parameter value or error value can be therefore read from D3008 This value is byte swapped and saved to address D3502 Executing example requests In the code above the following devices are used Device Description M5 Perform acyclic request M10 Trigger sequence Prepare write request M11 Continue sequence Prepare read request M100 M108 Acceptance completion status D3000 Acyclic response code D3001 D3013 PROFIdrive response data byte swapped D3500 PNU to read D3501 Byte swapped PNU no D3502 PNU value After compiling the program and writing it to the PLC it is possible to ex
127. hile a negative response ID 0x82 v Network 10 Process response DB 1 DBB15 D I FIMWZ ResponseRecord z z ResponselD state p gem KC EN ENO A Int MH 6 2 d AMW OUTI state DB 1 DBB15 D I ResponseRecord ResponselD MOVE MOVE Byte EN ENO EN ENO A 82 YMWZO 12 IN AMW XDB 1 DBW20 E b d DB OUT readError OUT state ResponseRecord Value jy MOVE EN ENO m DB3 DBW16 MWS RDREC_DB LEN IN OUTI readLen Finally change the length of the write request to 14 bytes v Network 11 Execute write nment KK WRREC_DB WRREC Int to Int EN ENO FALSE REQ DONE A 3 BUSY A 47 INDEX ERROR A 14 LEN STATUS PDB 1_DBX0 0 DB RequestRecord RECORD 109 TIA Portal Acyclic communication example Get Started 110 Executing example requests To perform a parameter write set the PNU of the parameter to change in requestedPNU As an ex ample to change parameter 15 Jog frequency add the offset 5096 and write the result 5111 to variable requestedPNU The value that will be set will be the output of multiplication of the set value and the minimum setting increments as according to the parameter list in the inverter manual For parameter 15 the minimum setting increment is 0 01Hz If a jog frequency of 5Hz is requested set writeValue to 500 Finally execute the request by setting bit Paramet
128. ify the content of the write request Start sequence prepare write request lt Write service gt M10 M100 M108 U0 101 MOV H1401 G23809 lt write length gt UO MOV K28 G23811 o lt DataStart Request ID Ref ID gt UO MOV H205 G23814 lt No Parameters DO ID gt UO MOV H101 G23815 lt 00 Attribute value gt UO MOV H10 G23816 lt Prepare PNU gt MOV D3500 D3501 SWAP D3501 lt PNU UO MOV D3501 G23817 lt Subindex UO MOV KO G23818 lt No values Format U0 MOV H106 G23819 lt Prepare PNU value MOV D3502 D3503 SWAP D3503 lt PNU value UO MOV D3503 G23820 lt Set request execution flag SET M5 lt reset success fail flags RST M13 RST M14 lt reset change request bit RST M10 60 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Acyclic communication exam Modify the read request Continue sequence prepare read request lt Read Service M11 M100 M108 U0 329 MOV H1400 G23809 lt Data length U0 MOV K16 G23811 SS lt Clear det U0 FMOV KO G23814 K123 K5 T1 lt Set request execution flag T1 397 SET M5 lt Reset read request flag RST M11 Modify the execution of the request Perform write read request lt FDL address M5 M108 M100 U0 430 A MOV K1 G23810 lt Slot No UO MOV K1 G23812 lt Index UO MOV K47 G23813 lt Execute request U0 MOV H1 G23808 lt Reset request execution flag
129. ion Pre installation Instructions AN WARNING To avoid damage to the inverter or plug in option board never install or remove a plug in option board while the inverter s input power is on Make sure that the inverter s power is OFF 2 2 A8NDPV1 PROFIBUS Option Board Physical installation of the option board is a two step process First the card will be mounted onto an available option connector on the inverter s control board Second the card will be con nected to the PROFIBUS network using a PROFIBUS cable Installation Procedure O7 Make sure that power is off 2 Remove both lids of the FR A800 Unscrew the two screws in the bottom corners of the inverter Remove the lid covering the lower front of the inverter Unscrew the screw in the bottom right corner of the lid covering the upper front of the in verter Remove the lid Installation Procedure Installation 3 Put the included studs in the holes at the right top and left bottom corners of the PCB 4 Position the A8SNDPV1 PROFIBUS Option Board at the option slot 1 as shown in the image This is the only position that will allow network connectivity AA j CRU AS ESA E A GER DEE KA EE Se CM a a o OIE TITS atata A 2 o deser rara av ave Y ARA e E gt ELE teen E IM i Is Mm 5 Fasten the option bo
130. ion Board VAR VAR Bit M1 M8183 D11755 D11751 41 GX Works Q CPU Simple Ladder Telegram 1 example Get Started 3 7 GX Works Q CPU Simple Ladder Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a OCPU and QJ71PB92V Profibus Master GX Configura tor DP 7 10L or newer is required to perform the setup Start with a new project in simple ladder mode Select Project type Simple project PLC Series QCPU Q mode PLC type select the cpu Language Ladder New Project Project Type Simple Project r Use Label PLC Series 2 Add a new Intelligent Function Module from the menu on the left right click and select new C eleje Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help 8X DBA E o Bio TTET PERSA HE EA SE le e ven dar Ts e E itt seb He ee tt 42 est EEE el aps ads A ob eI ee Ss OB CARTE eno E Pa rameter fi Y Intelligent Function Mod Global Device Commen New Module 00 O Module 8 Pou Read GX Configurator QP Data d MAIN Gy Property 3 Local Device Comment a Device e Memory JB Device Initial Value 42 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 1 example
131. lobal Device Comment LE Global Label EL t Program Setting oiu 8 Initial Program e W Scan Program gt Y Standby Program gt Y Fixed Scan Program Si 8 No Execution Type eg MAIN Si PROFIBUS a cf POU D I Program E E POU_01 4 Program pan ly Local Label in BL Local Device Comment S Device Memory bes M Device Initial Value A8NDPV1 PROFIBUS Option Board A x Navigation a x Project geen El 25 Parameter Sr Intelligent Function Module S El MAR celia E nf Parameter LE Global Device Comment LE Global Label E ts Program Setting NI Initial Program Bi Scan Program 8 MAN fg PROFIBUS RI Standby Program E Fixed Scan Program e fil No Execution Type a POU SR Program E E POU_01 fi Program Beie Ka Local Label pba SA Local Device ae ef Device Memory ge dr Device Initial Value 23 GX Works Q CPU Telegram 1 example Get Started The POU Generation creates a library containing global variable definitions The global label name conflicts with the project global label name setup by default in GX Works 2 In order to avoid conflict change the name of the project global label from Global1 to Global If this is not done an error will occur upon compilation Project Edit Find Replace Compile View DBA amp lo a dech ap EE ar 1D ath ju a E oo SS Seit Project CF Gaz bn eil Bn s Parameter 0 34 Intelligent Function Module
132. m 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 with a QCPU and QJ71PB92V Profibus Master First perform the setup using telegram 1 O7 Enter the Profibus Configurator and double click on the inverter to bring up the Slave Param eters Wizard Click Next to proceed 28 MELSOFT Series GX Works2 us manual fixes profibus example telegram 1 gxw 0000 QJ71PB92V Parameter Fo lle Js 3 Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help B X IDDBA o a PE ee e a pd em E te EE EECH SES E a 238 TiO a Navigation Local Label Setting POU_01 PRG i POU_01 PRG Program Structur 7 0000 QJ71PB92V Parame QJ71PB92V_0000 Global Label Se db Project PROFIBUS Configurator Tasks E Global GSD data x Eat a EE RE GSD Database a g Parameter Setup Tasks oe o Module Master Settings T FDL 1 MyA840Inverter ABNDPV1 I O size 4 4 byte s a General BE KEE fa GSD Device Database Slot 0 Standard Telegram 1 E O Drives i Q Global Device Comment VG wei age kee q O ias d e Global Label Devices for Slave Specific Transfer f WI zi Sa Program Setting DP Slave Parameters Wi EE ES Ki vo 44 POU Export Tasks D Program 8 O Valves
133. meter If the request is rejected an error is returned Error Code Description 0 Illegal parameter number Drive reset not supported 1 Request cannot be executed due to operation status 7 Request cannot be executed due to operation status 130 Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange General State Diagram 7 5 General State Diagram This general state diagram shows how the inverter behaves based on Control Word 1 STW1 For detailed state diagrams for various modes please consult ProfiDrive technical specification manual General State Diagram Power supply ON S1 Switching ON Inhibited ZSW1 bit 6 true 0 1 2 p e false eo DS Standstill OFF Coast Stop Coast St detected OR AND No Coast Stop OR Quick Stop b EE 7 a se Disable Operation AND No Quick Stop STW1 bit 1 false E STW1 bit 3 false STW1 bit 0 false AND OR bit 2 false bit 1 true AND bit 2 true e Be emm S5 Switching OFF S2 Ready for Switching ON ZSW1 bit 0 1 p e true quick stop ZSW1 bit 0 true 1 2 6 p e false bit 2 6 false EN Standstill detected Guicksi OR uick Stop proud ee an OFF Disable Operation STW1 bit 2 false STW1 bit 1 false STW1 bit O true STW1 bit0 false STW1 bit 3 false i OR bit 2 false S3 Switched ON ZSW1 bit 0 1 true 2 6 p e false Coast Stop STW1 bit 1 false es Enable Operatio
134. n Disable Operation b S STW1 bit 3 true STW1 bit 3 false ON OFF Quick Stop STW1 bitO true STW1 bitO false STW1 bit 2 false S4 Operation 28 ZSW1 bit 0 1 2 p e true 6 false A8NDPV1 PROFIBUS Option Board 131 Process Data Cyclic Data Exchange 7 6 7 6 1 7 6 2 132 Data Exchange Process Data Cyclic Data Exchange General Drive control is per default performed through the cyclic data exchange channel DriveControl DriveStatus Setpoint and Actual Values are sent as lO DATA telegrams on PROFIBUS These tele grams are transformed and mapped to the main unit parameters by the option board The Process Data map is based entirely on the requirements of PROFldrive and the end user by means of User Parameterization Data The active process data is mapped in the configuration tool where PROFldrive profile specific signals are specified using signal numbers 1 1000 and vendor specific signals are specified using signal numbers 1001 59999 For all configurations the default for the first IO DATA items in each direction will be DriveCon trol and DriveStatus respectively Signals Each lO DATA channel is assigned a signal which is mapped to an inverter parameter Thus PROFIdrive parameters that are to be exchanged as IO DATA i e Process Data must be assigned a unique signal number Signal numbers 1 1000 are reserved for standard Drive Profile parameters while signals 1001 59999 are used
135. n Input P D 2 PNU in Input PZD 3 PNU in Input PZD 4 FNU in Input PZD 5 PNU in Input P D 6 PNU in Input PZD 7 PNU tn Input PD 8 PNU in Input PZD 9 PNU in Input P D 10 FNU in Input PZD 11 PNU in Input P D 12 FNU in Input PZD 13 FNU in Input PZD 14 PNU in Input P D 15 FNU in Input PZD 16 PNU in Input P D 17 FNU in Input PZD 18 PNU in Input PZD 8 0 65535 Cancel 0 Telegram 102 Custom oS fe fe E E S amp S S amp S amp Ca E E E amp CO G a Ca amp ee fee E E E CO CO Ca E MV Back Edit Hex Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 102 example 6 Click Next and Finish to proceed Complete the POU Generation rebuild the project and write it to the PLC The additional monitor data can be viewed in the appropriate position of the vHAO_ input array _Device Label vHAD0_imput Word Unsigned Bit String 16 bit 18 VAR_GLOBAL 0 33591 Word Unsigned Bit String 16 bit D1000 7 MW0 1000 1 3276 Word Unsigned Bit String 16 bit D1001 MW0 1001 2 1000 Word Unsigned Bit String 16 bit D1002 7 MW0 1002 3 0 Word Unsigned Bit String 16 bit D1003 MW0 1003 4 1 Word Unsigned Bit String 16 bit D1004 MW0 1004 5 0 Word Unsigned Bit String 16 bit D1005 MW0 1005 6 0 Word Unsigned Bit String 16 bit D1006 MW0 1006 7 0 Word Unsigned Bit String 16 bit D1007 MW0 1007 8 0 Word Unsigned Bit String 16 bit D1008 7 MW0 1008 9 0 Word Unsigned
136. ncy Click Finish to save settings and close this wizard DP Master Parameters Wizard CPU Device Access Enter the device addresses for buffering WO and diagnostic data Butter Devices C Slave Specific Transfer 01000 to e Block Transter D2000 to Comm Trouble Area PS Ed Comm Trouble Area A Slave Status Area Data Transter between CPU and master module using C Copy Instructions Ww Consistency PLE code options C Data transfer only User variables Al DUT Contents of user library start of data transfer global variables for all DUT Automatically generate code A8NDPV1 PROFIBUS Option Board 19 GX Works O CPU Telegram 1 example Get Started 9 In the Global GSD data section expand drives and search for A8BNDPV1 If it is not available right click and select Add GSD File Search for the GSD File on the drive included with this manual afterwards the A8NDPV1 should appear under drives Drag this option to the Profi bus Master like on the screenshot Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help x AY Navigation ax Gy Local Label Setting POU_01 PRG 4 POU_01 PRG Program Structur 33 0000 QJ71PB92V Parame X SEES Project PROFIBUS Configurator Tasks PROFIBUS Network 3 ENE a EE vo ne Aal qu71PB92V GSD Database z n Parameter Setup Tasks lt e 23 Intellige
137. nd download it to the PLC The additional monitor data can be viewed in the appropriate IW address YA Siemens Profibus Telegram 102_2 Project Edit View Insert Online Devices Window Help F El saveproject 3 X SS Xx HEE HW Totally Integrated Automation DD Di BD Y oonline Y cooffine Ae IR FR x PORTAL 2 PN DP Watch and force tables Watch table 1 Options 00 v _ Profibus Telegram 102_2 i Add new device amy Devices amp networks v fig PLC_1 CPU 315 2 PN DP Dr Device configuration Online amp diagnostics vig Program blocks If Add new block Y Main 081 G Technology objects External source files Ca PLC tags LU Le PLC data types v 231 Watch and force tables i Add new watch table ES Force table oo Watch table_1 Kei Online backups Ehi Program info EA PLC alarms Z Text lists jg Local modules gt Ca Distributed I O fa Common data Ej Documentation settings lo Languages resources gt Online access gt iE Card Reader USB memory v Details view Name 4 Porat view CEE 100 NOW E WH w 00 Initialize RotationComma emm NSOLL_A Address Display format Monitor value Modify value CPU operator panel M0 0 SI HIW QUO QW2 fa swe HIWA AIWWZ Bool E TRUE Bool TRUE DEC c Error DEC D run DEC DEC STOP DEC FORCE MRES Mode selector RUN_P PLC_1 CPU 315 2 PNIDP
138. nd the error code is saved to variable errorValue After receiving a response extract the parameter value Ifthe response is negative parameterValue will hold _ the error code e WTOB H H H H H H AN H H oe ee EN ENO EN ENO h ee o o a EIA A DataRead 0 S d esponseHeader 0 responseHeader 1 51 E r 2 H Kee ee HE BZ e e AND SET D D D D D D ls 5 sisas LEN ENO EN ENO SET RRE As AAA As A responseHeader 1 s1 ES di parameterWriteSuccess EN ENO E ee e e e ENEE 02 52 E Ee AA AA d parameterWriteError a E A A e ke es sais E E r es amp SE O O A O A A 2 Ah E MOVE_E DE ME E NEE EE SE E NEE NET GER NEE E HE EE EE E EE E EE E EE E EE EE E EE HE EECH EE NEE RSC EE L EN ENO eo ENEE SY eG eS SN E Se eG DataRead 3 IN errorValueBS E eS EN E ENEE EECH eee a EN ENO m La eee es S eae ee Ee E ee E ee S errorValueBS HN errorValue SWAP Dr ee ee re ee be a o A a a ee er Re hs Sd LEN ENO s o w tek Poa se S242 E Re ee ee a ww eo ew ww we E mw See errorValue 5 A8NDPV1 PROFIBUS Option Board 87 GX Works FX CPU Acyclic communication example Get Started Executing example requests To perform a parameter write set the PNU of the parameter to change in requestParameterNo As an example
139. nt Function Module Master Settings O Add w wi db pa gem da GSD Device Database g Parameter Y Y O Mapper E e Global Device Comment e E Global Label zi Sa Program Setting 3 Pou E D Program 8 POU_01 ff Program i ES Local Label FB FUN 83 Structured Data Types Za Local Device Comment o EN Device Memory A Device Initial Value Devices for Slave Specific Transfer Export Tasks k POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP gt Online Status not connected ta FR ASNPA VB FRATNP KC FRESNP LZ Switches 2 a vo Ki Valves db Ki Controls op LZ HMI e O Encoder Ki NC RC x Ki Gateway P Ki PLC Ki Identsystem E ra Projet GSD data Global GSD data i Watch1 ax Device Label Current Value Data Type Gas Deve Across Comment S The Slave Parameters Wizard should be shown Enter a name select 1 for FDL Address and make sure to select Swap I O Bytes in Master All other settings can remain as default Click Next to proceed min T_sdr Jh Slave is active Jh Swap 1 0 Bytes in Master
140. o ee osos a EN E DO ID 0x01 first axis CARA e 1640101 men _IN Data ToWrite 1 e e a e an e e e e a a xw xv w EA EA ae 6 8 eee Ee ee Fe ae eS Dae a ware ee eee eee Coreen el no Altributevalue Ox10 value_atribute 22 e e amp amp amp amp amp amp amp amp amp So amp amp om ce of ce ee we ce ee 16 0010 IN Data T oWrite 2 Pe e ss e ep nn nn In A oa a a a VE_E D D D D D D D D E Hh Ge BD ee Boe e we EN ENO Requested PNU of ee ee ee a ee ee ee ee eee ee PS Pee Par es requestParameterNo NS equestParameterNoBS O O ea O A AA e SWAP o EN ENO E o requestParameterNoBS Ss IS e ONE E Byte swapped PNU a EN ENO o e O E e O oe requestParameterNoBS IN DataToWrite 3 a te E AI Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Acyclic communication example Proceed to issue the actual request using a function block from the lib_dpv1 library Pick any Dpv1WriteCh function block using different channels allows for simultaneous communication to multiple slaves DpviWriteCh2 1 0 Headaddress Done Done 1 FDLAddress Error Error 16 DataLength FDLAddressW rite FDLAddress 1 SloiNo DataLengthW rite DataLength ee AP dex SlotNoW rite SlotHo DataToW rite Data Write IndexWrite Index
141. o m ABNDPV1 a FR ASNPA Export Tasks ES i E FR A7NP Fit POU Generation m Configuration Image oo FR ESNP Project in GX Configurator DP Format i E a Switches Import Tasks A ds Ki yo Import GX Configurator DP Project Ki Valves Add GSD File A Ki Controls Ss SS E a LZ m Documentation Ag i em Ki Encoder Project Documentation i Documentation of I O Mapping E ean Ki NC RC E soe Ki Gateway O PLC Help Topics i About GX Configurator DP Identsystem Online Status not connected 1D From the configurator s left menu select POU Generation This will create the user libraries that can be used to control the inverter e Local Label Setting POU_01 PRG ww POU_01 PRG Program Structur gt Setup Tasks i R ss MY FDL 1 Mya840Inverter ABNDPV1 VO size 4 4 byte s Ki General du GSD Device Database Lo ff Slot Standard Telegram1 E a Drives i VO Mapper e Devices for Slave Specific Transfer We Dall A8NDPV1 IG FR ASNPA a E l a FR A7NP E a a FR ESNP Ki Switches Import Tasks A a yo Import GX Configurator DP Project PS Valves Add GSD File Import GSD Database Controls _ Documentation Project Documentation Documentation of I O Mapping Help H SS PLC Help Topics i About GX Configurator DP G zi Identsystem Online Status not connected A8NDPV1 PROFIBUS Option Board 71 Get Started GX Works FX CP
142. ocontroller Hardware or 01 Software B1h E PUE PU Leave out Internal Communication 12 B2h E RET Retry No Over Technology 17 B3h E PE2 PR Storage Alarm Microcontroller Hardware or 01 Software Coh E CPU CPU Fault Microcontroller Hardware or 01 Software C1h E CTE PU Short cct Other 19 C2h E P24 24VDC short cct Other 19 C4h E CDO OC Detect level Technology 17 C5h E IOH Inrush overheat Mains Supply 02 C6h E SER VFD Comm error Internal Communication 12 C7h E AIE Analog in error External 16 C8h E USB USB Comm error Internal Communication 12 C9h E SAF Safety cct fault Technology 17 DOh E OS Overspeed Technology 17 D1h E OSD Excess spd deviation Technology 17 D2h E ECT Enc Signal loss Feedback 11 D3h E OD Excess pos fault Technology 17 D5h E MB1 Brake seq fault Other 19 D6h E MB2 Brake seq fault Other 19 D7h E MB3 Brake seq fault Other 19 D8h E MB4 Brake seq fault Other 19 A8NDPV1 PROFIBUS Option Board 141 142 Diagnostics Main Unit Main Unit Main Unit PROF Idrive Fault PROF Idrive Fault Fault Code Fault Name Description Code D9h E MB5 Brake seq fault Other 19 DAh E MB6 Brake seq fault Other 19 DBh E MB7 Brake seq fault Other 19 DCh E EP Enc Phase Fault Feedback 11 F1h E 1 Fault 1 opt slot 1 Internal Communication 12 F2h E 2 Fault 2 opt slot 2 Internal Communication 12 F3h E 3 Fault 3 opt slot 3 Internal Communication 12 F5h E 5 Fault 5 Microcontroller Hardware or 01 Software F6h
143. ofile parameters see Translation of Signal Numbers on page 145 Signal No Main Unit SC Acyclic Cyclic Signal Type dia EOS Offset Signal No Data Data Offset Exchange Exchange Parameter Oh 54Fh 0 1359d 5096d 5096d 6455d Yes No Monitor Data 000h 3FFh Od 1023d 9192d 9192d 10215d es Yes Option Board 400h 411h 1024d 1041d 13288d 14312d 14329d Yes Yes no de 412h 1042d 132884 1143304 Yes No A15h 41Ch2 1045d 1052d 14333d 14340d 15336d2 16378d Yes Yes 16381d 16388d 413h 414h 1043d 1044d 13288d 14331d 14332d Yes No 41Dh 431h 1053d 1073d 13288d 14341d 14361d es Yes no 1 Some of these parameters can be mapped for cyclic data exchange see Translation of Signal Num bers on page 145 2 These parameters can either be accessed as acyclic data as an array with offset 13288d or can each entry in the array be mapped as a separate parameter with offset 15336d as acyclic and or cyclic data A8NDPV1 PROFIBUS Option Board 125 Inverter parameters Acyclic Data Exchange Data Exchange 7 2 Inverter parameters Acyclic Data Exchange Inverter parameters are available only via acyclic communication They cannot be used in cyclic data exchange for example it is not possible to map them as parameters for telegram 102 The offset used for inverter parameters is 5096 i e inverter parameter no 1 maximum frequency shall be addressed as PNU 5097 An e
144. om the select module dropdown select slot 0 Telegram 102 Custom It is now possible to setup the input and outputs of the telegram There are 18 inputs and outputs used in this telegram one of each is reserved for control status word leaving 17 inputs outputs free for custom setup 31 GX Works Q CPU Telegram 102 example 32 Get Started The setup of the telegram is done by entering signal parameter numbers into the right col umn All monitor data can be viewed as input and some of the profile parameters as input output Please keep in mind that not all parameters can be accessed via cyclic communica tion The PROFIdrive parameter numbers PNUs available for use are listed in the Data Ex change subchapters 7 1to 7 4 An example setup is provided Slot Description PNU Output PZD 2 Speed set point 14317 Input PZD 2 Actual speed set point 14319 Input PZD 3 Output frequency 9193 Input PZD 4 Output voltage 9195 Input PZD 5 Actual operation time 9215 DP Slave Parameters Wizard Slave User Parameters Select module Module Parameters PNU in Output PZD 2 PNU in Output PZD 3 PNU in Output PZD 4 PNU in Output PZD 5 PNU in Output PZD 6 PNU in Output PZD 7 PNU in Output PZD 8 PNU in Output PZD 9 PNU in Output PZD 10 PNU in Output PZD 11 PNU in Output P7D 12 PNU in Output PZD 13 PNU in Output P7D 14 PNU in Output PZD 15 PNU in Output P7D 16 PNU in Output PZD 17 PNU in Output P7D 18 PNU i
145. onfiguration was loaded successfully Project saved under DiProfidrivelProfibus Telegram 102_2 Profibus Telegram 102_2 3p12 Date Time 9 23 2013 11 21 30 AM 9 23 2013 11 21 35 AM 9 23 2013 11 23 55 AM 9 23 2013 11 23 55 AM 9 23 2013 11 24 02 AM 9123 2013 11 24 03 AM 9 23 2013 11 24 03 AM 9 23 2013 11 24 06 AM 9 23 2013 11 23 55 AM 9 23 2013 11 24 06 AM 9 23 2013 11 24 06 AM 9 23 2013 11 24 23 AM Information v Project saved under DAProfidrivelProfib Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 102 example 3 After double clicking on the telegram setup the input and outputs of the telegram There are 18 inputs and outputs used in this telegram one of each is reserved for control status word leaving 17 inputs outputs free for custom setup The setup of the telegram is done by entering signal parameter numbers into the right col umn All monitor data can be viewed as input and some of the profile parameters as input output Please keep in mind that not all parameters can be accessed via cyclic communica tion The PROFIdrive parameter numbers PNUs available for use are listed in the Data Ex change subchapters 7 1to 7 4 An example setup is provided below Slot Output PZD 2 Description Speed set point PNU 14317 Input PZD 2 Actual speed set point 14319 Input PZD 3 Output frequency 9193 Input PZD 4 Output voltage 9195 Input PZD 5
146. onse from PAP NW response not vailabl yet available r Parameter Response Read parameter response from PAP f F i H V Parameter Response 136 Doc Id HMSI 216 127 Doc Rev 1 00 Data Exchange 7 7 1 7 7 2 A8NDPV1 PROFIBUS Option Board Explanation of fields used in requests Acyclic Data Exchange This table explains the fields used in various sequences Words sent in requests should have their most significant byte transmitted first Big endian encoding This is also the format in which in coming words will be transmitted Field Data Type Values Comment Request reference Unsigned8 0x01 OxFF Request ID Unsigned8 0x01 Request parameter 0x02 Change parameter Response ID Unsigned8 0x01 Request parameter 0x02 Change parameter 0x81 Request parameter 0x82 Change parameter Axis DO ID Unsigned8 0x01 No of Parameters Unsigned8 0x01 0x27 Quantity Attribute Unsigned8 0x10 Value 0x20 Description 0x30 Text No of elements Unsigned8 0x01 OxEA Quantity Parameter number Unsigned16 0x0001 OxFFFF Subindex Unsigned16 0x0001 OxFFFF Format Unsigned8 0x01 0x36 Data types See data format type 0x40 0x44 Data types table No of values Unsigned8 0x00 OxEA Quantity Error number Unsigned16 0x0000 OxOOFF Error numbers See error table Data format type table Data type Value BOOLEAN 0x01 INTEGER8
147. or has parts missing e Do not stand or rest heavy objects on the equipment e Check that the mounting orientation is correct e Prevent conductive items such as screws and metal fragments or flammable substances such as oil from entering the inverter Trial run d D e To prevent unexpected equipment movement confirm and adjust all required parameters prior to starting operation Usage e Do not modify the equipment e Do not remove any inverter or option parts unless specifically instructed to do so in this manual e Performing a parameter clear or all parameter clear will reset all inverter parameters to their factory default settings After performing one of these operations remember to reenter any custom parame ter values prior to starting operation e To prevent damage from electric discharge always touch a grounded piece of metal prior to touching any equipment Maintenance inspection and parts replacement AN CAUTION e Do not perform hi pot tests on the equipment Disposal e Contact the local or state environmental agency in your area for details on the disposal of electrical components and packaging General instruction For clarity purposes illustrations in this manual man be drawn with covers or safety guards re moved Ensure all covers and safety guards are properly installed prior to starting operation Doc Id HMSI 216 127 Doc Rev 1 00 Table of Contents Table of
148. ple to change parameter 15 Jog frequency add the offset 5096 and write the result to this variable Set variable requestParameterValue to the requested value The value that will be set will be the output of multiplication of the set value and the minimum setting increments as according to the parameter list in the inverter manual For parameter 15 the minimum setting increment is 0 01Hz If a jog frequency of 5Hz is requested set requestParameterValue to 500 Fi nally execute the request by setting bit requestParameter to ON A successful write will result in setting of the parameterWriteSuccess bit POU_01 request Parameter POU_01 requestParameterNo POU_01 request Parameter Value POU_01 parameterWrteSuccess POU_01 parameterWnteFail POU_01 parameterWrite ErorCode VAR VAR VAR VAR VAR VAR Ce MO MXDO Mi GC M8183 MX0 8183 D11755 MW0 11755 D11751 22M0 11751 M8180 MX0 8180 M8179 MX0 8179 D11748 MWO0 11748 Test receiving a negative response by trying to write an out of range value After trying to write OXFFFF as the value of parameter 15 a negative response with error code 0x02 LOW_OR_HIGH_LIMIT_EXCEEDED will be received which is the expected behavior Watch 1 MO M1 Bit POU_01 requestParameter Bit POU_01 requestParameterWNo Word Signed POU_01 requestParameterValue Word Signed POU_01 parameterWriteFail POU_01 parameterWriteErorCode Word Signed A8NDPV1 PROFIBUS Opt
149. pment The information in this document is subject to change without notice and should not be considered as a commitment by HMS Industrial Net works AB HMS Industrial Networks AB assumes no responsibility for any errors that may appear in this document There are many applications of this product Those responsible for the use of this device must en sure that all the necessary steps have been taken to verify that the applications meet all perfor mance and safety requirements including any applicable laws regulations codes and standards HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that may arise as a result from the use of undocumented features timing or functional side effects found outside the documented scope of this product The effects caused by any di rect or indirect use of such aspects of the product are undefined and may include e g compati bility issues and stability issues The examples and illustrations in this document are included solely for illustrative purposes Be cause of the many variables and requirements associated with any particular implementation HMS Industrial Networks AB cannot assume responsibility for actual use based on these exam ples and illustrations Intellectual Property Rights HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product described in this document These intellectual property
150. point A NSOLL_A The output frequency set by NSOLL_A is calculated relative to the rated frequency parameter in verter parameter no 3 NSOLL_A 0x4000 f output frequency HZ f motor rated frequency Hz Speed actual value A NIST_A Speed actual value A is calculated in the same way as NSOLL_A A8NDPV1 PROFIBUS Option Board 133 Process Data Cyclic Data Exchange 7 6 3 Note 134 Data Exchange Telegram Types The Option Board supports PROFldrive Standard Telegram 1 If additional parameters are to be mapped to process data one of the additional product specific telegrams 100 103 must be used depending on the size of the data in question Telegram Description Size words 1 Standard Telegram 1 2 100 Telegram 100 Torque control 2 101 Telegram 101 Position control 10 102 Telegram 102 Custom 18 103 Telegram 103 Custom 32 The user specifies which telegram to use when configuring the option board Only one telegram module can be used at a time Setpoint Telegram Setpoint telegrams are used for data from the master to the main unit Depending on control mode the contents of the telegram may differ see table below for configuration Telegram IO DATA PROFIdrive Read Process Data Main unit Word Signal Octet Process data Parameter Speed Control SC IO DATA 1 1 STW1 0 1 DriveControl 0402h Torque Control TC Position Control PC
151. ption Board 145 Appendix A Translation of Signal Numbers 146 Doc Id HMSI 216 127 Doc Rev 1 00 Index Index A L Actual device address Parameter 1306 KK ER GE iter CN 13 Acyclic Data Exchange 136 EOL ass 13 Module status 13 c Network StU Ae ed 13 Communication settings ooooo 119 M Components OVEIVIEW pb Ai O Monitor Dala ge See deu ENEE 126 Control Word TW anida 133 i D Network Connector ooooooooommmmmmmmmmo 12 RER ee G EE 125 Node address Parameter 1305 118 Drive Profile Parameters 125 MONOD a sosa en 125 O Parameter oral e 125 Device address Parameter1305 118 Overview Drive Profile Parameters ooooooooo 129 COMPONENTS cc cece eee eee eees 6 DAVE Reset sica 130 P E Parameters Environment 1300 General Settings 118 Specifications ooooooooommmmommm o o 7 1305 Device address node address 118 1306 Actual device address node address 118 G 1307 Option board settings priority 119 ODUOMDOaIG WEE 117 General Settings Parameter 1300 He Process Datansio lara ten dades 132 General State Diagram oooooooooooo 131 PROFldrive Parameters onununnnnnennen 129 GX Works FX CPU Acyclic communication 82 S Telegra RENE 65 Telegram EEN TE SIMATICSTEPZ oasis 111 GX Works Q CPU Speci
152. put PZD 10 PNU in Input PZD 11 PNU in Input PZD 12 PNU in Input P7D 13 PNU in Input P7D 14 PNU in Input P7D 15 PNU in Input P7D 16 PNU in Input PZD 17 PNU in Input PZD 18 PNU in Input PZD 8 0 65535 Cancel D Telegram 102 Custom SS S S El E E 8 8 4 e El S S S amp S S S S El Gil aal S S Sai S amp Back Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Telegram 102 example 6 Click Next and Finish to proceed Complete the POU Generation and rename the global labels inside the library like before Rebuild the project and write it to the PLC The additional mon itor data can be viewed in the appropriate position of the A800_In array Device Label A800_In Word Unsigned Bit String 16 bit 18 VAR_GLOB 0 33591 Word Unsigned Bit String 16 bit D1000 MW0 1000 1 1153 Word Unsigned Bit String 16 bit D1001 7 MV0 1001 2 0 Word Unsigned Bit String 16 bit D1002 MW0 1002 3 3149 Word Unsigned Bit String 16 bit D1003 MW0 1003 4 26 Word Unsigned Bit String 16 bit D1004 7 MW0 1004 5 0 Word Unsigned Bit String 16 bit D1005 MW0 1005 6 0 Word Unsigned Bit String 16 bit D1006 MW0 1006 7 0 Word Unsigned Bit String 16 bit D1007 MW0 1007 8 0 Word Unsigned Bit String 16 bit D1008 MW0 1008 9 0 Word Unsigned Bit String 16 bit D1009 MW0 1009 A8NDPV1 PROFIBUS Option Board 81 GX Works FX CPU Acyclic communication example Get Started 3 12
153. rDetails Int Add news Profibus Acyclic Write PLC_1 CPU 315 2 PN DP Program blocks Offset Start value DO 0 0 05 1 0 02 20 1 3 0 1 4 0 164710 5 0 16 0 6 0 o 6 0 0 10 0 16406 11 0 1601 120 0 14 0 0 0 1670 1 0 1670 20 16 0 3 0 16 0 40 1670 5 0 16 0 6 0 0 BO 0 k DB DB1 Retain Visible in Setpoint p0d00000000 000005000 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started Creating the request TIA Portal Acyclic communication example Modify the ladder network initiating the sequence to set the value of field SetValue in the RequestRecord structure This is the value that will be written to the requested PNU v Network 4 Start parameter request M02 ParameterReque st MOVE EN ENO 1 IN MWZ OUTI state MOVE EN ENO 0 IN YMWI4 OUT readValue MOVE EN ENO 0 IN IMWZO oun readError MO 2 ParameterReque MOVE MOVE st EN ENO EN ENO R H ana DB 1 DBW6 az YDB 1 DBW12 requestedPNU IN DB writeValue IN Dee RequestRecord RequestRecord oun PNU oU SetValue DB2 DBX0 0 MOVE MOVE WRREC_DB REQ EN ENO EN ENO 5 ka 0 IN 4MD10 0 IN IMDA OUTI readStatus OUTI writeStatus MOVE EN ENO A 0 IN MVE OUTI readLen A8NDPV1 PROFIBUS Option Board Modify the network responsible for processing ofthe read request response A positive response will have ID 0x02 w
154. rameter response negative Byte no Field 0 Request ID 1 Request reference 2 No of parameters 3 DO ID 4 No of values 5 Format 6 7 Error value 140 Doc ld HMSI 216 127 Doc Rev 1 00 Diagnostics 8 Diagnostics Conversion of diagnostic fault codes Main Unit Main Unit Main Unit PROF Idrive Fault PROFIdrive Fault Fault Code Fault Name Description Code 10h E OC1 OC During Acc Motor Overload 08 11h E OC2 Steady spd OC Motor Overload 08 12h E OC3 OC During Dec Motor Overload 08 20h E OV1 OV During Acc DC Link Overvoltage 04 21h E OV2 Steady spd OV DC Link Overvoltage 04 22h E OV3 OV During Dec DC Link Overvoltage 04 30h E THT Inv Ovrload Overtemperature Electronic 06 Device 31h E THM Motor Ovrload Motor Overload 08 40h E FIN H Sink O Temp Overtemperature Electronic 06 Device 50h E IPF Inst Pwr Loss Mains Supply 02 52h E ILF Input phase loss Mains Supply 02 60h E OLT Stall Prev STP Motor Overload 08 70h E BE Br Cct Fault Brake Resistor 14 80h E GF Ground Fault Earth Ground Fault 07 81h E LF Output phase loss Power Electronics 05 90h E OHT OH Fault Motor Overload 08 91h E PTC PTC Activated External 16 AOh E OPT Option fault Engineering 18 Ath E OP1 Option1 fault Internal Communication 12 A2h E OP2 Option2 fault Internal Communication 12 A3h E OP3 Option3 fault Internal Communication 12 BOh E PE Corrupt memory Micr
155. ray by executing sequence 3 This requires only changing byte no 4 of the request No of values to the amount of array values wanted The response will contain additional parameter values added to the end of the response data Creating the request For this example all 5 array elements of PNU 964 Device identification will be requested Modify the parameter request as described above Request an acyclic parameter read 2 a SY Ass a a E PLS e e e e e Tc a m S m m Zz m A EE E a eo eee gt eee Request ID 0x01 parameter read da Requestreference 0x05 eat PE eee No of parameters 0x01 IL MOVE E DO ID 0x01 first axis No of elements 0x05 E Iw Iw e e wi ww e e e e wi ww wi ew we E wie wi ae a MOVE E gt gt e gt A gt e e Attribute SE E 0x10 value_attribute Be este eo es She Se a a a O O A EN ENO oe cues es Ses ns Sec a See ae a ce cee Gee ee requestParameterNoBS 8 RR RR TR cae are Se es e MOVE_E H H Byte swapped PNU H H H H H H E See Ge E ee Ge ee e e EN ENO HEARTS A IA a A E E EE EE EE E EE SE E E requestParameterNoBS _IN DataT oWrite 3 se Stel ue fy Oly TL iy My Se Ow oe a E E A8NDPV1 PROFIBUS Option Board 37 GX Works Q CPU Acyclic communication example 38 Reading the response Get Started Modify the code reading the response data to read all 5 elements and by
156. rd 43 GX Works Q CPU Simple Ladder Telegram 1 example Get Started 5 First setup the Profibus Master Double click on the master module in the screenshot visible as I O no 0x0 FDL 0 QJ71PB92V This will bring up the Master Parameters Wizard F MELSOFT Series GX Works2 Untitled Project 0000 Q 71PB92V Parameter Pola ls Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help x DBAS o BARRA AR Aaa ee a EE y a ABE arl O eth Parameter BE Navigation ZS 4 PRG Write MAIN 1 Step 0000 QJ71PB92V Parame X dE e Le PROFIBUS Configurator Tasks 3 Soba GSD data n ees 2 G NN A GPF vo no 0x0 FDLO Q 71PB92V E GSD Database 4 2 Parameter Setup Tasks E a Intelligent Function Module Master Settings WW Add slaves via Drag amp Drop from GSD device tree O General ee fo GSD Device Database a 23 Dri G Parameter VO Mapper rives QY Global Device Comment Pe 4 7 DP Master Parameters Wizard Master Settings EL Devices for Slave Specific Transfer Switches H Program Setting g Pou Ki vo 3 3 Program Export Tasks Name PROFIBUS Master W MAIN gt Baudrate 1 5 Mbps sl Bus Parameters Gr Valves Za Local Device Comment Configuration Image po y E a Device Memory Project in GX Configurator DP Format pia d Wo
157. refer to A800 manual A8NDPV1 PROFIBUS Option Board 15 GX Works Q CPU Telegram 1 example Get Started 3 4 16 GX Works Q CPU Telegram 1 example This chapter describes running the inverter through the A8BNDPV1 Profibus option card using GX Works 2 with a OCPU and QJ71PB92V Profibus Master GX Configurator DP 7 10L or newer is required to perform the setup CO Start with a new project 2 Select Project type Structured project PLC Series QCPU Q mode PLC type select the cpu Language Structured Ladder FBD Structured Project ae IM Use Label PLC Series ocru Q mode PLC Type Opener Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example 3 Add a new Intelligent Function Module from the menu on the left right click and select new Project Edit Find Replace comme Vee chee Deny eae lod W wee E E m e a oi e E EA ei PO mo os LO W Do J e ERA AAA JO St oe pe ATE ALE D AR gt lt gt 2 h Local Label Setting POU_01 PRG d r Parameter H 1 a Ts ju Intelligent Function Mode AQ Global Device Comment seem Mone H Global Label Intelligent Function Module Parameter List Sa Program Setting Read GX Configurator QP Data Pou G Program Property Ef POU_OL fi Prog oul Local Label 8 FB FUN e 83 Structured Data Types y Local Device Comment H Device Memory be Devi
158. rial Networks E fue Common data ig ASNDPV1 d EJ Documentation settings i EES a i Languages amp resources a d Online access tandard Telegram BR Card Reader USB memory H Telegram 100 Torque Co E Telegram 101 Position C Ii telegram 102 Custom H Telegram 103 Custom ig Encoders gt Ca Gateways lv i General v Details view Eal D pa ip Ident systems AN Bees 12 Properties H Info alu Diagnostics General 10 tags Texts General i Name DP Mastersystern a d Number 1 e lt T H E gt Information Portal vie ETJ Overview dh Devices amp ne SC sted a _ SN 92 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started TIA Portal Telegram 1 example Double click on the slave to enter device view From the hardware catalog expand Other field devices gt Profibus DP gt Drives gt HMS Industrial Networks gt A8NDPV1 and drag Stand ard Telegram 1 to the available slot YA Siemens Profibus Telegram 1 BCE Project Edit View Insert Online Ses Tools Window Help Totally Integrated Automation E sweproject SK le KX EE TS EG BR Y coonline BM coottine Aa NM ze 2 1 PORTAL Profibus Telegram 1 PLC_1 CPU 315 2 PN DP Distributed I O gt DP Mastersystem 1 PROFIBUS_1 gt Slave_1 aax MA Devices E Topology view h Network view BY Device view 4 OO a E 6 Qs 100 v Catalog
159. ribute 6 7 Parameter number Byte swapped PNU Request reference is any valid number this value is mirrored back in the response and can be used to distinguish multiple requests The parameter number needs to be byte swapped the SWAP instruction can be used to swap the lower and higher byte of a word In the code below requestParameterNo contains the unswapped parameter number while re questParameterNoBS contains the byte swapped version The content of the parameter re quest DataToWrite and the request to perform it StartWrite are shown in the screenshot below Request an acyclic parameter read Sa a Esa requestParameter EN ENO Re A o a RST A E ata a LS Aa A ss d m ss ek ee wom ay ea a a Bee Ge eM Ge R oa a ia a 2 2 oe Se BS ee SS BS Soe ee Oe Oe oR sw eS a eS I a os 4 os d f requestParameter E E E E A i i A A A we E E r A SET H D D D D D D D D D D DO E DA A A A A a A O a ce EN ENO PI E e E e e e e e i e bk E e e e ME te Ze d LS tartW rite E E E a a Sm Sie ee ee ee o RequestID Ox01 parameterready o aaa eros ee ee hee enn neaen rae bee EN mee Request reference 0x05 ay Ree ele Se ee eS DE E EE ET EE A A EA A Or we E 1640105 _IN DataT oWrite 0 bo e e e A A A SA 3 A E O h e a e om oea ome a oa ao a a ea o Daas EIA A EEGEN MOVE_E H H H H E S z D D D D oe oki a oa e a aa eoi Be Boe S
160. rights may include patents and pending patent applications in the US and other countries Trademark Acknowledgements Anybus is a registered trademark of HMS Industrial Networks AB All other trademarks are the property of their respective holders A8NDPV1 PROFIBUS Option Board AN CAUTION e This is a class A product In a domestic environment this product may cause radio interfer ence in which case the user may be required to take adequate measures e ESD Note This product contains ESD Electrostatic Discharge sensitive parts that may be damaged if ESD control procedures are not followed Static control precautions are required when han dling the product Failure to observe this may cause damage to the product A8NDPV1 PROFIBUS Option Board User Manual Rev 1 00 Copyright HMS Industrial Networks AB March 2014 Doc Id HMSI 216 127 Doc Id HMSI 216 127 Doc Rev 1 00 Thank you for choosing this Mitsubishi Inverter plug in option for the Mitsubishi FR A800 Series Inverter This Instruction Manual gives handling information and precautions for use of this equipment Incorrect handling may cause an unexpected failure or damage In order to ensure optimal performance please read this manual carefully prior to use of the equipment Please forward this manual to the end user of the equipment This section is specifically about safety matters Do not attempt to install operate maintain or inspect this product until you have
161. rmat Import Tasks Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP Dev ER GBF vo no 00 FDL 0 Qu71PB92V E g FOLI MyA840Inverter ABNDPV1 VO size 4 4 byte s Slot 0 Standard Telegram 1 PROFIBUS Master 15 Mbps z _Bus Parameters FDL address p 10 125 Starting 1 0 number ooo 0x0 NEE Error action flag I Goto Clear State Min slave interval I Calculatetime 61 1 65535 Y Use Min slave interval for Target Token Rotation Time Ttr Polling timeout 50 1 65535 a 1 65025 6 074 ms IV Slave watchdog Calculate time Estimated bus cycle time 100 ps lm 10ms o p 65535 Watchdog for time sync 10ms se le 8X T GSD Database O General E Drives 3 TA FR ASNPA El Aa FAE Ag FR ESNP pe Ei Switches 7 It is possible to change the Baudrate FDL address and other settings as needed For this tuto rial these settings will not be changed Click Next to proceed 18 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Telegram 1 example On this screen the buffer devices and data transfer between Profibus Master and CPU can be changed Forthis tutorial use AutoRefresh with Consiste
162. rofibus Telegram 1 created ie CD Is th 10 15 23 09 2013 YA Siemens Profibus Telegram 1 Project Edit View Insert Online Options Tools Window Help Totally integrated Automation oF Y Ej save project 3 X EEX 0 14 Ha eG D amp Goonline Y Go offline de R Rix 4 PORTAL Profib elegra De es amp netwo Devices E Topology view E Network view f Device view Options Ela 8 P nn hen 4 OC Y ire Network f Connections HMI_connectio E H erla E p i E F D Master system PLC_1 DP Mastersystem 1 iv Catalog 5 v Profibus Telegram 1 ing eat i Add new device Ari i ter a Devices networks SE Se SETA Ee sl v jj PLC_1 CPU 315 2 PN DP y a DP NORM La Controllers KI Dr Device configuration EEES 2 gt HM Y Online amp diagnostics un gt d PC systems Q gt Drives amp starters lo Kei Program blocks N e PLC_1 DP M 1 E gt E Technology objects cs ES pla LU Ca Network components F External source files ba Detecting amp Monitoring gt Distributed lO H gt Ca PLC tags S gt Li PLC data types jp Field devices D la Watch and force tables I Other field devices fg Online backups ii Additional Ethernet devices RW Sl Program info xi PROFINETIO 3 x EA PLC alarms do bo DP 5 Si i v Ug Drives Z Text lists La Local modules ir Siemens Re LI gt La Distributed I O v if HMS Indust
163. rted GX Works FX CPU Telegram 1 example 3 10 GX Works FX CPU Telegram 1 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 version 1 501X or newer with a FXCPU and FX3U 64DP M Profibus Master GX Con figurator DP 7 10L or newer is required to perform the setup CO Start with a new project Select Series FXCPU PLC type Select the cpu Project type Structured project Language Structured Ladder FBD 2 Add anew Special Module Intelligent Function Module from the menu on the left right click and select new iif MELSOFT Series GX Works2 Untitled Project POU_01 PRG Program Structured Ladder FBD 00 Project Edit Find Replace Compile View nline Debug Diagnostics Tool Window Help DERA S o vole G6 ee AMARA AA AAA E sme HEEE da Dd CEN ih Local Project IS i eil ER 1 Parameter EA special M Global Del r New Module sf DG Program Semm a Pou Af Program POU 0 UE Sg Structured Data Types i IS Local Device Comment H A Device Memory A8NDPV1 PROFIBUS Option Board 65 GX Works FX CPU Telegram 1 example Get Started 3 In the new window click Module Type and select PROFIBUS DP Module Module Name should be set to FX3U 64DP M Save this setting by clicking OK Mount Position Module No The special module of FX series i
164. ructions 1 4 Unpacking and Product Confirmation 1 4 1 Shipment Confirmation Check the enclosed items Confirm that the correct quantity of each item was received and that no damage occurred during shipment 1 4 2 Component Overview Included in the package are the following items Item No of pcs PCB board 1 M x 6mm screw 3 Board spacer 2 LED cover 1 Note this picture only shows the A8NDPV1 label not the Network Status cover PIRIOIF I Module Status BJU S PE plate 1 6 Doc Id HMSI 216 127 Doc Rev 1 00 Pre Operation Instructions Environmental Specifications 1 5 Environmental Specifications Item Operating Temperature Specification 10 to 50 Celsius ambient of the drive non freezing Storage Temperature 40 to 65 Celsius Relative Humidity 93 non condensing Vibration Max acceleration amplitude 10 m s at 9 200 Hz Max displacement amplitude 3 mm at 2 9 Hz Grounding Connected to inverter frame ground through the PE plate isolated from inverter control power common Power Supply Supplied from inverter Cooling Method Communication Speed Self cooled Up to 12 Mbit The A8NPDPV1 interface is lead free ROHS compliant A8NDPV1 PROFIBUS Option Board Environmental Specifications Pre Operation Instructions 8 Doc Id HMSI 216 127 Doc Rev 1 00 Installation 2 2 1 Pre installation Instructions Installat
165. s Ss 13 Unassigned devices X por Industrial Networks z A8NDPV1 LU Common data E EJ Documentation settings gt Languages amp resources ld gt ha Online access tandard Telegram LU E Card ReaderiUSB memory ia Se een SS elegram osition C a Telegram 102 Custom H Telegram 103 Custom a Encoders LU E Gateways gt E General Ca Ident systems Do asempiey E Online amp diagnostics Lei Program blocks Technology objects External source files 5 00 uijuo ss sauesqr E v Details view EI Properties ISS info al amp Diagnostics General No properties available No properties can be shown at the moment There is either no object selected or the selected object does not have any displayable properties lt Information v Project Profibus Telegram 1 created A8NDPV1 PROFIBUS Option Board 91 TIA Portal Telegram 1 example Get Started 7 Drag a line from the slave connection node to the PLC connection node to make the PROFIB US connection YA Siemens Profibus Telegram 1 gt 4 Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation El sove projet A N aX 0202 A Sh EG BF coonline gd coottiine Ae BIR I PORTAL Profibus Telegram 1 Devices networks Topology view EI Network view BY Device view Devices OCH Y ire Network f Conn
166. s also possible to set the desired rotation frequency Assuming the motor Start operation 43 M1 EE is rated for 50 Hz inverter parameter 3 and a frequency of 10 Hz is requested set 20 of the rated motor speed to achieve this frequency The value in Profidrive to allow full power is 16384 so setting 20 of this value 3276 8 round to 3277 will give the expected result This value shall be set in NSOLL_A D2001 Add the following ladder block to enable rotation command after initialization and giving ro tation command M1 D1000 0 i000 y D2000 3 gt D2000 A MOV K3277 Don Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 1 example Finally add the code to stop the drive when M1 is reset Check whether the first 3 bits of ZSW1 are ON This condition means that the drive is in operation mode If this condition is met and M1 is not ON reset the set point speed to zero and set STW1 as 6 Stop operation M1 D1000 0 D1000 1 D1000 2 60 7 Compile and write the program and parameters to the PLC Be sure to select the intelligent function module like on the screenshot below Online Data Operation en Becton TagetDaia Yee Select All Cancel All Selections Module Name Detail Setting Item Name Valid Target Detail Module Overview e PROFIBUS DP Module Model Name Q371P892v Start XY 0000 Parame
167. s displayed as an intelligent function module in GX Works2 4 The Profibus DP module should be inserted into the Intelligent Function Module tree Expand it and double click on Parameter This should open the Profibus Configurator nn ee Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help A Xx IDEBA SO Bega AREA ESE IN ETS Pl US Ci urator T i Slot 0x0 FDL 0 FX3U 64DP M z n Parameter Setup Tasks Special Module Intelligent Function Module Eh 9 FX3U 64DP M ie Parameter Master Seltings O Add slaves via Drag8Drop from GSD device tree j GSD Device Database Q Global Device Comment y vo e x o EI Global Label Devices for Slave Specific Transfer Program Setting ei POU Export Tasks B Program 4 POU_01 Ft POU Generation ff Program Configuration Image Local Label Project in GX Configurator DP Format FB FUN 83 Structured Data Types B Local Device Comment ps B Device Memory Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP bal Online Status not connected English Structured FX3U FX3UC Host Insert CAP NUM 66 Doc Id HMSI 216 127
168. s established and initialization command is given MO O v Network 1 w If Bit 6 of ZSW1 is ON Switching on inhibited AND Initialize Command is given M0 0 move 2 110 to STW1 No Quick Stop Enabled and No coast stop enabled 41 6 SwitchingOninhi MO 0 bited Initialize MOVE ml Lin EN ENO zc 2110 IN SO oun sTw1 3 This initialization will result in setting bit 0 in ZSW1 Ready To Switch On It is now possible to switch on the inverter and start operation To do this enable bits 0 ON Off 3 enable oper ation and 10 Control By PLC while leaving bits 1 and 2 enabled At this moment it is also possible to set the desired rotation frequency Assuming the motor is rated for 50 Hz inverter parameter 3 and a frequency of 10 Hz is requested set 20 of the rated motor speed to achieve this frequency The value in Profidrive to allow full power is 16384 so setting 20 of this value 3276 8 round to 3277 will give the expected result This value shall be set in NSOLL_A Add the following ladder block to enable rotation command after initialization and giving ro tation command MO 1 v Network 2 w If Bit 0 of ZSW1 is ON Ready to switch on AND rotation command is given MO 1 turn on bits O 3 8 10 of STW1 Also set motor speed to 20 rated speed 41 0 MO 1 ReadyToSwitchO RotationComma 01 0 n nd Onoff c 2013 200 2 ControlByPLC s EN ENO A
169. t below Prepare an acyclic parameter read e e e e e e PLS e e e e e e e e e e e e D e requestParameter EN ENO ro os a ys E a EE ek ee a E i EN ENO EN ENO So ver we oe ae Ae ae n A E E E d requestParameter Gage lt soe 5 ee ee E ee emm Request D 0x01 parameter read L EN ENO o ETT o 0 5 d ReadRequestError EN ENO ee REES 160105 IN DataT oWrite 0 MOV e wv e ew e e e e nx e nx e e e e e e e e No of parameters 0x01 O M MOVEE e A 0 s WriteRequestError EN ENO ee 160101 UN DataT oWrite 1 WEN ENEE EE S Bees OS ane E NN edel Attribute value 0x10 value_attribute DN ee 160010 _IN DataT oWrite 2 EN ENO Le Se wer we te er en wr pe eC Swe tes EE EENEG EE ey en g dE ca lt RES E ee E E RE ee E RE E be e NL o Requested PNU e a O EENEG requestParameterNo MIN requestParameterNoBS e o e o e SWAP e e e MOVE_E e e e k d Byte swapped PNU A EN ENO recjuestParameterNoBS requestParameterNoBS MIN DataToWrite 3 82 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works FX CPU Acyclic communication example Proceed to issue the actual request by setting the appropriate BFMs Set the slave address slot number
170. target index length of data and transfer the data of the request that was prepared above Finally set the acyclic write request flag BFM 4510 Send acyclic request write Be Slave address slot no index data lengh 0 e e we amp E A u 0 Ww Je e W a os TO 5 3 TO S 3 S TO S P e TO P S om we en Be StartWrite EN ENO EN ENO EN ENO EE ew Da A LE E CA K _ A A A S Ki H K47 s S K16 Ss 5 S S A A e Fi oe ee oe ee ee KO nl ss KO E KO ni K0 ni dE TETERA K5760 n2 veer K5762 n2 K5763 n2 dee Be a ee e Rw Se EY OS Ki n3 o KI K1 n3 Ki n3 ae oe Go A A Send acyclic write AA a See aoe e Data request O e e gt e o o o e gt TO e e e e e e e e TO e e e e e e e RST e e e e e e e e SET e e e e e e e e e e SORES e ases LEN ENO EN ENO EN ENO EE E E DataT oWrite 0 5 rer Misch dE di StarWrite WriteResponse ow ow We we ds Me wo w er an K0 ni e S K0 ni i g S 5 r r a a a e n E S E S r a r e A A S E E Sw K5764 n2 K4510 n2 5 S gt A S a S a S r S s S e e e S gt e S e S A A e 2s 65 a asa as 2 e e K4 n3 Ki n3 n E s p E A 6 E E s s n i n A Receiving the response
171. tch On It is now possible to switch on the inverter and start operation To do this enable bits 0 ON Off 3 enable oper ation and 10 Control By PLC of STW1 while leaving bits 1 and 2 enabled At this moment it is also possible to set the desired rotation frequency Assuming the motor is rated for 50 Hz inverter parameter 3 and a frequency of 10 Hz is requested set 20 of the rated motor speed to achieve this frequency The value in Profidrive to allow full power is 16384 so setting 20 of this value 3276 8 round to 3277 will give the expected result This value shall be setin NSOLL_A Add the following ladder block to enable rotation command after initialization and giving ro tation command M1 FBItO of ZSW 1 is ON Ready To Switch On AND Rotation Command is given M1 Set Bits 0 ON 3 Enable Operation and 10 Control By PLC in STWT set 20 rated motor speed 1 EN ENO EENEG AND WE P AS00 _In 0 5 d EN NO KO ii M1 2 10000001111 _IN d am HE MOVE_E 5 EN ENO me K3277 IN d am o Finally add the code to stop the drive when M1 is reset In a new ladder block check whether the first 3 bits of ZSW1 are ON This condition means that the drive is in operation mode If this condition is met and M1 is not ON reset the set point speed to zero and set STW1 as 6 FZSW bits 0 1 and 2 are ON ready to switch on ready to operate operation enabled AND Rotation Command M
172. tch and force ta gt w Online backups Sl Program info EA PLC alarms Z Text lists ig Local modules gt Ca Distributed I O 34 Common data gt E Documentation settings Languages amp resources gt hai Online access E Card ReaderiUSB memory v Details view 54 Technology objects External source files LG Watch and force tables Lei Online backups GR Program info Text lists 4 Portal view Pa _ alen i 9 amp BS Name Initia lize Display format Bool RotationCom EJ IMO 1 Bool emt NSOLL_A WIWO DEC QWO QW2 DEC Monitor value Device information Connection information Alarm display Comment y CPU operator panel A Properties i info NW Diagnostics No devices with problems W Onlin Ta Opera Devicelmodule Message A8NDPV1 PROFIBUS Option Board Details E Slave_1 a Main 0B1 El Force table ES Watch table_1 PLC_1 CPU 315 2 PNIDP _ Error _ RUN _ FORCE MRES Keyswitch Notdefined v Connected to PLC_1 address IP 192 1 sysej ai Bunsey e saueigry E 97 TIA Portal Telegram 102 example Get Started 3 14 TIA Portal Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using Sie mens TIA First perform the setup using telegram 1 O7 Enter the device view of the PROFIBUS option card slave and delete
173. te swap each one An example procedure how to do this is shown below The byte swapped elements will be available in the parameterValueArray Executing example request After executing a request the response data is available in the parameterValueArray variable E POU_01 requestParameter BN POU_01 parameterValueAray H00 Bit __ Word Signed 5 Word Signed Word Signed Word Signed Word Signed Word Signed VAR CO VEA AA M8183 D11745 D11746 D11747 D11748 D11749 MX0 8183 E MW0 11745 7 MWO0 11746 7 MW0 11747 7 MWO0 11748 MW0 11749 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Acyclic communication example 3 6 3 Changing parameters Sequence 2 Creating the request The format of the write request is as follows Byte no Description Value 0 Request ID 0x02 1 Request reference 0x01 0xFF 2 No of parameters 0x01 3 DO ID 0x01 4 No of elements 0x00 5 Attribute value 0x10 value attribute 6 7 Parameter number Byte swapped PNU 8 9 Subindex irrelevant 0x00 10 No of values 0x01 11 Format 0x06 UINTEGER16 for all inverter parameters See data format type table 12 13 Set value Byte swapped set value Modify the ladder block preparing the content of the request Request an acyclic parameter write requestParameter EN EN
174. ted 0 Daia Import System Label Total 0 17 Return to the project section From the MAIN Task select the Program of POU_01 This Pro gram should be blank this is where the example user program will be written Project Edit Find Replace Compile View Online Debug Diagnostics Tool Window Help 8x H gt H P m el fro A ei rr A P EE eA A8NDPV1 PROFIBUS Option Board 25 GX Works Q CPU Telegram 1 example Get Started After powering up the inverter and Profibus master connection will be established Expect to see bit 6 Switching on inhibated set in ZSW1 Below is a simplified state diagram dependent on control word 1 STW1 General State Diagram Power supply ON S1 Switching ON Inhibited ZSW1 bit 6 true 0 1 2 p e false i Wee T WR Standstill OF Coast Stop detected OR AND No Coast Stop OR Quick Stop b Drees A op ee Disable Operation AND No Quick Stop STW1 bit 1 false D STW1 bit 3 false STW1 bit O false AND bit 1 true OR bit 2 false AND bit 2 true E 5 Switching OFF mane 52 Ready for Switching ON ZSW1 bit 0 ae Ge quick stop ZSW1 bit 0 true 1 2 6 p e false a BiG take J gec m uae serene Quick Stop Coast St oast Stop ON OFF Disable Operation e STW1 bit 2 false OR QuickStop rw bitO true STWI bitO false STW1 bit3 false STW1 bit1 false OR bit 2 false S3 Switched ON ZSW1 bit 0 1 true 2 6 p e false Coast Stop
175. ter Settings fo GSD Device Database Es VO Mapper Devices for Slave Specific Transfer Export Tasks Fit POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks Import GX Configurator DP Project Add GSD File Import GSD Database Documentation Project Documentation Documentation of I O Mapping Help Help Topics About GX Configurator DP Online Status not connected PROFIBUS Network my Slot 0x0 FDL 0 FX3U 64DP M E GSD Database O Add slaves e une from GSD device tree Ki General Ki Drives T A8NDPV1 i a FR A5NPA Z FR ATNP ZA FR ESNP Ki Switches CHE vo Ki Valves Ki Controls d Ki HMI Ki Encoder LZ NC RC Ki Gateway ch Ki PLC a Identsystem Ki PA db Project GSD data Global GSD data The Slave Parameters Wizard should be shown Enter a name select 1 for FDL Address and make sure to select Swap I O Bytes in Master All other settings can remain as default Click Next to proceed DP Slave Parameters Wizard Slave Settings Model AGNDPY1 eee a HMS Industrial Networks 1 00 Slave Properties Name FDL Address min T_sdr Group identification number lf Slave is active Ignore AutoClear if Swap LO Bytes in Master A8NDPV1 PROFIBUS Option Board My A amp 40 Inverter ho 10 125 i 1 255 Gpi Tl Gp2 Gp3 Gp4 Gpi
176. ter will be written to fash ROM lt About writing data gt Necessary Setting No Setting Already Set Setifitis nmeeded MoSetting Already Set Ab is Remote Operation Set Clock PLC User Data Write Title Format PLC Clear PLC Memory Arrange PLC Memory Memory After resetting the PLC and powering up the inverter set bits MO and M1 to get the inverter up and running A8NDPV1 PROFIBUS Option Board 49 GX Works Q CPU Simple Ladder Telegram 102 example Get Started 3 8 GX Works Q CPU Simple Ladder Telegram 102 example This chapter describes running the inverter through the A8NDPV1 Profibus option card using GX Works 2 in Simple Ladder mode with a QCPU and QJ71PB92V Profibus Master First perform the setup using telegram 1 O7 Enter the Profibus Configurator and double click on the inverter to bring up the Slave Param eters Wizard Click Next to proceed Local Label Setting POU_01 PRG 44 POU_01 PRG Program Structur gt 0000 QJ71PB92V Parame E QJ71PB92V_0000 Global Label Se db PROFIBUS Configurator Tasks d Global GSD data x O no 0x0 FDL 0 QJ71PB92V E GSD Datab Setup Tasks R CN VOna Q sires Master Settings Dal FDL 1 MyA840Inverter ABNDPV1 I O size 4 4 byte s Ki General jo GSD Device Database Slot 0 Standard Telegram 1 ae O Drives T gt VO Mapper Devices for Slave Specific Transfer Ki
177. utoRefresh i Consistency m PLC code options f Data transter only C User variables e Al DUT Contents of user library start of data transfer global variables for all DUT Cancel Bak Default 44 Doc Id HMSI 216 127 Doc Rev 1 00 Get Started GX Works Q CPU Simple Ladder Telegram 1 example In the Global GSD data section expand drives and search for A8NDPV1 If it is not available right click and select Add GSD File Search for the GSD File on the drive included with this manual afterwards the A8NDPV1 should appear under drives Drag this option to the Profi bus Master like on the screenshot Project Edit Fell EIER Boy oth AE VE 2 Ep MEME 3 z n Parameter a Intelligent Function Module G A 0000 QJ71PB92V gt Parameter Q Global Device Comment e E Global Label zi Sa Program Setting 3 44 Pou Ey Program 8 POU_01 ff Program Local Label FB FUN 83 Structured Data Types O Local Device Comment o A Device Memory a Device Initial Value Find Replace Compile View Online Debug Diagnostics Tool Window Help DBA S o A IA Setup Tasks Master Settings fo GSD Device Database Es VO Mapper Devices for Slave Specific Transfer Export Tasks Ft POU Generation Configuration Image Project in GX Configurator DP Format Import Tasks Import GX Configurator DP Project Ad
178. verter Node addresses can also be set from a master or a configuration tool See the manual or online help for the configuration tool you are using The PNU ident number of the A8NDPV1 PROFIBUS Option Board is 18E0h 2 116 See the product pages at https eu3a mitsubishielectric com Doc ld HMSI 216 127 Doc Rev 1 00 Inverter Settings Inverter Parameters 4 Inverter Settings 4 1 Inverter Parameters The inverter parameters are critical for overall operation of the end to end communication sys tem Some of these parameters must be set to specific values and some may have multiple al lowable settings depending on the desired operation of the overall application It is important to understand the manner in which the parameters will impact successful communications with and control of the inverter The inverter parameters can be changed via the handheld parameter unit or using the setup soft ware MELSOFT FR Configurator The handheld parameter unit is described in the user manual for the FR A800 series 4 2 Option Board Parameters The option board parameters are stored in the inverter At startup they are transferred from the inverter to the option board and can be changed using the parameter unit and the setup soft ware MELSOFT FR Configurator The option board parameters are stored in the main unit At startup they are transferred from the inverter to the option board No dec No
179. work settings 1 Option parameters are used for network settings 8 15 reserved 0 N A 4 3 Operation Mode Setting Please refer to the FR A800 instruction manual for information A8NDPV1 PROFIBUS Option Board 119 Operation Mode Setting Inverter Settings 120 Doc Id HMSI 216 127 Doc Rev 1 00 Identifying Option Board Set Slave Address 5 Identifying Option Board A device on a PROFIBUS network is defined by its node address Valid settings range from 0 125 The node address for an A8BNDPV1 PROFIBUS Option Board is set using the parameter held unit At startup the master will address the option board using this node address 5 1 Set Slave Address The option board supports SSA Set Slave Address which allows a PROFIBUS network master or a configuration tool to set the node address from the network Thus it is possible to scan for slaves via the live list that is available and also change the node addresses This service features a flag referred to as No Add Change which specifies whether or not it is allowed to change the device address from the network again at a later stage If the service is ac cepted the module saves the value of this flag in non volatile memory The only way to restore it again is by entering device address 255 in option parameter 6 and setting option parameter 8 to 1 which will cause a factory default of the Option Board The module will accept new settings received via this service under th
180. xample of reading writing inverter parameters is shown in Reading a parameter Sequence 1 on page 34 All of the inverter parameters are unsigned 16bit integers with the exception of the following Parameter PNU Description Data type 7 5103 Acceleration time 8 5104 Deceleration time 16 5112 Jog acceleration deceleration time 44 5140 Second acceleration deceleration time 110 5206 Third acceleration deceleration time Kee NEE Unsigned 32 bit integer 111 5207 Third deceleration time 264 5360 Power failure deceleration time 1 265 5361 Power failure deceleration time 2 791 5887 Acceleration time in low speed range 792 5888 Deceleration time in low speed range All other All inverter parameters NOT listed in this table Unsigned 16bit integer 7 3 Monitor Data Acyclic and Cyclic Data Exchange This chapter contains a table of monitor data available via both cyclic and acyclic data exchange The values are available as 16 and 32 bit integers To calculate the actual monitor data value the returned integer should be multiplied by the unit specified for that parameter For example if PNU 9193 output frequency is requested and a value of 500 is returned this means that the out put frequency is equal to 5 Hz 500 x 0 01 Hz PNU No Internal No Description Unit Type SS 16 bit 9193 1 Output frequency 0 01 Hz unsigned R 9194 2 Output current 0 01A 0 1A

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書(PDF) - WATCH LOGGER    manuel d`utilisateur  CLIZIA 24 AS - Certificazione Energetica    UVC-XP4DN-HR(-P) Camera User Manual  Koala  RPMWU-RPMSP-LED01  DCS DW-24SS User's Manual  Manuale del Binocolo con registrazione digitale DEV  

Copyright © All rights reserved.
Failed to retrieve file