background image

How to set up an Anybus CC-Link slave module with a Mitsubishi PLC 

 SCM-7032-027  

Rev. 1.02 

 

 

 

 

 

How to set up an Anybus CC-Link slave 

module with a Mitsubishi PLC 

 

 

 

 

 

 

 

 

 

 

www.anybus.com

 

HMS Industrial Networks AB 

  

Page 1 (18) 

 

 

Summary of Contents for Anybus CC-Link Slave

Page 1: ... to set up an Anybus CC Link slave module with a Mitsubishi PLC SCM 7032 027 Rev 1 02 How to set up an Anybus CC Link slave module with a Mitsubishi PLC www anybus com HMS Industrial Networks AB Page 1 18 ...

Page 2: ...8 03 07 Updated layout Thorbjörn Palm More information about the network and products For further information about the Anybus products please consult the HMS webpage www anybus com The latest manuals etcetera can be downloaded from that location The CC Link user organisation has a webpage on the Internet www cc link org Several technical guides are available in or via this page For more informati...

Page 3: ...tworks AB Page 3 18 Contents 1 Applicable Anybus products 4 2 Requirements 4 3 Solution overview 5 4 PLC setup 6 4 1 PLC module setup 6 4 2 CC Link network configuration 7 4 3 PLC handshaking 9 5 Anybus configuration 12 5 1 Parameter settings 12 5 2 X gateway configuration 12 5 3 Communicator configuration 14 6 Testing 17 ...

Page 4: ...pe Version Mitsubishi PLC ver 2 0 and or PLC ver 1 0 Q02CPU n a Mitsubishi Intelli QJ61BT11N n a Power supply 24VDC n a n a GX IEC Developer n a 6 10 Configuration Tool for Anybus Communicator ABC Config Tool 2 27 Configuration cable to Anybus Communicator n a n a Programming cable to the Mitsubishi PLC n a n a Anybus S CC Link Fieldbus Appendix Appendix 1 51 Anybus CC CC Link Network Interface Ap...

Page 5: ...iguration is explained Note This document is valid for all Anybus CC Link products however sections written in italics describe the configuration of a specific product Also the solution for version 1 0 respectively 2 0 is described separately when necessary The contents describe step by step how a configuration is done This document assumes the reader is familiar with industrial communication CC L...

Page 6: ... on Project and then choose new The following window will be visible Figure 2 Configuring the type of PLC Start with choosing the type of PLC In this case a Q02 PLC is used Make sure the correct type of PLC is selected The next step is to configure the modules Double click on the PLC under Parameter and the window below will appear Figure 3 Module configuring Enter the type of PLC Intelli and Inpu...

Page 7: ...2 3 4 Figure 5 Setting the CC Link parameters The PLC is a master unit and the Type n is therefore selected to master The next step is to select the version of CC Link version 1 0 or 2 0 o All connect count p specifies the number of connected stations In this case the number of station is 1 since the Anybus module is the only connected station In the fields Remote input RX and Remote output RY q t...

Page 8: ...esired settings in the scroll down windows The station type is set to Remote device station for both the Communicator and X gateway The field Exclusive station count corresponds to the number of occupied stations In this case 2 stations are used Version 2 0 When using the CC Link version 2 0 the number of Expanded cyclic setting has to be configured In this example double Expanded cyclic setting i...

Page 9: ... in Dec 1 2 3 4 1 10 30 50 70 2 30 50 70 90 Station number 4 70 90 110 130 8 150 170 190 210 Figure 8 Table showing the memory offset for different configurations In this example the station number is 1 and the number of occupied stations is 2 The Input and Output area in the PLC are configured to begin at address 1000 Hex as can be seen in Figure 5 Setting the CC Link parameters The memory offset...

Page 10: ...ng a new PLC program An example of a PLC program can be seen below Comments Program Figure 10 Editing the PLC program The program sends an answer to the Anybus X gateway which returns a Remote ready flag It is important the correct register address is used The address is dependant on the number of occupied stations see the program comments for more details Note In the example in the figure above t...

Page 11: ...cimal format for different configurations Number of occupied stations Q in Dec 1 2 3 4 1 32 64 96 128 2 32 96 160 224 4 64 192 320 448 Extension Cycles 8 128 384 640 896 Figure 12 Table of values of Q for different number of occupied stations and extension cycles The Input and Output area is configured to begin at address 1000 as can be seen in Figure 5 Setting the CC Link parameters In this examp...

Page 12: ...d next to the indication LEDs on the Anybus Communicator For further instructions see the respective manual or appendix Anybus Slave The Anybus Slave can be configured by switches located next to the fieldbus connector or by mailbox commands For details please see the Anybus S Fieldbus Appendix Anybus CompactCom The module is configured by messages send by the application Refer to the Network Inte...

Page 13: ... is configured Figure 15 Editing the configuration The number of occupied stations has to be the same as configured in the GX IEC Developer In this example 2 occupied stations and 2 extension cycles are used The System area mode is selected to PLC profile In this mode handshaking with the PLC is necessary Note It is not necessary to use handshaking mode it is used in this example for demonstrative...

Page 14: ...ions and 2 extension cycles are used In the case with the communicator the version 2 0 is enabled See the figure below Figure 16 Configuring the fieldbus Figure 17 Configuring the ABC In this case a loop back dongle at the serial connection of the Communicator is connected To loop data the Generic Data Mode is selected all other values are left at their defaults When PLC profile is selected as in ...

Page 15: ...figuring the sub network Right click on new node and add a consume and a produce transaction as shown above Leave the settings for the consume transaction at the defaults Note The update time for the produce transaction is to be set to less than the offline timeout time for the consume transaction in this case the update time is set to 500ms as shown below Figure 19 Configuring the produce transac...

Page 16: ...o 0x002B For details refer to Anybus Communicator for CC link User Manual Figure 20 Configuring the consume Data 1 located in the bit area Right click on Consume and add data twice Repeat this procedure for the Produce as well The first data is configured for to be located in the bit area and the second data in the word area It is not necessary to use both bit and word area in this example both ar...

Page 17: ... Networks AB Page 17 18 Figure 22 Setting up the registers to monitor Click on the first row and enter the desired register In this case X1038 is used for version 1 0 and for version 2 0 please see Figure 24 In row two enter Y1038 and in row three X103B In the first row you will be able to monitor the input Initial data processing request flag in the second the output Initial data processing reque...

Page 18: ... to chapter 4 3 PLC handshaking The procedure to test the configuration is the same as for version 1 0 see the previous section The window below shows the monitoring window in GX IEC Developer when the Communicator is in Ready state Figure 24 Monitoring the PLC configured for CC Link version 2 0 www anybus com HMS Industrial Networks AB Page 18 18 ...

Reviews: