Home
CCLINK Driver Manual
Contents
1. Conditional Write Example to Other Than a Master Station This example shows how to set up a conditional write with Attribute Code 5 Access Code 24h This command will write data from the gateway to another Local Station in this case another ProLinx gateway rather than writing to the Mitsubishi PLC Master Station In order to write to the correct offset and because Access Code 24h writes to the RWw data area of the destination station you must know the start of the RWw data area in the destination Local Station Example For this example assume 1 That you want to send a Transient Message to write data from your local ProLinx gateway to a remote ProLinx gateway 2 That the RWw data area of the remote gateway starts at gateway address 40 3 That the remote gateway is configured to occupy four logical stations 4 That each logical station uses four consecutive words in the RWs data area 5 That the first occupied address in the remote gateway is Station 2 6 And that you want to write to the Node Address Local Station 5 the fourth logical station in the Remote ProLinx gateway ProSoft Technology Inc Page 35 of 98 May 21 2009 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Configure the Gateway Driver Manual Therefore because the RWw data area in the remote gateway begins at gateway database register 40 which would be Offset Address 40 and you are trying to
2. ProSoft Technology Inc May 21 2009 Page 77 of 98 CC Link e ProLinx Gateway Reference CC Link version 1 10 Local Station 8 Intelligent Device Driver Manual ProLinx Word CCLINK Network RWr Data Memory Network RWr Words Address by Logical Station Number Used per Station 0630 4 registers 0633 0634 b 4 registers 0637 0638 4 registers 0641 0642 4 registers 0645 0646 4 registers per Logical Station 0881 0882 4 registers 0885 ProLinx Word CCLINK Network RY Data Memory Network RY Words Address by Logical Station Number Used per Station 0900 r 2registers 0901 0902 2 registers 0903 0904 2 registers 0905 0906 f 2 registers 0907 0908 2 registers per Logical Station 1025 1026 d 2 registers 1027 Page 78 of 98 ProSoft Technology Inc May 21 2009 Reference CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 5 4 ProLinx Word CCLINK Network RWw Data Network RWw Words Address Memory by Logical Station Number Used per Station 1030 1033 1034 1037 1038 1041 1042 1045 4 registers 4 registers 4 registers 4 registers 1046 4 registers per Logical Station 1281 1282 4 registers 1285 CC Link Cyclic Data Concepts Cyclic data refers to the fixed amount of data that will be transferred between the CC Link network Master Station and each logical Slave Station Cyclic data transfers are controlled by the C
3. The RWr memory area holds 16 bit integer register cyclic data that is received from Stations on the CC Link network Register data areas can hold bit patterns for many different data types like bit packed or bit mapped binary data byte packed single byte integer data single or double word integer data ASCII character code data single or double precision floating point data and more Integer data can be Unsigned or Signed This is because the ProLinx gateway does not do any data type interpretation It just accurately stores and transmits bit patterns without any manipulation of them and without any regard for what kind of data they ultimately represent RWw Remote Register Data for register outputs The RWw memory area holds 16 bit integer register cyclic data that is sent to the Stations on the CC Link network The RWw registers can hold the same variety of data as the RWr registers SB Link Special Relay Data for binary Station Status data The SB memory area holds binary status bit information about the current link status of CC Link network For details refer to the Status Data section of the chapter on Troubleshooting SW Special Register Data for register Station Status data The SW memory area hold register status information about the current link status of CC Link network For details refer to the Status Data section of the chapter on Troubleshooting The following cyclic data types apply to and exist
4. F EDC H4JBA98 47654 43210 DI X100 0000 0010 0011 0011 563 Option setup Device test Close The following illustration shows the source data in the gateway s database destination address 6008 Comm2 HyperTerminal File Edit View Call Transfer Help De 593 DB DB Henu Selected DATABASE DISPLAY 6000 TO 6099 DECIMAL on o W 0 0 0 0 H H H H H H KSE eoooooooo0o KSE EE eooooooooo KSE EE ZC E E GE E GE GE OOOO KSE EE KSE Connected 16 49 01 ANSIW 57600 8 N 1 ProSoft Technology Inc Page 27 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Entering the Command Offset Address This is an example command for ProSoft Configuration Builder to show how to read Special Link Relay bit level data from address SB60h using Attribute Code 4 Access Code 63h For additional information on how to convert bit level addresses into Offset word Addresses refer to Transient Message Bit level Access page 21 Enable Internal Address Trigger Register Register Count Swap Code Conditional Read offset Address 7002 8001 e 2 No Change 0 Node Address Attribute Code Access Code Offset Address Comment Definition Offset value from the head address of the corresponding area specified by access code This value is display in Decimal Buffer in the intel
5. Swap Code No Change Node Address 0 Attribute Code 5 Access Code Timer contact 09H Offset Address Comment Definition 0 Disable 1 Conditional Read 2 Conditional Write Reset Tag Reset All OK Cancel Page 32 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device This message will retrieve data value 847 from gateway database locations 10 and 11 and write the first 32 contacts of the first 32 timers to the Mitsubishi PLC Master Comm2 HyperTerminal File Edit Yiew Call Transfer Help Os 3 Of Communication Status 1 Network 2 Client 0 Configuration 6 Client Server Network Menu Data Map Menu Esc Exit Program DB Menu Selected DATABASE DISPLAY 1300 TO 1399 DECIMAL Connected 0 31 21 ANSIW 57600 8 N 1 The following illustration shows the data in the Mitsubishi PLC after the command is executed MI Device batch monitor 1 Device TO Monitor format e Bit amp Word Display e 16bit integer Value DEC T C set value Reference program Bi e iti e Bit 32bit integer HEX WEIN Word C Real number single precision Real number double precision Seege C ASCII character Stop monitor device contact coir setting Current 0 l Gg EE 0 Option setup TI 1 D e n TZ l 0 0 o T3 l FEJ EE o Device tes
6. _point 16 point has been made for a station setting for the other than the remote I O remote I O station station B3A0 Mode illegal A model illegal error has After setting the N Y master local occurred between the master master station stations and the local or standby parameter or local master station or standby master The mode differs between Station parameter the master and standby again reset the master stations system The local station is in the Ver 2 additional mode while the master station is in the Ver 1 mode B3A1 Standby An illegal value has been set Set a correct value Y N master in the standby master station in the standby setting illegal information of switch master station information 5 information of switch information 5 B3A3 Assignment The assignment of RX RY Change the station Y N error RWw or RWr exceeds the information maximum number of points decreasing the or the total number of RX RY numbers of RX RY points in the station RWw and RWr information parameter points exceeds 8192 in Ver 2 mode B3A4 Parameter A mismatch occurred Return the master Mi N mismatch between the master station station parameter to parameter and standby master station parameter when using the master station duplex function the original value Page 66 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Statio
7. station occupied ON ON staton occupied ON OFF SB006A Switch setting status Indicates the setting status of the switches etc REG 6 bit10 OFF Normal ON Setting error Error code stored into SW006A Page 50 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SB006B Host operation status Indicates the operation status of the host REG 6 bit11 OFF Normal ON Error SB006C Link status Indicates the data link status of the host REG 6 bit12 OFF During data link ON During data link stop SB006D Parameter setting status Indicates the parameter setting status REG 6 bit13 OFF Normal ON Setting error Error code stored into SW0068 SB006E Host operation status Indicates the operation status of the host data link REG 6 bit14 OFF During execution ON Not executed B0070 Master station information Indicates the data link status REG 7 bito OFF Data link by master station ON Data link by standby master station SB0071 Standby master station Whether the standby master station exists or not REG 7 bit1 information OFF Does not exist ON Exists SB0073 Operation specification status Indicates the parameter based operation specification status at driver REG 7 bit3 at driver error error OFF Stopped ON Continued SB0074
8. SWOO0AD 1 Parameters requested REG 171 bF bE bD bC b3 b2 b1 bO SWOOAE SWOAS 16 15 14 13 i 4 3 2 1 REG 172 SWO8A9 32 31 30 29 i 20 19 18 17 SWOOAF SWOAA 48 47 46 45 i 36 35 34 33 REG 173 SW0AB 64 63 62 61 i 52 151 50 49 1 to 64 in the table indicates the station numbers SW00B4 Line test 1 result The test result of Line test 1 is stored REG 178 0 Normal SW00B5 1 Error REG 179 bF bE bD bC b3 bi bi bO SWO0B6 SWOB4 16 15 144 133 ito 14 3 2 1 REG 180 SWOB5 32 31 30 29 ito 20 19 18 17 SWO00B7 SWOB6 48 47 146 45 ito 36 35 134 133 REG 181 SWOB7 64 63 62 61 ito 152 51 50 149 1 to 64 in the table indicates the station numbers SW00B8 Line test result Stores the line test result REG 182 0 Normal Other than 0 Error code See Section 4 1 Error Codes SWO00CO Retry count Stores the retry execution count REG 190 0 or more Accumulated retry count SWO00E1 Transient transmission error Stores the number of errors that occurred during transient REG 203 count transmission SWO0E2 Transient transmission error Stores the next pointer for setting the transient transmission error REG 204 data pointer code SWO0E3 Transient transmission error Stores the error code that occurred during transient transmission 29 REG 205 code areas Storage method Ring buffer To SWOOFF REG 253 SW0140 Station type 2 Indicates whether the remote station
9. amp Warranty 89 6 1 How to Contact Us Technical Support 0 cceeeceeeeeeeeeee cesses seeeee see eesaeeeeeeseeeeees 89 6 2 Return Material Authorization RMA Policies and Conditions 90 ProSoft Technology Inc Page 5 of 98 May 21 2009 CC Link e ProLinx Gateway CC Link CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 6 3 LIMITED WARRANT Voces eegne eza at daba foveo Stake cha a aia iam EA on eg bebe 91 Index 97 Page 6 of 98 ProSoft Technology Inc May 21 2009 CC Link CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 1 CC Link In This Chapter Internal Database 000onnnnneoeannnnnnssnnnnrnrensnrnrrrrersennnrrrrrsssnrrrrrrsssnrrrrnne 8 e CC Link Access to Gateway Database A 9 The CC Link protocol driver acts as a Local Station or Intelligent Device which enables easy connection to the CC Link Master controlled network for data transfer Configuration options allow the gateway to occupy Up to four 4 stations on the CC Link network Transient Messaging capability increases overall I O data transfer capacity by more than 8 000 words When configured as a Local Station the gateway allows read only viewing of the entire CC Link Master cyclic database from all configured slaves on the CC Link network The module is a stand alone DIN rail mounted protocol gateway that provides one CC Link
10. page 82 in the form of CCLink Command Attributes to communicate with other devices on the CC Link network The following illustration shows the CC Link section of the gateway configuration The rest of this chapter describes each parameter with default and suggested values SA B CCLK Config EE CCLink Commands Attribute 4 EE CCLink Commands Attribute 5 CCLK Config Enable Enable station Number S A Slave Type Local station Transmission speed 625 Kbps Station Occupied Pa l Times Setting J Alive check Enable die db de te te de Ae CCLink Commands START CCLink Commands Attribute 4 Enable Internal Address Trigger Register Register Count Swap Code 1 Disable 1300 0 0 No Change END Page 14 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 5 1 CCLK Config This section defines the protocol features gateway memory and port settings for the protocol To edit this section expand the CC LINK icon in the Tree View and then double click the CCLK CONFIG tag Edit CCLK Config xi Enable Station Number 1 Slave Type Local Station Transmission Speed 625 Kbps Station Occupied 1 Times Setting 1 Alive Check Enable SENSE Definition 0 Disable 1 Enable Reset Tag Reset All OK Cancel Enable 0 Disable 1 Enable This setting enables or disa
11. 10 000 16 bit memory storage registers available for storing user data This data can then be passed between devices on the CC Link network and whatever other network protocol has been provided on the gateway The other protocol driver may have access to all 10 000 registers and may be able to read from or write to any of these memory locations However to preserve CC Link protocol data partitioning the ProLinx CCLINK protocol driver will allow access to the ProLinx memory database only as specified in the following table The CCLINK driver has specific memory areas assigned for each CC Link data type with gaps built in between each area to maintain data separation and allow the different CC Link data areas to start on easily remembered ProLinx user database memory addresses These addresses are spaced out to start at some even multiple of ten as follows RX data area starts at ProLinx memory database register address 0 RWr data starts at address10 RY data starts at address 30 RWw data starts at address 40 SB status data starts at address 60 SW status data starts at address 100 Network data for a Local Station or the Reserved area for an Intelligent Device Station starts at address 500 Transient Message data starts at address1 300 You will notice in the following chart that there are some memory registers between the CCLINK data areas that are not used by the CCLINK protocol driver These addresses are not accessible to the CC
12. 256 0100 Hex which is the start of the RWr register area in the buffer Data will be placed in the gateway at address 6000 To execute this command change register 5100 to any non zero value Page 24 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the command in ProSoft Configuration Builder Edit Row 1 Eg Enable Conditional Read Offset Address Internal Address 6000 Trigger Register 5100 Register Count 1 Swap Code No Change Node Address 0 Attribute Code 4 Access Code Remote register 24H Offset Address 256 DERRE Comment Offset value from the head address of the corresponding area specified by access code This value is display in Decimal Buffer in the intelligent device station Random access buffer Range 0 1536 Remote input Range 0 127 Remote output Range 0 127 Remote register For RWw Range 0 255 gt Reset Tag Reset All OK Cancel The following illustration shows the source data in a Mitsubishi PLC notice the Device addresses in the Mitsubishi are shown as hexadecimal values preceded by the letter D Each address is a 16 bit register W Device batch monitor 3 Device D100 Monitor format e Bt word Display e 16bitinteger Value DEC T C set value Reference program Pin C hit i a MAN
13. All Ee Swap Code Description No Swap No Change is made in the byte ordering 1234 1234 Word Swap The words are swapped 1234 3412 Word and The words are swapped then the bytes in each word are swapped 1234 4321 Byte Swap Bytes The bytes in each word are swapped 1234 2143 ProSoft Technology Inc Page 39 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Delay Preset This parameter sets an interval for each Data Map copy operation The value you put for the Delay Preset is not a fixed amount of time It is the number of firmware scans that must transpire between copy operations The firmware scan cycle can take a variable amount of time depending on the level of activity of the protocol drivers running on the ProLinx gateway and the level of activity on the gateway s communications ports Each firmware scan can take from 1 to several milliseconds to complete Therefore Data Map copy operations cannot be expected to happen at regular intervals If multiple copy operations several rows in the Data map section happen too frequently or all happen in the same update interval they could delay the process scan of the gateway protocols which could result in slow data updates or missed data on communications ports To avoid these potential problems you should set the Delay Preset to different values for each row in the
14. Attribute Code 4 Access Code 21h which reads the Remote Inputs RX area This command will read 16 inputs bits 1 register word and will place the data in the gateway s database register 6008 The following illustration shows the command in ProSoft Configuration Builder Internal Address Trigger Register Register Count Swap Code Edit Row 1 xi Enable 6008 SH Conditional Read ki No Change 0 Node Address Attribute Code Access Code Offset Address Comment 4 Remote input 21H 0 Definition 0 Disable 1 Conditional Read 2 Conditional Write Reset Tag Reset All OK Cancel Page 26 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the source data in a Mitsubishi PLC Notice that the beginning of the RX data area in the Master is bit address X100 Because X100 is the first register of the RX data area using Offset Address 0 and Access Code 21h in the PCB command will allow the command to read at the start of the RX data area in the Master E Devi S ox Device x100 Monitor format e Bt word Display e 16bit integer Value e DEC T C set value Reference program Bi e it i C HEX Bit 32bit integer E MAIN C Word Real number single precision Real number double precision eege ASCII character Stop monitor Device
15. Definition Comment 0 Disable 1 Conditional Read 2 Conditional Write Reset Tag Reset All OK Cancel Enable 0 disable 1 conditional read 2 conditional write The Enable parameter allows you to control execution of each command Internal Address 0 to 9998 This is a register address in the gateway s internal database If the command is a read command this is the starting address where data will be stored Trigger Register 0 to 9999 This is a register address in the gateway s internal database that contains a trigger value that will control the execution of this command The trigger value held in the Trigger Register determines when the command will be sent The command will not be sent as long as the Trigger Register contains a value of zero 0 The command will be sent one time when the value in the Trigger Register changes from zero to any non zero value After the command in sent the Trigger Register value is automatically reset to zero 0 Page 18 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device Note In order for the Trigger Register to control command execution the Enable parameter must be set to 1 Conditional Read Command or 2 Conditional Write Command and the Register Count must be greater than zero 0 Register Count 0 to disable to 480 This is the numb
16. REG 63 Data link restart result The execution result of the data link restart instruction by SB0000 is stored 0 Normal From 1 on Error code Refer to 4 1 Error Codes SW0043 REG 65 Refresh switching result at standby master switching Indicates the execution result of refresh switching at specified standby master switching 0 Normal Other than 0 Error code refer to 4 1 Error Codes is stored SWO0045 REG 67 Data link stop result The execution result of the data link stop instruction by SB0002 is stored 0 Normal From 1 on Error code Refer to 4 1 Error Codes SW0049 REG 71 Temporary error invalid station specification result Indicates the execution result of the temporary error invalid station specification 0 Normal Other than 0 Error code Refer to 4 1 Error Codes is stored SW004B REG 73 Temporary error invalid station specification cancel result Indicates the execution result of the temporary error invalid station specification cancel 0 Normal Other than 0 Error code Refer to 4 1 Error Codes is stored SW004D REG 75 Line test result Indicates the execution result of the line test 0 Normal Other than 0 Error code Refer to 4 1 Error Codes is stored SW004F REG 77 Parameter setting test request result Indicates the execution result of the parameter setting test request by SB0009 0 Normal Other than 0 Error code Refer to 4 1 Erro
17. Reserved station specification Indicates the parameter based reserved station specification status REG 7 bit4 status SW0074 to SW0077 OFF Not specified ON Specified B0075 Error invalid station Indicates the parameter based error invalid station specification REG 7 bit5 specification status status SW0078 to SW007B OFF Not specified ON Specified SB0076 Temporary error invalid Indicates whether the temporary error invalid stations have been set REG 7 bite station setting information or not SW007C to SW007F OFF Not set ON Set SB0077 Parameter reception status Indicates the parameter reception status from the master station REG 7 bit7 OFF Reception completed ON Reception not completed SB0078 Host switch change detection Detects the setting switch change of the host during data link REG 7 bit8 OFF No change ON Change SB0079 Master station returning Indicates whether the parameter has been set to no return or a REG 7 bit9 specification information return OFF No return ON Return SB007B Host master standby master Indicates whether the host is operating as the master or standby REG 7 bit11 function operation status master function OFF Master function ON Standby master function ProSoft Technology Inc May 21 2009 Page 51 of 98 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intelligent Device Driver Manual
18. Standby The standby master station Change the N Y master number set to the master parameter setting of station station is different from the the master station specification actual station number of the or change the different standby master station or it station number from host is a local station number setting of the station local standby number master station and then reset the system B39B All stations All stations were set as Check the reserved Y N reserved reserved stations station settings setting ProSoft Technology Inc May 21 2009 Page 65 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B39C Station type Any other than intelligent Specify the standby Y N when device station is set in the master station as standby station type in the slave an intelligent device master station setting of the station station station is set as the standby master specified station Or the mode of the Ver 1 mode master station is different Otherthan2 from the one set in the and 3Ver 2 standby master station mode Other specification than 6 9 C and F B39E 8 16 point A setting of 8 point I O Configure an 8 Y N setting illegal station or 16 point I O station
19. Station amp Intelligent Device 3 On the MODULE menu choose DOWNLOAD Wait while ProSoft Configuration scans for communication ports on your PC When the scan is complete the DOWNLOAD dialog box opens Download files from PC to module E EE STEP 1 Select Communication Path Select Connection Type Com 1 zl Ethernet CIPconnect e STEP 2 Transfer File s DOWNLOAD Abort OK Cancel 4 Select the port to use for the download 5 Click the DOWNLOAD button ProSoft Technology Inc Page 41 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Page 42 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 4 Diagnostics and Troubleshooting In This Chapter e The Configuration Debug Men 43 se LED lnNdlcators s igts s era eaa dera rikana aal akar ga eka di o ka Va aaa ko ankaa diaj 47 EE EE Ee No ppr Em mm NNO EO 48 sw EMO Data EE 59 There are two ways to troubleshoot ProLinx gateways LEDs located on the front of the gateway and a Debug port that provides a view into the gateway s internal database 4 1 The Configuration Debug Menu The Configuration and Debug menu for this module is arranged as a tree structure with the Main Menu at the t
20. TE CON7 4P port and an Ethernet RJ45 connector interface CC Link Control amp Communication Link is an open standard based communication protocol that enables easy connection to Mitsubishi PLCs and provides fast reliable communication on this fieldbus network used in automation and process control CC Link is the dominant protocol used in Asia and is rapidly gaining acceptance worldwide Interoperability CC Link technology is based on the use of an Application Specific Integrated Circuit ASIC available from Mitsubishi Electric Automation Conformance Testing Conformance testing through the CC Link Partner Association CLPA ensures that devices meet the performance specifications necessary to become CC Link certified Document Conventions In this User Manual whenever you see CCLINK this refers to the ProLinx CCLINK protocol driver implementation Whenever you see CC Link this refers to the protocol in general or to the protocol implementation on other manufacturers systems These difference references allow an easy way to identify exactly which CCLINK CC Link protocol implementation is being discussed at any point in the document ProSoft Technology Inc Page 7 of 98 May 21 2009 CC Link ProLinx Gateway CC Link CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 1 1 Internal Database The module contains an internal database which is shared between all ports on the gateway The
21. are included with the Product are subject to editing and modification without notice c Transfer of title shall not operate to convey to Customer any right to make or have made any Product supplied by ProSoft d Customer is granted no right or license to use any software or other intellectual property in any manner or for any purpose not expressly permitted by any license agreement accompanying such software or other intellectual property ProSoft Technology Inc Page 93 of 98 May 21 2009 CC Link ProLinx Gateway Support Service amp Warranty CC Link version 1 10 Local Station amp Intelligent Device Driver Manual e Customer agrees that it shall not and shall not authorize others to copy software provided by ProSoft except as expressly permitted in any license agreement accompanying such software transfer software to a third party separately from the Product modify alter translate decode decompile disassemble reverse engineer or otherwise attempt to derive the source code of the software or create derivative works based on the software export the software or underlying technology in contravention of applicable US and international export laws and regulations or use the software other than as authorized in connection with use of Product f Additional Restrictions Relating To Software And Other Intellectual Property In addition to compliance with the Terms of this Warranty Customers purchasing software or othe
22. do not overwrite CCLINK data areas with Transient Message Data unless you intend to do so ProSoft Technology Inc Page 83 of 98 May 21 2009 CC Link ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual To avoid inadvertent corruption of the CCLINK Cyclic Data Areas any Internal Addresses used in Transient Message commands should be confined to those assigned specifically for Transient Message Data These addresses start at gateway memory address 1300 and continue up to address 9999 2 ProLinx Gateway CCLINK Driver accessible Memory Area This area is a sub set of the entire 10 000 word gateway database and is outlined and explained in the ProLinx CCLINK User Data Memory section of the Reference chapter It includes all the Cyclic Data Areas and the Transient Message Data Area To avoid inadvertent corruption of the CCLINK Cyclic Data Areas any Internal Addresses used in Transient Message commands should be confined to those assigned specifically for Transient Message Data These addresses start at gateway memory address 1300 and continue up to address 9999 3 CC Link Communications Network Data Buffer Area This area exists as a memory buffer on the CC Link communications port hardware Every CC Link device on the network will have this memory buffer area built into its hardware This memory buffer on each device will receive cyclic updates from the CC Link Master on the net
23. duplications with REG 150 the next slave station number the duplication status is stored swo099 This does not apply to the case where the head station numbers REG 151 duplication with each other SWOO9A 0 Norral REG 152 1 Station number duplication head station number only SW009B bF PE bD bC b3 bi bi bO REG 153 SWO98 16 15 114 113 ito 4 3 2 1 SWO099 32 31 30 29 to 20 19 18 17 SWO9A 48 47 146 45 to 36 35 34 133 SW09B 64 63 62 61 ito 52 51 50 149 1 to 64 in the table indicates the station numbers SW009C Loading parameter consistency The consistency status such as CC Link version difference between REG 154 status the parameters and slave stations is stored SWO009D 1 Station type inconsistency REG 155 except the combination of the following station types SWO009E Loading Parameter REG 156 Remote device station Remote I O station SWOQ9F Intelligent device station Se eee REG 157 Remote device station 2 Number of occupied stations inconsistency loading gt parameter 3 Expanded cyclic setting inconsistency 4 Version inconsistency between parameter and loaded remote station bF bE bD bt b3 b2 b1 bO SWO9C 16 15 14 13 ito 4 3 2 1 SWO9D 32 31 30 29 ito 20 19 18 17 SWO9E 48 47 146 45 ito 36 35 34 33 SWO9F 64 63 62 61 ito 52 51 50 149 1 to 64 in the table indicates the station numbers SWO00AO Station Type 1 Indicates the station type
24. from the register write area of the Mitsubishi goes to the register read area of the ProLinx CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device ProLinx Mitsubishi ControlLogix CPU ProLinx CCLINK Data PLC CC Link Mitsubishi PLC Controller Tag Memory Memory Type Memory Data Data Type Memory Partition Areas addresses Areas Direction Memory Areas Addresses Binaryln O 0000 CCLINK e CC Link Y100 BOOL Tag Array k bitara 5 area mr Bit Memory it Se Binaryln 159 0007 ee amoj Y159 InRegisters 0 0010 D1000 INT Tag Array D Register Memory InRegisters 15 0025 D1015 BinaryOutf0 0030 CCLINK CC Link X100 BOOL Tag Array parl kako RX bitarea x Bit Memory BinaryOut 159 0037 uo See X159 OutRegisters 0 0040 D100 INT Tag Array D Register Memory OutRegisters 15 0055 D115 ProSoft Technology Inc May 21 2009 Page 81 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Reference Driver Manual 5 5 CC Link Transient Data Messaging Concepts ProLinx Mitsubishi ProLinx CCLINK Data PLCCC Link Mitsubishi PLC Modicon Quantum PLC Memory Type Memory Data Data Type Memory Partition Modbus Memory Areas addresses Areas Direction Memory Areas Addresses 0x0001 0000 CCLINK amp CC Link Y100 Coils read write binary PEDI PIG FAKAN CEL Y Bit Memory data
25. is Ver 2 compatible REG 318 0 Ver 1 compatible remote station SW141 1 Ver 2 compatible remote station REG 319 bF PE bD bC b3 b2 b1 bO SW142 SWO0140 16 15 144 113 ito 4 2 2 1 REG 320 SWO141 32 31 30 29 to 20 19 18 17 SWO0143 SWO142 48 47 46 45 o 36 35 34 33 REG 321 SWO0143 64 63 62 61 ito 52 151 50 49 1 to 64 in the table indicates the station numbers SWO0144 Mounting Parameter REG 322 consistency status 2 Page 58 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SWO0145 bF bE bD bC b3 b2 bi bO REG 323 SW0144 116 15 114 113 to 4 3 2 1 SW0146 SWO0145 32 31 130 29 ito 20 19 18 17 REG 324 SWO146 48 47 146 145 ito 36 35 34 33 SWO0147 SW0147 64 63 62 61 ito 52 51 50 49 REG 325 1 to 64 in the table indicates the station numbers SW148 Parameter mode Indicates the mode used in the network REG 326 0 Ver 1 mode 2 Ver 2 mode SW149 Host parameter mode Indicates the mode in which the host station is operating REG 327 0 Ver 1 mode 2 Ver 2 mode 44 Error Data Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intel
26. is stored REG 11 bit4 result OFF Normal ON Error No Name Description W0003 Multiple temporary error invalid Selects whether multiple temporary error invalid stations will be REG 1 stations specification specified or not 00 Multiple stations indicated in SW0004 to SW0007 are specified 01 to 64 Single station 1 to 64 is specified For the numeral specify the station number set as the temporary error invalid station SW0004 Temporary error invalid station Specifies the temporary error invalid station REG 2 specification 0 Not specified as the temporary error invalid station SW0005 1 Specified as the temporary error invalid station REG 3 bF bE bD bC b3 b2 bi b SWO006 SWO004 16 15 14 13 mo 4 3 2 1 REG 4 SWO05 32 31 30 29 lto 20 19 18 117 Page 52 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SWO007 REG 5 SWO06 148 147 46 45 ito 136 135 134 133 SW007 164 63 62 61 ito 152 151 150 149 1 to 64 in the table indicates the station numbers SWO008 REG 6 Line tested station setting Sets the station on which the line test will be performed 0 Whole system all stations 01 to 64 Specified station Default value 0 SW0041
27. of data to be read by the Master Station from the Slave Station 32 bits of data to be written by the Master Station to the Slave Station Four 16 bit integer words of data to be read by the Master Station from the Slave Station Four 16 bit words of data to be written by the Master Station to the Slave Station There are some physical slave devices that have more data than can fit within these rigid logical station limits The CC Link protocol allows users to overcome these logical station limits by allowing certain physical slave devices to be configured as one two three or four logical stations with consecutive logical Station Addresses Doing so allows one physical slave device to pass a total amount of Cyclic Data equal to the amount allowed for up to four logical stations The CC Link protocol allows for three different types of slave stations Remote I O Stations Cyclic binary bit data transfer only no Transient Messaging may occupy only one logical station address Intelligent Device Stations Cyclic and Transient data transfers may occupy up to four logical station addresses Local Stations Cyclic and Transient data transfers may occupy up to four logical station addresses will receive a copy of all Slave Station Cyclic and Status data from the network Master and store that data internally Remote UO Stations are the simplest form of slave station and are not supported in the ProLinx CCLINK driver because of tha
28. of each station in bit units REG 158 0 Remote I O stations or remote device stations SWO0A1 1 Intelligent device stations REG 159 bF bE PD bC b3 b2 bi b SWO0A2 SWOAO 16 15 14 13 4 3 2 1 REG 160 SWOA1 32 31 30 29 20 19 18 17 SWO0A3 SWOA2 48 47 46 45 36 35 34 33 REG 161 SWOA3 64 63 62 ID 52 51 50 48 1 to 64 in the table indicates the station numbers SWO00A8 Station setting information Indicates the head station of each station in bits REG 166 0 Other than head station SWO00A9 1 Head station REG 167 bF bE bD bC b3 bi bt b ProSoft Technology Inc May 21 2009 Page 57 of 98 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intelligent Device Driver Manual No Name Description SWO00AA Swosc 16 15 14 113 4 3 2 1 REG 168 SWO8D 32 31 30 29 20 19 18 17 SWO0AB SWO8E 48 47 46 45 36 35 34 33 REG 169 SWO8F 64 i63 62 61 52 51 50 48 1 to 64 in the table indicates the station numbers SWO0AC Other station parameter status Indicates the parameter status of each station in bit units REG 170 0 Other than communication in progress
29. of law provisions If for any reason a court of competent jurisdiction finds any provisions of this Warranty or a portion thereof to be unenforceable that provision shall be enforced to the maximum extent permissible and the remainder of this Warranty shall remain in full force and effect Any cause of action with respect to the Product or Services must be instituted in a court of competent jurisdiction in the State of California ProSoft Technology Inc Page 95 of 98 May 21 2009 CC Link ProLinx Gateway Support Service amp Warranty CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Page 96 of 98 ProSoft Technology Inc May 21 2009 Index Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Index CCLink Command Attribute x 14 17 CCLK Config 14 15 A Access Code 20 Access Codes for Attribute 4 20 23 Access Codes for Attribute 5 20 30 Adding a gateway 12 Alive Check 16 All Product Returns 90 All ProLinx Products 2 Allocation of Risks 95 Attribute Code 19 Base Module LEDs 47 C CC Link 7 CC Link Access to Gateway Database 9 CC Link Cyclic Data Concepts 79 CC Link Interface Specific LEDs 47 CC Link Overview 72 CC Link Port 88 CC Link Protocol Configuration 14 CCLINK Transient Data Message Memory Areas 83 CC Link Transient Data Messaging Conce
30. outside 10 return the range of 1 to 10 stations parameter Page 64 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B396 Duplicate A duplicate station number Set parameters Y N station was specified with the station correctly so that no number error information parameter station numbers are parameter duplicated B397 Station The station information Set the parameter Y N information parameter setting does not so that it meets the setting error meet the following condition condition shown on parameter 16 x A 54 x B 88 x C the left 2304 A Number of remote I O stations B Number of remote device stations C Number of intelligent device stations including local stations B398 Invalid The number of occupied Set a value within Y N number of Stations in the station the range from 1 to occupied information parameter 4 stations addresses 0220H to 025F parameter was set to a value outside the range of 1 to 4 B399 Invalid The number of connected Set a value within Y N number of gateways parameter was set the range of 1 to connected to a value outside the range 64 gateways of 1 to 64 parameter B39A
31. slave station information numbers to a value stations all parameter within the range 1 stations to 4 reserved specification B387 Delay timer The delay timer was settoa Set the delay timer Y Y setting error value outside the range 0 to to a value within the 100 range 0 to 100 B388 Station The station type in the station Set the station type Y N information information parameter was to a value within the specification set to a value other than O to range 0 to 3 other than 0 3 Ver 1 mode only to 3 B38A Station The number of remote I O Set the number of Y N information stations was set toa value of remote I O stations specification 65 or more with the station to a value of 64 or number of information parameter less remote I O stations gt 64 ProSoft Technology Inc May 21 2009 Page 63 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B38B Station The number of remote device Set the number of Y N information stations was set toa value of remote device specification 43 or more with the station stations to a value number of information parameter of 42 or less remote addresses 0440H to device 04BEH stations 42 B38C Station The number o
32. where all stations had standby master become faulty station B314 Switching A forced master to standby Execute the request N Af target error master switching request to the master SB000C was issued to a station other than the master station station Page 62 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B315 Forced A forced master to standby Check the ON OFF Y N switching master switching request operation of error during SBOOOC was issued again SB000C master while the master station was switching being switched to the standby master station B384 Station The station number Set a value within Y N number including the occupied the range 1H to setting error station numbers of the 40H parameter station information parameter was set to a value outside the range 1H to 40H B385 Total The total number of occupied Set a parameter Y N number of Stations set in the station value of 64 or less slave information parameter Stations error exceeded 64 total number of occupied stations gt 64 B386 Total All the numbers of occupied Set each of the Y N number of stations were set to 0 in the occupied station
33. write to the fourth logical station in that data area then the destination Offset Address you will need to use in the command will be 52 Enable Internal Address Trigger Register Register Count Swap Code Node Address Attribute Code Access Code Offset Address Conditional Write offset Address 1300 5060 52 4 No Change 5 5 Link register 24H 52 Definition Comment Offset value from the head address of the corresponding area specified by access code This value is display in Decimal Input relay Hexadecimal Output relay Hexadecimal Internal relay Decimal Latch relay Decimal Link relay Hexadecimal Timer contact Decimal Timer coil Decimal Timer present value Decimal Retentive timer contact Decimal gt Reset Tag Reset All OK Cancel The following illustration shows the source data to be written from the gateway to Local Station 5 on the network e Comm2 HyperTerminal File Edit View Cal Transfer Help De 53 08 DATABASE DISPLAY 1300 TO 1399 DECIMAL 99 99 99 D 99 H Connected 0 00 10 Page 36 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the data as written to the destination station Comm8 HyperTerminal File Edit View Call Transfer Help 5533 om DATABASE
34. 0 XOBO o000 0000 0000 0000 0 xoco o000 0000 0000 0000 0 kopo o0o00 0000 0000 0000 0 xoro ooo0 0000 0000 0000 HEI ProSoft Technology Inc Page 31 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Writing to Counters Timers or Retentive Timers Note Take special care when writing or reading from a Timer T Counter C or Retentive Timers ST especially when attempting to read their contacts and coils Careless use of Transient Messages to these data types can cause PLC faults and or total loss of CC Link network communication The protocol is able to read contacts and coils only in word groupings of 16 A Transient Message command will read write the first 16 contacts of the first 16 timers in one register in the database A message to read Timer Counter or Retentive Timer contacts starting at Offset Address 0 with Register Count 1 actually retrieves contacts for Timers 0 15 Retentive Timers and Counters work the same way as do write commands to the contacts or coils Access Codes for Attribute Code 5 to read or write to Counters Timers or Retentive Timers are 09 Hex OA Hex 89 Hex 8A Hex 11 Hex 12 Hex In this example the following illustration shows a Conditional Write command using Attribute Code 5 Access Code 09h Enable Conditional Write Enable Internal Address 1310 Trigger Register 5005 Register Count 2
35. 1 Watch dog timer error REG 131 bF bE bD bC b3 b2 bi b SW0086 SWO88 16 15 14 13 ito 14 3 2 1 REG 132 SW089 32 31 30 29 o 20 19 18 17 SW0087 SWO8A 48 47 46 45 to 36 135 134 33 REG 133 SWO8B 64 63 62 161 Ito 152 151 150 49 1 to 64 in the table indicates the station numbers SWO090 Line status The line status is stored REG 142 0 Normal 1 Data link disable wire break Sw0094 Transient transmission status Indicates the transient transmission error occurrence status REG 146 0 No transient transmission error SWO0095 1 Transient transmission error REG 147 bF bE bD bC b3 b2 bi b Page 56 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SW0096 SWO94 16 15 14 113 bb 4 3 12 1 REG 148 SWO095 32 31 30 29 to 20 19 18 17 SWO0097 SWO96 48 47 46 45 to 36 35 134 133 REG 149 SWO97 64 63 62 61 o 52 51 150 149 1 to 64 in the table indicates the station numbers SW0098 Station No duplication status If the occupied station number of the slave station
36. 32 bits per 32 bits per 0x0159 0007 SC o Y159 4x0001 0010 D1000 Holding Registers D Register read write 16 bit register Memory data 4x0015 0025 D1015 1x0001 0030 CCLINK CC Link X100 Input Status read only KORI arca EKUL X Bit Memory binary data 32 bits per 32 bits per 1x0159 0037 ea SH X159 3x0001 0040 D100 Input Registers read only D Register 16 bit register data Memory 3x0015 0055 D115 WARNING Unlike Cyclic Data transfers which happen almost automatically from the ProLinx gateway s perspective Transient Messaging requires much more involvement by the user to configure manage and maintain data transfers Before attempting Transient Messaging the user must thoroughly understand the details of this feature of the CC Link protocol and must be proficient in using that knowledge Improper use of Transient Messaging could result in unexpected system behavior resulting in potential damage to equipment and or injury to personnel 5 5 1 General The Transient Messaging capability of the CC Link protocol allows for greater flexibility in the way users may transfer data on the network than what is possible using Cyclic Data transfers Smaller or larger amounts of data can be transferred with Transient Messaging than is possible within the more rigid Cyclic Data structure and data transfers with Transient Messaging are conditional not periodic Page 82 of 98 ProSoft Technology Inc May 21 2009 Refer
37. Bit 32bit integer HEX MAIN C Word C Real number single precision C Real number double precision C ASCII character Stop monitor Device krano tase mesa tazio J OOO o010 668 si Option setup o o o o H o o o n ba o Device test n ba o Close oooo oO OOOO or r Hr III ooooooooo oorr r HM III ooooOOOOGOOO kh Be o oo 000000 CGO 0 0 o oo oo oo oo oo oO oO Ki o o o oo oo oo oO oo oo oO o oo oo oo o oo oo oO o o o o o o o o o o o o oO o oo oo oo o oo oo o o oo oo oo o oo oo o o oo oo oo o oo oo o o oo oo oo o oo ott o oo oo oo o oo oo o o oo oo oo oO oo ot tt o o o o o o o o o o o o o ojojojojojojojojojojojojo ojojojojojolojojojojo ProSoft Technology Inc Page 25 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual The following illustration shows the data in the gateway s database destination address 6000 Comm2 HyperTerminal File Edit View Call Transfer Help De 593 DB DATABASE DISPLAV 6000 TO 6099 DECIMAL 668 DD ED CEO E E GE GC E GE E E E GE GE GC GE GE E E E GE GE GC E GE E E E GE GE GC E GE E E E GE GE CO CEO E E GE GE GC GE GE E E E GE GE GC E GE E E E GE GE GC GE E E E GE GE GC GE E E E GE GE Connected 15 21 54 ANSIW Remote Inputs Example 57600 8 N 1 This example issues a Transient Message conditional read with
38. C Link Master Since the amount of data that can be transferred is fixed and since the CC Link Master controls cyclic transfers there is very little configuration required for the ProLinx gateway for it to be able to pass cyclic data on the CC Link network However some general information about the CC Link protocol will help you better understand how the ProLinx gateway works Most CC Link devices including the ProLinx gateway use separate memory partitions to hold the different types of cyclic data transferred by the protocol In programmable logic controllers PLCs like the Mitsubishi MEL SEC Q series for example memory is usually partitioned according to whether the data is to be input data received data or output data sent data and according to the type of data to be stored Single bit binary data is usually separated from 16 bit integer register data The cyclic data type partitions for CC Link are as follows RX Remote Input Data for binary inputs The RX memory area holds single bit binary cyclic data that is received from Stations on the CC Link network RY Remote Output Data for binary outputs The RY memory area holds single bit binary cyclic data that is sent to Stations on the CC Link network ProSoft Technology Inc Page 79 of 98 May 21 2009 CC Link ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual RWr Remote Register Data for register inputs
39. D RD Receiving Data LED ERR Switch Setting Error DB 9M RS 232 only No hardware handshaking RJ45 Connector 10Mbit half duplex only Link and Activity LED indicators Electrical Isolation 1500 V rms at 50 Hz to 60 Hz for 60 s applied as specified in section 5 3 2 of IEC 60950 1991 Ethernet Broadcast Storm Resiliency less than or equal to 5000 ARP frames per second and less than or equal to 5 minutes duration Pin Description DA Data Communication line A DB Data Communication line B DG Digital Ground SLD Shield FG Frame Ground Mini DIN to DB 9M serial cable 4 ti RS 232 configuration cable 2 5mm screwdriver CD docs and Configuration utility CC Link to Terminal Block connector Page 86 of 98 ProSoft Technology Inc May 21 2009 Reference CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 5 7 3 ProSoft Configuration Builder ProSoft Configuration Builder PCB provides a quick and easy way to manage gateway configuration files customized to meet your application needs PCB is not only a powerful solution for new configuration files but also allows you to import information from previously installed known working configurations to new projects 5 8 RS 232 Configuration Debug Port This port is physically a Mini DIN connection A Mini DIN to DB 9 adapter cable is included with the module This port permits a PC based terminal emul
40. DISPLAY 0 TO 99 DECIMAL een ere eene een en CD QoTcowoooooo CD e GE EM Di CS Cd CS H H H H H H H H H H een CS d d Ei CS CS ee eet ee ee e KSE eoorqooqooooodo KSE Qo E E E E E E E GE Connected 0 13 07 ANSIW 57600 8 N 1 3 7 DataMap The DATA MAP section allows you to copy data between areas in the module s internal database You can copy to 100 registers at a time and you can configure up to 200 separate copy commands For example you can copy data from the error or status tables in upper memory to internal database registers in the User Data memory area You can also rearrange the byte and or word order during the copy process so that data such as floating point values can be converted to the correct format for a specific protocol ProSoft Technology Inc Page 37 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual You can also use the Data Map to condense widely dispersed data into one contiguous data block making it easier to access MI Edit DATA MAP xj From Address ToAddress RegisterCount Swap Code Delay Preset Comment Ba 2000 1 No Change 2000 Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row OK Cancel edit Row eee From Address To Address 2000 Register Count 1 000 Swap Cod
41. Data Map section and set them to higher rather than lower numbers For example Delay Preset values below 1000 could begin to cause a noticeable delay in data updates through the communications ports And you should not set all Delay Presets to the same value Instead use different values for each row in the Data Map such as 1000 1001 and 1002 or any other different Delay Preset values you like This will prevent the copies from happening concurrently and prevent possible process scan delays 3 8 Printing a Configuration File To print a configuration file 1 Select the MODULE icon and then click the right mouse button to open a shortcut menu 2 On the shortcut menu choose VIEW CONFIGURATION This action opens the VIEW CONFIGURATION window 3 On the VIEW CONFIGURATION window open the FILE menu and choose PRINT This action opens the PRINT dialog box 4 On the PRINT dialog box choose the printer to use from the dropdown list select printing options and then click OK 3 9 Downloading a File from PC to the Gateway To download a file from the Configuration Builder to the gateway 1 Verify that your PC is connected to the gateway with a null modem serial cable connected to the serial port on your PC and the serial port on the gateway 2 Open the PROJECT menu and then choose MODULE Page 40 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local
42. EG 4 bit3 status at standby master standby master switching switching OFF Not executed ON Execution completed B0044 Data link stop acceptance Indicates the acceptance status of the data link stop instruction REG 4 bit4 OFF Not accepted ON Stop instruction accepted SB0045 Data link stop completed Indicates the acceptance completed status of the data link stop REG 4 bit5 instruction OFF Not completed ON Stop completed SB0046 Forced master switching Indicates the executable status of the forced master switching REG 4 bite executable status SBO00C signal OFF Not executable ON Executable B0048 Temporary error invalid Indicates the acceptance status of the temporary error invalid REG 4 bit8 acceptance status instruction OFF Not executed ON Instruction accepted B0049 Temporary error invalid Indicates the acceptance completed status of the temporary error REG 4 bit9 completed status invalid instruction OFF Not executed ON Temporary error invalid station determined SB004A Temporary error invalid cancel Indicates the acceptance status of the temporary error invalid cancel REG 4 bit10 acceptance status instruction OFF Not executed ON Instruction accepted SB004B Temporary error invalid cancel Indicates the acceptance completed status of the temporary error REG 4 bit11 completed status invalid cancel instruction OFF Not executed ON Temporary error invalid station cancel completed SB004C Line test acce
43. Link Master The memory registers in the gaps between these data areas are usually but not always accessible by the other installed protocol driver but should not be used to hold user data for your application since they cannot be accessed by the CCLINK protocol driver Page 74 of 98 ProSoft Technology Inc May 21 2009 Reference Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device The following table describes the ProLinx memory layouts for an Intelligent Station and for a Local Station Intelligent Device Station Local Station Word Layout Description Word Word Layout Description Word Address Length Address Length 0000 CCLINK 8 0000 CCLINK 8 RX bit data area RX bit data area 0007 32 bits per station 0007 32 bits per station 0010 16 0010 16 0025 0025 0030 8 0030 8 0037 0037 0040 16 0040 16 0055 0055 0060 12 0060 12 0071 0071 0100 CCLINK 378 0100 CCLINK 378 SW Special Register SW Special Register 0477 data area 0477 data area 0500 786 0500 Network RX Data area 128 2048 bits 0627 0630 256 885 0900 128 1027 1030 256 1285 1285 1300 8700 1300 8700 9999 9999 ProSoft Technology Inc Page 75 of 98 May 21 2009 CC Link e ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 5 3 2 ProLinx CCLINK Memory Area Breakdown by Logical Station As mentioned before the ProL
44. No Name Description B0080 Other station data link status Indicates the communication status with the remote stations local REG 8 bito stations SW0080 to SW0083 OFF All stations normal ON Error station B0081 Other station watch dog timer Indicates the watch dog timer error occurrence status at the other REG 8 bit1 error status stations OFF No error ON Error SB0082 Other station fuse blown Indicates the fuse blown occurrence status at other stations REG 8 bit2 Status OFF No error ON Error B0083 Other station switch change Detects the setting switch changes of other stations during data link REG 8 bit3 status OFF No change ON Change SB0090 Host line status Indicates the line status REG 9 bito OFF Normal ON Error Wire break SB0091 Transmission status Indicates the transmission status of the line REG 9 bit OFF Normal ON Error SB0094 Transient transmission status Indicates whether a transient transmission error occurred or not REG 9 bit4 OFF No error ON Error SB0095 Master station transient Indicates the master station transient transmission status REG 9 bit5 transmission status OFF Normal ON Error SBOOAC Other station parameter status Other station parameter communication status SWOOAC to REG 10 bit12 SWOOAF OFF Other than parameter communication in progress ON Parameters requested SB00B4 Standby master station test The test result of Line test 1 Line test 2
45. Products shipped to ProSoft using a shipment method other than that specified by ProSoft or shipped without an RMA number will be returned to the Customer freight collect Contact ProSoft Technical Support for further information d A 10 restocking fee applies to all warranty credit returns whereby a Customer has an application change ordered too many does not need etc 6 2 2 Procedures for Return of Units Under Warranty A Technical Support Engineer must approve the return of Product under ProSoft s Warranty a A replacement module will be shipped and invoiced A purchase order will be required b Credit for a product under warranty will be issued upon receipt of authorized product by ProSoft at designated location referenced on the Return Material Authorization 6 2 3 Procedures for Return of Units Out of Warranty a Customer sends unit in for evaluation b If no defect is found Customer will be charged the equivalent of 100 USD plus freight charges duties and taxes as applicable A new purchase order will be required Page 90 of 98 ProSoft Technology Inc May 21 2009 Support Service amp Warranty CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 6 3 c If unit is repaired charge to Customer will be 30 of current list price USD plus freight charges duties and taxes as applicable A new purchase order will be required or authorization to use the pur
46. TECHNOLOGY Where Automation Connects ProLinx CC Link ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device ProLinx May 21 2009 DRIVER MANUAL Important Installation Instructions Power Input and Output I O wiring must be in accordance with Class I Division 2 wiring methods Article 501 4 b of the National Electrical Code NFPA 70 for installation in the U S or as specified in Section 18 1J2 of the Canadian Electrical Code for installations in Canada and in accordance with the authority having jurisdiction The following warnings must be heeded A WARNING EXPLOSION HAZARD SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR CLASS DIV 2 B WARNING EXPLOSION HAZARD WHEN IN HAZARDOUS LOCATIONS TURN OFF POWER BEFORE REPLACING OR WIRING MODULES and C WARNING EXPLOSION HAZARD DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NONHAZARDOUS D THIS DEVICE SHALL BE POWERED BY CLASS 2 OUTPUTS ONLY All ProLinx Products WARNING EXPLOSION HAZARD DO NOT DISCONNECT EQUIPMENT UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS KNOWN TO BE NON HAZARDOUS AVERTISSEMENT RISQUE D EXPLOSION AVANT DE DECONNECTER L EQUIPMENT COUPER LE COURANT OU S ASSURER QUE L EMPLACEMENT EST DESIGNE NON DANGEREUX Markings ISA ISA 12 12 01 Class Div 2 CSA cUL C22 2 No 213 M 1987 6 d d 243333 CLI Div 2 GPA B C D Temp C
47. alue C O Decimal 14h Data register D O Decimal 04h Link register W O Hexadecimal 24h File register R O Decimal 84h Special link relay SB O Hexadecimal 63h Special link register SW O Hexadecimal 64h Special relay SM O Decimal 43h Special register SD O Decimal 44h Note Device Contents data areas or data types other than those shown above cannot be accessed Transient Message Bit level Access Both Command Attribute Code 4 and Command Attribute Code 5 have Command Access Codes that allow transfer of binary bit level data The following cautionary Note and Warning apply to all Transient Message Commands used to access binary or bit level data types Note Binary bit level data may not be accessed as single or individual bits but only in 16 bit whole word groupings When accessing bit level data the bits will always be read or written starting on an even 16 bit word boundary in the target database That is to say that all reads and writes will start at Bit 0 of the word address used in the command For hexadecimal addresses the right most bit 0 will indicate a word level boundary bit address 0000h 0010h 01COh etc Therefore when accessing a bit device such as Input Relay Output Relay Timer coil Counter contact and so on you must specify the Offset Address in the command as a word address by first converting any hexadecimal address to its decimal equivalent and then divide the bit address by 16 Next drop any remainder
48. ancel The following illustration shows the source data in the gateway to be sent to the Mitsubishi PLC Master Comm2 HyperTerminal File Edit View Cal Transfer Help DG 3 D8 g V Version Information H Main Menu DB Menu Selected DATABASE DISPLAY 1300 TO 1399 DECIMAL Connected 4 17 15 ANSIW 57600 8 N 1 Page 34 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the data in the destination registers R45 and R46 in the Mitsubishi PLC Master MI Device batch monitor 1 DER Device R3 Monitor format e BitkWord Display e 16bit integer Yale e DEC T C set value Reference program C Bit 32bit integer C HES MAIN C Word C Real number single precision Real number double precision h b Stop monitor ASCII character ee Device r EDC BA98 47654 3210 Le ee SE eg ep reg Option setup 36 o0oo0o0 UU 0 0 D D27 0000 0000 0000 a000 o R38 0000 o000 O000 0000 o R39 0000 0000 0000 0000 0 Device test R40 oo000 o000 oOo000 0000 o R41 0000 o000 O000 0000 o R42 0000 0000 0000 0000 0 Close R43 0000 o000 oO000 0000 o R44 0000 o000 oO000 OOOO o R45 DOODO DHA 1000 11111 911 R46 0 0900 a ao a Ll 911 R47 OOOO ooon O000 DOODO o R48 0000 o000 O000 DOODO o R49 0000 OOOO oO000 DOODO o R50 0000 o000 O000 DOODO a
49. and 32 bits as binary I O data to the Master station and receives an additional 4 words and 32 bits from the Master Station The CCLINK gateway can occupy up to 4 consecutive stations on the CC Link network increasing its I O data transfer capacity Maximum number of station addresses occupied 4 stations consecutive addresses Maximum Number of Devices per network 26 64 Devices depending on type of devices or stations configured Device Types Supported Intelligent Device and Local Station CC Link Version supported CC Link Version 1 10 cyclic data transmission Message handling Cyclic Messages and Transient Messages Cyclic Data Capacity 4 Slave station supporting 4 words and 32bits per station for a total of 24 input data words and 24 output data words per gateway Additional I O Data Transfer Capacity Transient Messaging extends the data transfer capacity to more than 8 000 additional words Transient Message Commands System Information Memory Access Information RUN STOP Line Test Memory Read and Memory Write commands Communication speed 10 Mbps 5 Mbps 2 5 Mbps 625 kbps 156 kbps Transmission path format Bus format EIA RS485 conformance Transmission format HDLC conformance Error control system CRC X16 X12 X5 1 Conformance Testing Conformance testing through the CC Link partner Association CLPA is in progress and ensures that the gatewa
50. anty 90 ProLinx CCLINK Memory Area Breakdown by Logical Station 76 ProLinx CCLINK Memory Map Overview 74 ProLinx CCLINK User Data Memory 74 ProSoft Technology Inc May 21 2009 Page 97 of 98 CC Link e ProLinx Gateway Index CC Link version 1 10 Local Station amp Intelligent Device Driver Manual ProLinx Gateways with Ethernet Ports 2 ProLinx Local Station Network Data Area Breakdown 7 ProSoft Configuration Builder 87 ProSoft Technology Product Documentation 3 Purchasing Warranty Extension 91 R Reference 71 Register Count 19 39 Remote Inputs Example 26 Required Hardware 43 Return Material Authorization RMA Policies and Conditions 90 RS 232 Configuration Debug Port 87 S Slave Type 16 Specifications 85 Station Number 15 Stations Occupied 15 16 Status Data 48 Support Service amp Warranty 89 Swap Code 19 39 T The Configuration Debug Menu 43 Time Limit for Bringing Suit 94 Times Setting 16 To Address 39 To Order a ProLinx Plus gateway with the WEB option 2 To upgrade a previously purchased Series C model Transient Message Bit level Access 21 22 23 28 Transmission Speed 16 Trigger Register 18 Types of CC Link Data Transfers 72 Types of CC Link Slave Stations 73 U Using the Diagnostic Window in ProSoft Configuration Builder 44 Using the Help System 11 W What Is Cov
51. ation program to view configuration and status data in the module and to control the module The cable for communications on this port is shown in the following diagram RS 232 Config Debug Port Cable DB 9 Male Config Debug Port mO 2 c to no 3 ro COM s COM 5 9 DB9 to Mini DIN Adaptor Cable 09 120 Cable Assembly Ea a Il ee RS 232 RS 485 RS 422 J1 Vv Vv v J2 f DSR RXD i Ke BOO OOOO Wiring Diagram ProSoft Technology Inc Page 87 of 98 May 21 2009 CC Link e ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 5 10 CC Link Port Pin Description DA Data Communication line A DB Data Communication line B DG Digital Ground SLD Shield FG Frame Ground Page 88 of 98 ProSoft Technology Inc May 21 2009 Support Service amp Warranty CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 6 6 1 Support Service amp Warranty In This Chapter How to Contact Us Technical Gupport 89 Return Material Authorization RMA Policies and Conditions 90 LIMITED WARRANTN 91 ProSoft Technology Inc ProSoft is committed to providing the most efficient and effective support possible Before calling please gather the following information to assist in expediting this process 1 Product Ver
52. bles the CCLINK serial port on the gateway You must enable the port to use the CC Link protocol Station Number 1 to 64 to identify the logical station 128 to place the logical station in standby mode This value identifies stations on the CC Link network Each physical station must have a unique station number You cannot assign the same station number to more than one station Note Some CC Link devices including the ProLinx CCLINK protocol gateway allowing you to use up to four consecutive logical slave station addresses for each physical slave station Refer to the Stations Occupied page 16 parameter for more on this feature ProSoft Technology Inc Page 15 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Slave Type 1 Local Station A Local Station can perform Cyclic Data transmission between itself and the Master Station as well as perform Transient Message transmission between itself and the Master station or other Local Stations on the network 2 Intelligent Device In the CC Link protocol specification an Intelligent Device can perform Cyclic Data transmission and Transient Message transmission only between itself and the Master Station An Intelligent device could not normally communicate directly with any other slave stations on the network However a CCLINK gateway configured as an Intelligent Device can perfor
53. c Page 91 of 98 May 21 2009 CC Link ProLinx Gateway Support Service amp Warranty CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 6 3 1 a 6 3 2 What Is Covered By This Warranty Warranty On New Products ProSoft warrants to the original purchaser that the Product that is the subject of the sale will 1 conform to and perform in accordance with published specifications prepared approved and issued by ProSoft and 2 will be free from defects in material or workmanship provided these warranties only cover Product that is sold as new This Warranty expires three years from the date of shipment the Warranty Period If the Customer discovers within the Warranty Period a failure of the Product to conform to specifications or a defect in material or workmanship of the Product the Customer must promptly notify ProSoft by fax email or telephone In no event may that notification be received by ProSoft later than 39 months Within a reasonable time after notification ProSoft will correct any failure of the Product to conform to specifications or any defect in material or workmanship of the Product with either new or used replacement parts Such repair including both parts and labor will be performed at ProSoft s expense All warranty service will be performed at service centers designated by ProSoft Warranty On Services Materials and labor performed by ProSoft to repair a verified malfunction o
54. chase order submitted for evaluation fee The following is a list of non repairable units 3150 All 3750 3600 All 3700 3170 All 3250 1560 Can be repaired only if defect is the power supply 1550 Can be repaired only if defect is the power supply 3350 3300 1500 All O O O O O O oo oo oO 6 2 4 Purchasing Warranty Extension a ProSoft s standard warranty period is three 3 years from the date of shipment as detailed in Limited Warranty page 91 The Warranty Period may be extended at the time of equipment purchase for an additional charge as follows e Additional 1 year 10 of list price e Additional 2 years 20 of list price e Additional 3 years 30 of list price LIMITED WARRANTY This Limited Warranty Warranty governs all sales of hardware software and other products collectively Product manufactured and or offered for sale by ProSoft and all related services provided by ProSoft including maintenance repair warranty exchange and service programs collectively Services By purchasing or using the Product or Services the individual or entity purchasing or using the Product or Services Customer agrees to all of the terms and provisions collectively the Terms of this Limited Warranty All sales of software or other intellectual property are in addition subject to any license agreement accompanying such software or other intellectual property ProSoft Technology In
55. ct ADD MODULE Page 12 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 3 Module Entries To configure gateway parameters 1 Click on the plus sign next to the icon comment to expand gateway information 2 Double click the B modiecomment icon to open the EDIT dialog box 3 To edit a parameter select the parameter in the left pane and make your changes in the right pane 4 Click OK to save your changes 3 4 Comment Entries To add comments to your configuration file 1 Click the plus sign to the left of the comment icon to expand the gateway Comments 2 Double click the B Modue comment icon The EDIT MODULE COMMENT dialog appears Edit Module Comment xi Comment Comment Put Comment Here Definition Reset Tag Reset All OK Cancel 3 Enter your comment and click OK to save your changes ProSoft Technology Inc Page 13 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 3 5 CC Link Protocol Configuration CC Link Protocol Configuration consists of the following sections CCLK Config page 15 This section defines the protocol features gateway memory and port settings for the protocol CCLink Commands Attribute x page 17 The CCLINK driver can use Transient Messages
56. d error invalid request or W0004 to cancel request SW0007 B304 Error station An error was detected in a Check that the Y N detected by slave station during line test slave station is line test execution operational and that reception the cable is not status error disconnected Page 60 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B305 Error station An error was detected in the Replace the slave Y N detected by response data looped back station subjected to line test as a result of line test the line test response execution data error B306 Specified A station other than the head Specify a head Y N station is not station was specified for the station for the head station temporary error invalid temporary error request invalid request B307 All stations All stations were in a data Request again after Y Y faulty link error state when either of the data link the following requests was becomes normal issued SB0000 data link restart SB0002 data link stop B308 Total The station number is outside Check the station Y N number of the range 1 to 64 numbers of the slave mounted gateways stations for any duplicati
57. database is also used to pass information from devices on one network to devices on another network Data from devices connected to one communications port can be viewed and controlled by devices connected to another port Cyclic Data Other ProLinx Protocol Driver CC Link Network Protocol Driver Transient Data ProLinx Communication Gateway Internal Database 10 000 total word registers ProLinx Ethernet ary Communication Client Gat Driver aleways Internal Ethernet Database Server Driver Driver Up to 10 000 regs Internal File System Page 8 of 98 ProSoft Technology Inc May 21 2009 CC Link CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device You can also configure the internal database in combination with the Memory Map feature to retrieve and view status and error information generated by the gateway 1 2 CC Link Access to Gateway Database The CCLINK driver supports CC Link slave functionality as a Local Station or Intelligent Device Gateway supported services permit CC Link Master applications to read from and write to the gateway s internal database The internal database of the CC Link gateway is used as the data source to respond to CC Link Master read requests and as the data destination for receiving and holding data from CC Link Master write requests Access to the database is depend
58. e No Change Delay Preset 2000 Comment Definition From Address Reset Tag Reset All OK Cancel 3 7 1 Data Map From Address 0 to highest Status Data address The data area for CCLINK consists of registers 0000 to 9999 There is no special status area for the CCLINK driver For information on data areas and status areas for other protocols refer to the ProLinx Reference Guide Page 38 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device To Address 0 to 9999 The destination for the copy is always within the Register Data area Register Count 1 to 100 This parameter specifies the number of registers to copy Swap Code No Change Word Swap Word and Byte Swap Byte Swap You may need to swap the order of the bytes in the registers during the copy process in order to change the alignment of bytes between dissimilar protocols This parameter is helpful when dealing with floating point or other multi register values as there is no standard method of storage of these data types in slave devices The following table defines the values and their associated operations Eet Rowa x From Address Swap Code To Address Register Count No Change Swap Code No Change Delay Preset 2000 Comment Word Swap Word and Byte Swap Byte Swap Definition Swap Code a Reset Tag Reset
59. ed CC Link Driver Manual May 21 2009 ProSoft Technology ProLinx inRAx ProTalk and RadioLinx are Registered Trademarks of ProSoft Technology Inc All other brand or product names are or may be trademarks of and are used to identify products and services of their respective owners ProSoft Technology Product Documentation In an effort to conserve paper ProSoft Technology no longer includes printed manuals with our product shipments User Manuals Datasheets Sample Ladder Files and Configuration Files are provided on the enclosed CD and are available at no charge from our web site http www prosoft technology com Printed documentation is available for purchase Contact ProSoft Technology for pricing and availability Asia Pacific 603 7724 2080 Europe Middle East Africa 33 0 5 3436 87 20 Latin America 1 281 298 9109 North America 1 661 716 5100 Contents CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device Contents Important Installation INStrUCTIONS e ee eeeeeaeeeee cane ESE RAE EAEE AA EESE 2 YoUrkeedback Pleas6e rm eebe Cie AE sala leo usklo aleno best ines Meets teventines a easto 3 ProSoft Technology Product Documentation 3 1 CC Link 7 1 1 Internal Databases semi fanero ea EEE REAA ESEE AAA cag ebno kia sa eda 8 12 CC Link Access to Gateway Database seesseesseeseesseeste tett n tennttnn
60. ed as a general guide and may not exactly match the configuration debug menus in your own module If there is no response from the module follow these steps 1 Verify that the null modem cable is connected properly between your computer s serial port and the module A regular serial cable will not work 2 On computers with more than one serial port verify that your communication program is connected to the same port that is connected to the module If you are still not able to establish a connection contact ProSoft Technology for assistance ProSoft Technology Inc Page 45 of 98 May 21 2009 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 4 1 3 Navigation All of the sub menus for this module contain commands to redisplay the menu or return to the previous menu You can always return from a sub menu to the next higher menu by pressing M on your keyboard The organization of the menu structure is represented in simplified form in the following illustration Main Menu Child Menu C Child Menu A Child Menu B Child Sub Menu 1 Child Sub Menu 1 Child Sub Menu 2 Child Sub Menu 3 Child Sub Menu 1 Child Sub Menu 2 The remainder of this section shows you the menus available for this module and briefly discusses the commands available to you Keystrokes The keyboard co
61. ence CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device Unlike Cyclic Data transfers which are controlled by the CC Link Master alone and which happen at a timed periodic polling rate Transient Messages are controlled by the originating station which could be a Master Station a Local Station or an Intelligent Device Station Transient Messages are non periodic that is they are not scheduled to happen at a regular interval like Cyclic Data transfers do Transient Messages are sent only when triggered by a logical event In the ProLinx gateway the logical event that will trigger a Transient Message is when a non zero value is stored into a gateway database register designated as the Trigger Register in the Transient Message configuration When a Trigger Register is set to a non zero value the ProLinx firmware will create and transmit a Transient Message that is based on the Command configuration contained in the configuration file that was downloaded to the gateway Once the Transient Message has been sent the firmware will set the Trigger Register value back to zero to indicate the trigger was received and acted upon Trigger Registers can be any valid user memory database address from 0 to 9999 10 000 register database This address range includes the CC Link Cyclic Data area the Special Status Data areas SB and SW the Network Data area and the Transient Data area This means
62. ent improper testing or causes external to the Product such as but not limited to exposure to extremes of temperature or humidity power failure or power surges or vili disasters such as fire flood earthquake wind and lightning Page 92 of 98 ProSoft Technology Inc May 21 2009 Support Service amp Warranty CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device c The information in this Agreement is subject to change without notice ProSoft shall not be liable for technical or editorial errors or omissions made herein nor for incidental or consequential damages resulting from the furnishing performance or use of this material The user guide included with your original product purchase from ProSoft contains information protected by copyright No part of the guide may be duplicated or reproduced in any form without prior written consent from ProSoft 6 3 3 Disclaimer Regarding High Risk Activities Product manufactured or supplied by ProSoft is not fault tolerant and is not designed manufactured or intended for use in hazardous environments requiring fail safe performance including and without limitation the operation of nuclear facilities aircraft navigation of communication systems air traffic control direct life support machines or weapons systems in which the failure of the product could lead directly or indirectly to death personal injury or severe physical or enviro
63. ent on the command type from the remote Master as well as whether the CCLINK driver has been configured to be a Local Station slave or an Intelligent Device slave Before you connect the gateway to a network verify that the network connections are correct and that the gateway is correctly configured You will use ProSoft Configuration Builder PCB to configure the gateway and to transfer the configuration files to and from the gateway ProSoft Technology Inc Page 9 of 98 May 21 2009 CC Link e ProLinx Gateway Install ProSoft Configuration Builder Software CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 2 install ProSoft Configuration Builder Software You must install the ProSoft Configuration Builder PCB software in order to configure the CC Link You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology web site To install ProSoft Configuration Builder from the ProSoft Web Site 1 Open your web browser and navigate to http www prosoft technology com pcb 2 Click the DOWNLOAD HERE link to download the latest version of ProSoft Configuration Builder 3 Choose SAVE or SAVE FILE when prompted 4 Save the file to your Desktop so that you can find it easily when you have finished downloading 5 When the download is complete locate and open the file and then follow the instructions on your screen to install the program If you do not have access to t
64. er of registers to read or write Set this value to 0 to disable the command Swap Code 0 1 2 3 This parameter defines the byte order of each four byte group of data received This parameter is helpful when dealing with floating point or other multi register values as there is no standard byte order for storing these data types The following table describes the values and their associated operations Swap Code Description 0 None No Change is made in the byte ordering 1234 1234 1 Words The words are swapped 1234 341 2 2 Words amp Bytes The words are swapped then the bytes in each word are swapped 1234 4321 3 Bytes The bytes in each word are swapped 1234 2143 Node Address 1 to 64 128 255 The Node Address parameter sets the CC Link Station Number of the device that will be the target for this command Slave Station 1 to 64 01h to 40h h hexadecimal or base 16 numbering system Master Station 0 00h Standby Master Station 128 80h Broadcast to All Station 255 FFh Attribute Code 4or5 There are two command parameters that control what kind of Transient Message the gateway will send the Command Attribute Code and the Command Access Code Note These values are provided for information only are part of the command and cannot be modified ProSoft Technology Inc Page 19 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Sta
65. ered By This Warranty 92 94 What Is Not Covered By This Warranty 92 Writing to Counters Timers or Retentive Timers 32 Writing to the File Register Data Type 34 Writing to the Remote Input RX Data Area 30 Y Your Feedback Please 3 Page 98 of 98 ProSoft Technology Inc May 21 2009
66. es for both Attribute Codes it is the combined Attribute Code Access Code pair which determine the exact type of command transmitted Which Access Code you can use in a command depends on the selected Attribute Code 4 or 5 discussed above Refer to the following tables for a description of the available Access Codes for each Attribute Code Access Codes for Attribute 4 Device Contents Access Code Buffer in the Intelligent Device Station 00h Random access buffer 20h Remote input 21h Remote output 22h Link special relay 63h Link special register 64h Remote register 24h Access Codes for Attribute 5 Device Contents Name Bit Word Unit Access Code Input relay X O Hexadecimal Oth Output relay Y O Hexadecimal 02h Internal relay M O Decimal 03h Latch relay L O Decimal 83h Link relay B O Hexadecimal 23h Page 20 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device Device Contents Name Bit Word Unit Access Code Timer contact T O Decimal 09h Timer coil d O Decimal OAh Timer present value T O Decimal OCh Retentive timer contact ST O Decimal 89h Retentive timer coil ST O Decimal 8Ah Retentive timer present ST O Decimal 8Ch value Counter contact C O Decimal 11h Counter coil C O Decimal 12h Counter present v
67. et Address 2 Benno Comment 0 Disable 1 Conditional Read 2 Conditional Write Reset Tag Reset All OK Cancel Page 30 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the source data to be sent to the Master PLC from gateway source address 0 Comm2 HyperTerminal File Edit View Call Transfer Help De 93 DP 1803 0000 Main Menu Selected DB Menu Selected DATABASE DISPLAY 1300 TO 1399 DECIMAL Connected 18 07 33 ANSIW 57600 6 N 1 The following illustration shows the data in destination X20 word offsets 2 and 3 in the Mitsubishi PLC MI Device batch monitor 1 Device XO Monitor format e Bit amp Word Display e 16bitinteger Value DEC T C set value Reference program C Bi e it i e Bit 32bit integer HEX MAIN C Word 7 Real number single precision Real number double precision C ASCII character Stop monitor Device P EDC mase 17654 3210 1 1 B s Option setup 1001 0000 oo008 oo10 28670 o000 0000 0000 0000 0 oOoO ooll olOoo l 111 847 x30 0000 OOl11 O100 1111 847 Device test x40 o0o00 0000 0000 0000 0 X50 o ororo OOOO Oooo oong 0 x60 0000 0000 o000 ooaa o Close x70 o000 0000 0000 0000 0 xso 0000 0000 0000 0000 0 x30 oo000 0000 0000 0000 0 XOAO o000 0000 0000 0000
68. evice Driver Manual 4 1 2 Using the Diagnostic Window in ProSoft Configuration Builder To connect to the module s Configuration Debug serial port 1 Start PCB and then select the module to test Click the right mouse button to open a shortcut menu D Default Project Default Location BT Vero mocio 2 On the shortcut menu choose DIAGNOSTICS E Default Project Cal Default Location ER h a Delete Rename Copy Paste Choose Module Type Gonfigure Verity View Configuration Write to Gompact Flash Export Configuration File s Load Config File Add External File Download from PC to Device Upload from Device to PC Page 44 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 This action opens the DIAGNOSTICS dialog box Press to open the Main Menu Time 11 58 39 MODULE MENU Display Menu B Block Transfer Statistics C Module Configuration D Database View R Transfer Configuration from PC to Unit S Transfer Configuration from Unit to PC U Reset diagnostic data V Version Information w Warm Boot Module Network Menu Esc ExIt Program Com 1 zl Connection DownLoad Contig Log ToFile Email Log to Support Clear File Close Important The illustrations of configuration debug menus in this section are intend
69. f intelligent Set the number of Y N information device stations including intelligent device specification local stations was set to a stations to a value number of value of 27 or more with the of 26 or less intelligent station information device parameter stations gt 26 B38E Buffer The total size of the transfer Set the total size of Y Y assignment buffers in the station the transfer buffers specification information parameter to less than 4k transfer exceeded 4k words words data size gt 4k words B38F Buffer Writing was performed to a Do not write to the Y Y assignment use prohibited unused area use prohibited specification of the dual port RAM unused area of unused the dual port RAM area B390 Standby The standby master station Specify the standby Y Y master specification parameter was master station station set to a value outside the number to a value specification range of 0 to 64 within the range of station 0 to 64 number error B391 Retry count The retry count parameter Set a value within N N other than 1 was set to a value outside the range of 1 to 7 to 7 the range of 1 to 7 B392 Specification The parameter specifying the Set0or1 Y N inthe event operation in the event of a of a driver driver error was set to a error other value other than 0 and 1 than 0 and 1 B394 Invalid The number of automatic Set a value within Y N number of return stations parameter the range of 1 to automatic was set to a value
70. ference Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device ProLinx Word Address 0040 0043 0044 0047 0048 0051 0052 0055 RWw Words CCLINK RWw Memory Used per Total RWw By Logical Station Station Words Used 4 registers 4 registers 4 registers 8 registers 4 registers 12 registers 4 registers 16 registers 5 3 3 ProLinx Local Station Network Data Area Breakdown When the ProLinx CCLINK driver is configured as a Local Station it will receive a copy of the RX RWr RY and RWw data from every slave on the CC Link network including its own data This data copy is stored in a Network Data area as shown in the ProLinx CCLINK Memory Map Overview The following chart shows how this Network Data area is broken down by data type and Logical Station Number You will notice that once again the data is grouped into blocks of memory based on the CC Link data type ProLinx Word Address 0500 0501 0502 0503 0504 0505 0506 0507 0508 625 0626 0627 CCLINK Network RX Data Memory by Logical Station Number Network RX Words Used per Station Logical Station Number 1 2 registers Logical Station Number 2 2 registers Logical Station Number 3 2 registers Logical Station Number 4 2 registers Logical Station Number 5 to Logical Station Number 63 2 registers per Logical Station Logical Station Number 64 2 registers
71. fg Off Normal operation Amber Solid The unit is in the configuration mode The configuration file is being read and the unit is implementing the configuration values and initializing the hardware This will occur during power cycle or after pressing the reset button It also occurs after a cold warm boot command is received Err Off Normal operation Flashing An error condition has been detected and is occurring Check configuration Solid Red This condition is indicative of a large number of errors in the application interface communications The module s error flag is cleared at the start of each command master client or receipt of data slave adapter server 4 2 2 CC Link Interface Specific LEDs LED State Description RUN Green Indicates CC Link hardware is operating normally Off Indicates a watchdog timer error possible hardware failure L RUN Green Indicates successful data link execution L ERR Red Indicates a data link communication error Flash Indicates station number or mode changing during operation SD Green Indicates the gateway is sending CC Link data RD Green Indicates the gateway is receiving CC Link data ERR Red Indicates a switch setting error L ERR also turns on Master overlap Parameter error Communication error ProSoft Technology Inc May 21 2009 Page 47 of 98 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intell
72. g Suit Any action for breach of warranty must be commenced within 39 months following shipment of the Product Page 94 of 98 ProSoft Technology Inc May 21 2009 Support Service amp Warranty CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 6 3 8 No Other Warranties Unless modified in writing and signed by both parties this Warranty is understood to be the complete and exclusive agreement between the parties suspending all oral or written prior agreements and all other communications between the parties relating to the subject matter of this Warranty including statements made by salesperson No employee of ProSoft or any other party is authorized to make any warranty in addition to those made in this Warranty The Customer is warned therefore to check this Warranty carefully to see that it correctly reflects those terms that are important to the Customer 6 3 9 Allocation of Risks This Warranty allocates the risk of product failure between ProSoft and the Customer This allocation is recognized by both parties and is reflected in the price of the goods The Customer acknowledges that it has read this Warranty understands it and is bound by its Terms 6 3 10 Controlling Law and Severability This Warranty shall be governed by and construed in accordance with the laws of the United States and the domestic laws of the State of California without reference to its conflicts
73. he Internet you can install ProSoft Configuration Builder from the ProSoft Solutions CD ROM included in the package with your CC Link To install ProSoft Configuration Builder from the Product CD 1 Insert the ProSoft Solutions Product CD into the CD drive of your PC Wait for the startup screen to appear 2 Onthe startup screen click PRODUCT DOCUMENTATION This action opens an explorer window 3 Click to open the UTILITIES folder This folder contains all of the applications and files you will need to set up and configure your CC Link 4 Double click the PROSOFT CONFIGURATION BUILDER SETUP program and follow the instructions on your screen to install the software on your PC Note Many of the configuration and maintenance procedures use files and other utilities on the CD ROM You may wish to copy the files from the Utilities folder on the CD ROM to a convenient location on your hard drive Page 10 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 Configure the Gateway In This Chapter Using the Help System AAA 11 Adding EE EC EEN 12 Se Mod le E NiE Sae a araa rr nO PO p PO OTO 13 se Comment GET 13 CC Link Protocol Configuration eies e sesesseeesseeenaneteao 14 Configuring Transient Messages 17 se Data Map as sara do kai an kab don e ein aa e 37 Printing a Co
74. henever you see CCLINK this refers to the ProLinx CCLINK protocol driver implementation Whenever you see CC Link this refers to the protocol in general or to the protocol implementation on the Mitsubishi PLC system These difference references allow an easy way to identify exactly which CCLINK CC Link protocol implementation is being discussed at that point in this document CC Link Overview 5 2 1 Types of CC Link Data Transfers The CC Link protocol allows for two major ways to transfer process data Cyclic Data transmission and Transient Message transmission Cyclic Data transmission involves the movement of specific amounts of binary and register input and output data to and from the Master Station and all Slave stations on the network at a regular interval and in a continuously repeating cycle Such Cyclic Data transmission is automatic and happens under the control of the CC Link network Master Transient Messages allow for data to be transmitted on the network in variable amounis at irregular intervals based on specific logical events or register values and are controlled by the Master Station Local Station or Intelligent Device that initiates the message Transient Messages allow for the movement of data that might not otherwise be available in normal Master Slave Cyclic Data transfers Not all CC Link Slave devices are capable of generating or responding to Transient Messages but certain types of Transient Messages are
75. igent Device Driver Manual 4 3 Status Data No Name Description B0000 Data link restart Restarts the data link stopped by SB0002 REG 0 bit0 OFF No restart instruction ON Restart B0001 Refresh instruction at standby Gives a refresh instruction of cyclic data after switching to the REG 0 bit1 master switching standby master station OFF No instruction ON Instruction SB0002 Data link stop Stops the data link of the host However this function should be REG 0 bit2 executed carefully since execution of this function at the master station will stop the whole system OFF No stop instruction ON Stop instruction SB0004 Temporary error invalid Defines the station specified in SW0003 to SW0007 as a temporary REG 0 bit4 request error invalid station OFF No request ON Request B0005 Temporary error invalid cancel Cancels the station specified in SW0003 to SW0007 from a REG 0 bit5 request temporary error invalid station OFF No request ON Request SB0008 Line test request Performs a line test on the station specified in SW0008 REG 0 bit8 OFF No request ON Request B0009 Parameter setting test request Reads the parameter information of the actual system configuration REG 0 bit9 and sets it to the parameter setting test area OFF No request ON Request SB000C Forced master switching Forcibly shifts the master station function to the specified master REG 0 bit12 stat
76. ime of transient other stations sending transmission whether or not a temporary error invalid station is specified or if the host station is stopped B202 Data length A line error may have Check the line Set Y Y error occurred if improper packet a data length that data length is identified at the fulfills required time of transient conditions transmission B203 CT value The CT value inthe CC Link Checkthevaluein Y Y error transient frame is wrong the CC Link transient frame B204 Failed to The buffer area could not be Wait a while and Y Y ensure error ensured at the time of error then retransmit response response transmission Transient send buffer operation overload status B205 Target The target station was notan Check the target Y Y station is not intelligent device station station intelligent device station B301 Unable to A line test request was Perform a line test Y Y request issued while the data link is while the data link processing stopped is being due to link established stop B302 Specified The station number specified Specify a station Y N station for a temporary error invalid number that is not number request or temporary error greater than the exceeds the invalid cancel request highest allowable highest exceeded the highest station number allowable allowable station number station number B303 No station No station number is Specify any station Y N number specified for a temporary numbers SW0003 specifie
77. in only Master Stations and Local Stations Network RX Data This data area contains a copy of the entire Master Station RX Data Area that is all the cyclic binary data received by the Master Station from all the Slave Stations on the network Network RY Data This data area contains a copy of the entire Master Station RY Data Area that is all the cyclic binary data sent from the Master Station to all the Slave Stations on the network Network RWr Data This data area contains a copy of the entire Master Station RWr Data Area that is all the cyclic register data received by the Master Station from all the Slave Stations on the network Network RWw Data This data area contains a copy of the entire Master Station RWw Data Area that is all the cyclic register data sent from the Master Station to all the Slave Stations on the network One important concept to keep in mind is that the designations input data and output data are always specified from the point of view of the station on which the data resides That is on any given station input data will always be data that station received from another station and output data will always be data destined to be sent to another station For example a Slave station s RY binary output data area will be used to hold data that will be sent from the Slave to the network Master s RX binary input data area Likewise the Master s RY binary output data area will be used to hold da
78. in the Wait a while and Y Y storage transient storage buffer at the transmit the data buffer error time of transient transmission once again Check exceeding 1K the cable etc B801 Access code A nonexistent access Set a correct N Y setting error code property was set command type B802 Access code A nonexistent access code Use a correct Y Y error was used access code B803 Data points The number of data points is Gel the number of Y Y error out of range data points to a value within the range of 1 to 960 bytes B804 Attribute The attribute definition is Review the attribute Y Y definition invalid Or transient definition Check error transmission was performed the specification of Transient even though the target the target station transmission station does not support number unsupported transient transmission station specification error B805 Data amount The data amount is out of Set it to a value Y Y error range within the range of 1 to 100 for writing and within the range of 1 to 160 for reading Page 68 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B807 Address The address number i
79. in the gateway s database destination address 7002 Comm8 HyperTerminal File Edit View Call Transfer Help 0 0 DATABASE DISPLAV 7000 TO 7099 DECIMAL GC E GE E EE E GE H H H H H H H H H H 256 ooDODSSODSOSDSO GEET S2eeqaooooceoom GEET SoDOSSSDSODLO Connected 0 12 21 ANSIW 57600 8 N 1 GC E GE E EE E GE eooooooo0 GC E GE E EE E GE ProSoft Technology Inc May 21 2009 Page 29 of 98 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Command Attribute 5 This set of transient messages can be issued between the gateway and the Master You can also issue these commands from the gateway to other slave stations on the network that can receive and respond to Transient Messages Most of these examples show messages between a ProLinx gateway and a Mitsubishi PLC configured as a CC Link Master For a complete list of potential Access Codes refer to Access Codes for Attribute 5 page 20 Writing to the Remote Input RX Data Area The following example shows how to send a conditional write command using Attribute Code 5 Access Code 01h which writes to the Remote Input RX data area or a Local Station or the X data area in the Mitsubishi Master PLC Enable Internal Address 1300 Trigger Register 5000 Register Count 2 Swap Code No Change Node Address 0 Attribute Code 5 Access Code Input relay 01H Offs
80. inx gateway can be configured as one two three or four logical stations Therefore the RX RWr RY and RWw data areas had to be sized to hold enough data for four logical stations The following table shows where data for each logical station can be found in each data type area This same data mapping is used whether the ProLinx CCLINK driver is configured as an Intelligent Station or as a Local Station ProLinx Word CCLINK RX Memory RX Words Used Total RX Words Address by Logical Station per Station Used 0000 First Logical Station 2 registers 2 registers 0001 0002 Second Logical Station 2 registers 4 registers 0003 0004 Third Logical Station 2 registers 6 registers 0005 0006 Fourth Logical Station 2 registers 8 registers 0007 ProLinx Word CCLINK RWr Memory RWr Words Used Total RWr Address By Logical Station per Station Words Used 0010 4 registers 4 registers 0013 0014 4 registers 8 registers 0017 0018 4 registers 12 registers 0021 0022 4 registers 16 registers 0025 ProLinx Word CCLINK RY Memory RY Words Used Total RY Address By Logical Station per Station Words Used 0030 i i First Logical Station 2 registers 2 registers 0031 0032 Second Logical Station 2 registers 4 registers 0033 0034 i f f Third Logical Station 2 registers 6 registers 0035 0036 Fourth Logical Station 2 registers 8 registers 0037 Page 76 of 98 ProSoft Technology Inc May 21 2009 Re
81. ion OFF No request ON Request B0010 Number of retries clear Clears the number of retries REG 1 bit0 OFF Reset not instructed ON Reset instructed B0011 Number of transmission errors Clears the number of transmission errors REG 1 bit1 clear OFF Reset not instructed ON Reset instructed B0014 Transient transmission clear Clears transient transmission errors REG 1 bit4 OFF Reset not instructed ON Reset instructed B0015 Transient transmission Prohibits transient REG 1 bit5 instruction OFF Overwrite ON Hold B0040 Data link restart acceptance Indicates the acceptance status of the data link restart instruction REG 4 bit0 OFF Not accepted ON Start instruction accepted Page 48 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SB0041 Data link restart completed Indicates the acceptance completed status of the data link restart REG 4 bit1 instruction OFF Not completed ON Start completed SB0042 Refresh instruction Indicates the acceptance status of the refresh instruction at standby REG 4 bit2 acceptance status at standby master switching master switching OFF Not executed ON Instruction accepted SB0043 Refresh switching completed Indicates the execution completed status of the refresh switching at R
82. it awhile and Y Y awaiting transient send buffer then retransmit data acquisition exceeded the Transient exceeded maximum operation overload maximum status B773 Receive The number of data awaiting Wait a while and be Y buffer transient receive buffer then retransmit awaiting acquisition exceeded the Transient data maximum operation overload exceeded status maximum ProSoft Technology Inc May 21 2009 Page 67 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B774 Target The target station is not an Check ifthe target Y Y station not intelligent device station station is an intelligent intelligent device device station B778 Response No response was received Check the Y Y timeout from the requested station requested gateway and cables B781 Faulty Faulty response data was Check the cable Y Y response received etc data reception B782 Station The transmission destination Check the station Y Y number station and transmission number of the specification source station were the same transmission error when other station destination Or connection was specified change the setting to host station connection B783 Transient An error occurred
83. les show how to read and write data from the CC Link network using Transient Messages These examples show several of the most typical types of Transient Messages you might need to use They are not meant to be an exhaustive reference of all possible Attribute Code Access Code combinations only to present a few well chosen representative ones Command Attribute Code 4 Command Attribute Code 4 is used to access the network data buffer on the CC Link hardware interface card on the ProLinx gateway or on a remote Station The lowest Offset Address for all listed Access Codes will be zero except for Access Code 24h which must be treated differently An Access Code 24h write command accesses the write register area of the data buffer which starts at Offset Address 0 00h An Access Code 24h read command accesses the read register area of the data buffer which starts at Offset Address 256 100h For a list of the Access Codes available for Attribute Code 4 refer to Access Codes for Attribute 4 page 20 Note Access Codes 21h 22h and 63h access binary bit data Refer to note on Bit level Access page 21 Edit Row 1 Lx Enable Conditional Read Node Address Internal Address 6000 Trigger Register 5100 la Register Count 1 Swap Code No Change Node Address 0 Attribute Code Access Code Remote register 24H Offset Address 256 ena Comment Slave Station 1 to 64 40H Master Station 00H Standby Maste
84. ligent Device Station B002 Link stop Link stop was implemented Change the Y N error when the link was already interface board stopped B102 Link error A line error has occurred Check the interface Y Y board B103 Setting value The setting value of the Change the Y N error macro function is invalid interface board B104 Start error Link startup was Change the Y N implemented when the link interface board was already started B105 Stop error Link stop was implemented Change the Y N when the link was already interface board stopped B110 Unable to A line error has occurred Check the line Y Y receive transient data B111 Transient A line error has occurred Check the line Y Y data receiving order error B112 Transient A line error has occurred Check the line Y Y data length error B113 Transient A line error has occurred Check the line Y Y data ID error B115 Link error A line error has occurred Check the line Y Y ProSoft Technology Inc May 21 2009 Page 59 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B201 Relevant A data link error has occurred Check the status of Y Y station error at the relevant station at the communication with when t
85. ligent device station Random access buffer Range 0 1536 Remote input Range 0 127 Remote output Range 0 127 Remote register For RWw Range 0 255 Reset Tag Reset All OK Cancel Page 28 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device The following illustration shows the source data in a Mitsubishi PLC W Device batch monitor 3 Device SBO SB10 8B20 SB30 SB40 SBSO SB60 SB70 SB80 SB90 SBOAO SBOBO sBoco SBODO SBOEO SBOFO o o o o o o oooo oo oo oo oO oO oOo oo oo 09 GG oOo oOo oO oD o o o o o o o o o o o o o o oo oo oo GGG GG GoD oo oo oo oo oo oo oO oO oo oo oo oo oo oo oO oO Monitor format e Bt word Display e 16bitinteger Value DEC C Bit C 32bit integer C HEX C Word C Real number single precision C Real number double precision ASCII character Device F EDC HAS 47654 43210 I I o o o o o oly o o o o D oo OOO goood D oo OOO oooo D oo goood oooo D oo oooo goood D ol DOGO ooOo 256 Oo DOGO looo 8 Oo DOGO oooOo D oo oooo oooo D Do DOOOO oooo D Do oooo ooOo D oa OOO oaoa D oo OOOQO oooo D oo 0000 0000 D oO oooo goood D T C set value Reference program MAIN Stop monitor Option setup Device test Close EEE The following illustration shows the data
86. m Transient Message transmissions to both the CC Link network Master Station and to other slave stations on the network operating as if it is configured as a Local Station Transmission Speed Defines the transmission speed of the data link Value 156kbps 625kbps 2 5Mbps 5Mbps 10Mbps Stations Occupied 1 to 4 Configures the number of logical slave stations used by a single physical slave station on the network Choose from one to four stations depending on the amount of Cyclic Data to be transmitted Times Setting 1 for all CC Link versions Note The CCLINK driver currently supports only CC Link specification version 1 10 and below Therefore no other Times Settings are possible Alive Check Configures whether or not to perform Alive Check Enable Disable This function enables the check to assure normal operation between the driver software and the Q50BD CCV2 CC Link hardware interface board Page 16 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 6 Configuring Transient Messages Transient Message Commands send non periodic asynchronous data between the Master Station Local Stations and Intelligent Devices The gateway can issue Transient Messages whether it is configured as a Local Station or as an Intelligent Device For additional information refer to CC Li
87. mal base 10 value This parameter sets the address offset of a memory area in the CC Link hardware memory buffer or in the memory database area on a remote station that will be affected by the command The values to use here will vary based on the Command Attribute Code Command Access Code the type of data to be accessed and the location of that data in the target data area or device Even though many CC Link devices specify memory addresses using hexadecimal numbers this parameter must always be entered into the PCB Command configuration as the decimal base 10 equivalent of any hexadecimal address value If necessary convert any hexadecimal addresses to decimal numbers before entering the value into this parameter For additional details refer to Transient Message Bit level Access page 21 Example H X100h is the start of your Remote Inputs RX data area in a CC Link Master PLC then The Offset Address to the beginning of the RX data area will be 0 to read the data from X100h through X10Fh To read from the Master RX bit addresses starting at X110h through X11Fh use Offset Address 1 To read X120h through X12Fh use Offset Address 2 and so on Comment 0 to 35 alphanumeric characters Page 22 of 98 ProSoft Technology Inc May 21 2009 Configure the Gateway CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 3 6 2 Example Commands The following command examp
88. master specification or a system that does not station exists in the error have a standby master system station B30D Initial status Temporary error invalid Issue the requests Y N station specification and SB after the data link is requests were issued before started starting the data link B30E Local station The execution of the function Execute the N Y not which is started by SB SW function from the supported and executable at the master master station station only was attempted at the local station B310 Data link A data link restart request Execute the data Y Y restart error SB0000 was executed for link restart request the station that was SB0000 for the performing a data link station that has stopped a data link with a data link stop request SB0002 B311 Data link A data link stop request Execute the data Y Y stop error SB0002 was executed for link stop request the station that had stopped SB0002 for the a data link station that is performing a data link B312 Standby A forced master to standby Execute the request Y N master master switching request after starting the station SBO00C was issued in a data link of the absence system where no standby standby master error master station exists or station where the standby master station had become faulty B313 All stations A forced master to standby Execute the request Y N faulty master switching request after starting the SBO00C was issued in a data link of the system
89. mmands on these menus are almost always non case sensitive You can enter most commands in lower case or capital letters The menus use a few special characters that must be entered exactly as shown Some of these characters will require you to use the SHIFT CTRL or ALT keys to enter them correctly For example on US English keyboards enter the command as SHIFT Also take care to distinguish capital letter l from lower case letter L L and number 1 likewise for capital letter O and number O Although these characters look nearly the same on the screen they perform different actions on the module Page 46 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device 4 2 LED Indicators 4 2 1 Base Module LEDs LED State Description Power Off Power is not connected to the power terminals This LED is hardware driven so it only requires power to operate Green Solid Power is connected to the power terminals Verify that the other LEDs for operational and functional status Fault Off Normal operation Red Solid A critical error has occurred Program executable has failed or has been user terminated and is no longer running Press Reset p b or cycle power to clear error If not use the Debug procedures described later in this manual C
90. n amp Intelligent Device Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B601 Command A nonexistent command type Seta correct Y Y type setting was set command type error B602 Send buffer The send buffer could notbe Wait awhile and e Y acquisition obtained then transmit failed Transient operation overload status B603 Send buffer The send buffer could notbe Wait awhile and Y Y acquisition obtained then transmit failed Transient operation overload status B604 Line test in Transient transmission was Wait a while and Y N progress attempted when a line test then retransmit was in progress B605 Unable to The transient buffer could not Wait a while and Y Y access be obtained then retransmit transient buffer B606 Unable to The system information could With the current Y Y access not be obtained system unable to system access system information information is inconceivable B60C Faulty An error was detected in Replace the slave Y N station response data as the result station subjected to detected of line test execution the line test with line test response data error B771 Transient There are too many transient Wait a while and te Y request requests to the station then retransmit overload Transient error operation overload status B772 Send buffer The number of data awaiting Wa
91. nfiguration Elle 40 Downloading a File from PC to the Gateway rito 40 3 1 Using the Help System Most of the information needed to help you use ProSoft Configuration Builder is provided in a Help System that is always available whenever you are running ProSoft Configuration Builder The Help System does not require an Internet connection To view the help pages start ProSoft Configuration Builder open the HELP menu and then choose CONTENTS ProSoft Technology Inc Page 11 of 98 May 21 2009 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Configure the Gateway Driver Manual 3 2 Adding a gateway To add a gateway to your project 1 Double click the DEFAULT MODULE icon to open the CHOOSE MODULE TYPE dialog box Choose Module Type E Product Line Filter E Al PLX9000 C PpLx6000 C MVI46 C mvIise C MVIZi C PLXS000 C PTQ C MVIG9 MVIS6E MVI94 STEP 1 Select Module Type STEP 2 Define Ports Status Section Search Module Type Module Definition Action Required 2 On the CHOOSE MODULE TYPE dialog box select the gateway type Or 1 Open the PROJECT menu and choose LOCATION 2 On the LOCATION menu choose ADD MODULE To add a gateway to a different location 1 Right click the LOCATION folder and choose ADD MODULE A new gateway icon appears Or 1 Select the LOCATION icon 2 From the PROJECT menu select LOCATION then sele
92. ng Check the cable Y N station error tested stopped and the relevant communication during the station line test BA1B All stations A communication error Check the cables Y N error occurred at all stations during line test 1 BBC1 Mode The mode switch setting is Check the mode Y Y number outside the setting range switch error ProSoft Technology Inc May 21 2009 Page 69 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station BBC5 Master The master station already Reduce the number Y station exists Alternatively line of master stations duplication noise was detected at power op the same line to error on one Or check the line status BBC7 MFP Hardwa The MFP chip state does not Replace the user Y re error change to the ready state circuit board detected BD87 User circuit A WDT error occurred for Replace the user Y board error NMI circuit board detected BF01 Send buffer Data was set in a send buffer Check the transfer Y storage not assigned by the value set buffer assignments location error for DA and DA value BF02 Transfer The transfer buffer size was Check the transfer Y buffer size not enough to store the buffer size error header info
93. nk Transient Messaging Concepts page 82 3 6 1 CCLink Command Attribute x The CCLINK COMMAND ATTRIBUTE 4 and CCLINK COMMAND ATTRIBUTE 5 sections of the configuration file allow you to selectively send Transient Messages between the gateway the CC Link Master and other Local Stations and Intelligent Devices on the CC Link network The gateway executes the commands in numerical order Disabled commands are skipped To configure Transient Message commands double click the COMMAND ATTRIBUTE 4 or COMMAND ATTRIBUTE 5 sections of the gateway configuration in PCB To add a command to the list click the ADD Row button MI Edit CCLink Commands xi Enable Internal Address Trigger egister Register Count Swap Code Node Address Attribute Code Acce 0 0 0 No Change 1 4 Ren 3 Enable Value Status OK Set to Defaults Add Row Insert Row Delete Row Move Up Move Down Edit Row Copy Row Paste Ray OK Cancel ProSoft Technology Inc Page 17 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual To edit a command click the EDIT Row button This action opens the EDIT dialog box where you configure the parameters for the command Enable Internal Address 1300 Trigger Register 0 z Register Count 0 Swap Code No Change Node Address 1 Attribute Code 4 Access Code Remote register 24H Offset Address 0
94. nmental damage collectively high risk activities ProSoft specifically disclaims any express or implied warranty of fitness for high risk activities 6 3 4 Intellectual Property Indemnity Buyer shall indemnify and hold harmless ProSoft and its employees from and against all liabilities losses claims costs and expenses including attorney s fees and expenses related to any claim investigation litigation or proceeding whether or not ProSoft is a party which arises or is alleged to arise from Buyer s acts or omissions under these Terms or in any way with respect to the Products Without limiting the foregoing Buyer at its own expense shall indemnify and hold harmless ProSoft and defend or settle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party ProSoft makes no warranty that the product is or will be delivered free of any person s claiming of patent trademark or similar infringement The Buyer assumes all risks including the risk of suit that the product or any use of the product will infringe existing or subsequently issued patents trademarks or copyrights a Any documentation included with Product purchased from ProSoft is protected by copyright and may not be duplicated or reproduced in any form without prior written consent from ProSoft b ProSoft s technical specifications and documentation that
95. no decimal point fractions allowed and the integer result of this division then becomes the Offset Address for the command Example Input Relay 5Ah 90 decimal 16 5 625 Bit 10 of register 5 Offset word Address 5 When dealing with hexadecimal hex or h addresses a shortcut alternative to doing this calculation would be to drop the right most digit in the hex address and convert the remaining digit or digits to their decimal equivalent ProSoft Technology Inc Page 21 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual Example Timer coil 01CAh Drop the A amp convert 01Ch to decimal Offset word Address 28 To access individual bits you will have to read the entire word containing the bit or bits you wish to access If you wish to change the value of specific bits you will need read the entire word containing the bit or bits you wish to change employ a bit masking technique to change only the bits you want to change and then write back the entire data word containing the changed bits WARNING Anyone creating and using Transient Messages to write bit level data must use extreme care must be exercised with any bit masking procedure to avoid unwanted data changes that could result in unexpected equipment operation which might cause damage to equipment or injury to personnel Offset Address 0 and up always entered as a deci
96. ode T5 I3G Ex nA nL IIC T5 X 0 C Ta lt 60 C II Equipment intended for above ground use not for use in mines 3 Category 3 equipment investigated for normal operation only G Equipment protected against explosive gasses ProLinx Gateways with Ethernet Ports Series C ProLinx Gateways with Ethernet ports do NOT include the HTML Web Server The HTML Web Server must be ordered as an option This option requires a factory installed hardware addition The HTML Web Server now supports 8 MB file storage for HTML files and associated graphics files previously limited to 384K 32K maximum HTML page size previously limited to 16K To upgrade a previously purchased Series C model Contact your ProSoft Technology distributor to order the upgrade and obtain a Returned Merchandise Authorization RMA to return the unit to ProSoft Technology To Order a ProLinx Plus gateway with the WEB option Add WEB to the standard ProLinx part number For example 5201 MNET MCM WEB Your Feedback Please We always want you to feel that you made the right decision to use our products lf you have suggestions comments compliments or complaints about the product documentation or support please write or call us ProSoft Technology 5201 Truxtun Ave 3rd Floor Bakersfield CA 93309 1 661 716 5100 1 661 716 5101 Fax http www prosoft technology com Copyright ProSoft Technology Inc 2009 All Rights Reserv
97. on station including occupied number station numbers error B309 Station The station number of the Check the Y N number connected gateway was gateways station duplication duplicated including numbers occupied station numbers Note that this excludes duplication of the head station number Inconsistenc The station types of the Set correct Y N y between gateway are different from parameters connected those set as parameters or gateway and the number of occupied parameter stations of the gateway is connected greater than the parameter gateway gt Example parameter Parameter Setting Connected gateway Remote Remote device I O Remote Intelligent device VO Remote device ProSoft Technology Inc May 21 2009 Page 61 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual Error Code Error Error Cause Details Corrective Action Detectability Hexadecimal Master Local Station Station or Intelligent Device Station B30B Inconsistenc The mounting state does not Match the mounting Y N y between match the corresponding status with connected parameters A station corresponding gateway and whose station number is set parameters parameter as a parameter is not mounted B30C Switching SB0001 was turned ON in Check if the Y Y station other than the master station standby
98. on 1 10 Local Station amp Intelligent Device Driver Manual 6 2 Return Material Authorization RMA Policies and Conditions The following RMA Policies and Conditions collectively RMA Policies apply to any returned Product These RMA Policies are subject to change by ProSoft without notice For warranty information see Limited Warranty In the event of any inconsistency between the RMA Policies and the Warranty the Warranty shall govern 6 2 1 All Product Returns a In order to return a Product for repair exchange or otherwise the Customer must obtain a Returned Material Authorization RMA number from ProSoft and comply with ProSoft shipping instructions b In the event that the Customer experiences a problem with the Product for any reason Customer should contact ProSoft Technical Support at one of the telephone numbers listed above page 89 A Technical Support Engineer will request that you perform several tests in an attempt to isolate the problem If after completing these tests the Product is found to be the source of the problem we will issue an RMA c All returned Products must be shipped freight prepaid in the original shipping container or equivalent to the location specified by ProSoft and be accompanied by proof of purchase and receipt date The RMA number is to be prominently marked on the outside of the shipping box Customer agrees to insure the Product or assume the risk of loss or damage in transit
99. op of the tree and one or more sub menus for each menu command The first menu you see when you connect to the module is the Main menu Because this is a text based menu system you enter commands by typing the command letter from your computer keyboard in the diagnostic window in ProSoft Configuration Builder PCB The module does not respond to mouse movements or clicks The command executes as soon as you press the command letter you do not need to press ENTER When you type a command letter a new screen will be displayed in your terminal application 4 1 1 Required Hardware You can connect directly from your computer s serial port to the serial port on the module to view configuration information perform maintenance and send upload or receive download configuration files ProSoft Technology recommenas the following minimum hardware to connect your computer to the module 80486 based processor Pentium preferred 1 megabyte of memory At least one UART hardware based serial communications port available USB based virtual UART systems USB to serial port adapters often do not function reliably especially during binary file transfers such as when uploading downloading configuration files or module firmware upgrades A null modem serial cable ProSoft Technology Inc Page 43 of 98 May 21 2009 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intelligent D
100. ptance status Indicates the acceptance status of the line test request REG 4 bit12 OFF Not executed ON Instruction accepted SB004D Line test completed status Indicates the completed status of the line test REG 4 bit13 OFF Not executed ON Test completed SB004E Parameter setting test Indicates the acceptance status of the parameter setting test request REG 4 bit14 acceptance status OFF Not executed ON Instruction accepted ProSoft Technology Inc May 21 2009 Page 49 of 98 CC Link e ProLinx Gateway Diagnostics and Troubleshooting CC Link version 1 10 Local Station amp Intelligent Device Driver Manual No Name Description SB004F Parameter setting test Indicates the completed status of the parameter setting test REG 4 bit15 completed status OFF Not executed ON Test completed B0050 Offline test status Indicates the execution status of the offline test REG 5 bito OFF Not executed ON During execution SB005A Master switching request Indicates the standby master station s acceptance status of the REG 5 bit10 acceptance master switching request from the line OFF Not accepted ON Instruction accepted Switching request from the line accepted SB005B Master switching request Indicates the switching completed status of the standby master REG 5 bit11 completed station as the master station OFF Not completed ON Completed SB005C Forced master swi
101. pts 14 17 82 Command Attribute 5 30 Command Attribute Code 4 23 Comment 22 Comment Entries 13 Conditional Read Example 24 Conditional Write Example to Other Than a Master Station 35 Configure the Gateway 11 Configuring Transient Messages 17 Controlling Law and Severability 95 D Data Map 37 DB9 to Mini DIN Adaptor Cable 09 87 Delay Preset 40 Diagnostics and Troubleshooting 43 Disclaimer of all Other Warranties 94 Disclaimer Regarding High Risk Activities 93 Downloading a File from PC to the Gateway 40 E Enable 15 18 Entering the Command Offset Address 28 Error Data 59 Example Commands 23 F From Address 38 Functional Specifications CC Link 85 G General 82 General Overview 71 General Specifications 85 H Hardware Specifications 86 How to Contact Us Technical Support 89 90 Important Installation Instructions 2 Install ProSoft Configuration Builder Software 10 Intellectual Property Indemnity 93 Internal Address 18 Internal Database 8 K Keystrokes 46 L LED Indicators 47 Limitation of Remedies 94 LIMITED WARRANTY 91 M Module Entries 13 N Navigation 46 No Other Warranties 95 Node Address 19 O Offset Address 22 P Pinouts 2 87 Printing a Configuration File 40 Procedures for Return of Units Out of Warranty 90 Procedures for Return of Units Under Warr
102. r Code SW0069 Loading status The station number duplication and parameter consistency of each REG 103 gateway are stored 0 Normal From 1 on Error code Refer to 4 1 Error Code Details are stored into SW0098 9B and SWO09C 9F SW006A Switch setting status The switch setting status is stored 0 Normal From 1 on Error code REG 104 Refer to 4 1 Error Code SW006B Host operation status The host operation status is stored REG 105 0 Normal 1 Transmission path error detection 2 Parameter error detection 3 CRC error detection 4 Time out error detection 5 Abort error detection 6 Setting error detection 7 Other error detection SW006C Host data link status The host data link status is stored 0 Initial status REG 106 1 Parameter reception waiting status local station only 2 During data link 3 During data link stop 4 During disconnection no polling request 5 During disconnection line error 6 During disconnection other 7 During line test execution 8 During parameter setting test execution 9 During automatic return processing FF During reset SW006D Maximum link scan time The maximum value of link scan time is stored 1ms unit REG 107 SW006E Present link scan time The present value of link scan time is stored 1ms unit REG 108 SWO006F Minimum link scan time The minimum value of link scan time is stored 1ms unit REG 109 SWO0070 Total number of stations The last station number set in the parameter is sto
103. r Codes is stored SW0058 REG 86 Interface board status The interface board status is stored b b F D UI LINE ERROR bit4 TIME ERROR bit5 PRM ERROR bit6 MIS ERROR bit7 SW ERROR bit8 LOCAL bitB gt S MST bitc gt MST bitD ERR bit LI RUN bitF ProSoft Technology Inc May 21 2009 Page 53 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual No Name Description SW0059 Transmission speed setting The baud rate setting is stored REG 87 d ITU O10 10M bit3 5M bit4 2 5M bit5 625K bit6 156K bit7 SW005A Built in board switch setting The switch setting of the built in board is stored REG 88 status 0 OFF 1 ON b b b 2 1 0 e SW1 SW2 SW3 SW005D Forced master switching The execution result of the forced master switching instruction by REG 91 instruction result SB000C is stored 0 Normal From 1 on Error code Refer to 4 1 Error Codes SW0060 Mode setting status The mode setting status is stored REG 94 0 Online 2 Offline 3 Line test 1 4 Line test 2 6 Hardware test w0061 Host station No The currently operating host station number is stored REG 95 0 Master station 1 to 64 Local station intelligent device station SW0062 Operation setting status The operation setting stat
104. r Station 128 80H Broadcast to All Station 255 FFH Reset Tag Reset All OK Cancel ProSoft Technology Inc Page 23 of 98 May 21 2009 CC Link e ProLinx Gateway Configure the Gateway CC Link version 1 10 Local Station amp Intelligent Device Driver Manual You can view the Command List from the gateways Config Debug menu The following illustration shows an example Command List for commands 0 to 9 Comm2 HyperTerminal File Edit Yiew Call Transfer Help COMMAND DATABASE DISPLAY COMMANDS O TO 9 TYPE INTADD TRIGR COUNT SWAP NODE ATTR ACCESS OFFSET LASTERR 00 51080 1 0024h 0100h 000Qh 0024h 0100h 000Qh 0020h 0000h 000Qh 0020h Hub 0080h 0020h 00Q1h 0000h 0021h Hub 0000h 0021h 0OOQ1h 0000h 0022h 0000h HHH 0022h 0001h 000Qh 0063h OOBOh 0008h rR ROR ROR RO ROR Gi GE E E GE E GE CC CnCne ee E Re i Re ee i P 1 1 1 2 1 1 1 1 1 1 lt Connected 0 01 04 ANSIW 57600 8 N 1 To execute any command entered in the list use the database Trigger Register which can be controlled by the other protocol on the gateway Set the Trigger Register to any non zero value to cause the command to be transmitted The Trigger Register value will reset to zero every time the associated command is executed Conditional Read Example This example issues a Transient Message conditional read with Attribute Code 4 Access Code 24h This command attempts to read data from the Master at offset
105. r defect are warranteed in the terms specified above for new Product provided said warranty will be for the period remaining on the original new equipment warranty or if the original warranty is no longer in effect for a period of 90 days from the date of repair What Is Not Covered By This Warranty ProSoft makes no representation or warranty expressed or implied that the operation of software purchased from ProSoft will be uninterrupted or error free or that the functions contained in the software will meet or satisfy the purchaser s intended use or requirements the Customer assumes complete responsibility for decisions made or actions taken based on information obtained using ProSoft software This Warranty does not cover the failure of the Product to perform specified functions or any other non conformance defects losses or damages caused by or attributable to any of the following i shipping ii improper installation or other failure of Customer to adhere to ProSoft s specifications or instructions iii unauthorized repair or maintenance iv attachments equipment options parts software or user created programming including but not limited to programs developed with any IEC 61131 3 C or any variant of C programming languages not furnished by ProSoft v use of the Product for purposes other than those for which it was designed vi any other abuse misapplication neglect or misuse by the Customer vii accid
106. r intellectual property shall comply with any license agreement accompanying such software or other intellectual property Failure to do so may void this Warranty with respect to such software and or other intellectual property 6 3 5 Disclaimer of all Other Warranties The Warranty set forth in What Is Covered By This Warranty page 92 are in lieu of all other warranties express or implied including but not limited to the implied warranties of merchantability and fitness for a particular purpose 6 3 6 Limitation of Remedies In no event will ProSoft or its Dealer be liable for any special incidental or consequential damages based on breach of warranty breach of contract negligence strict tort or any other legal theory Damages that ProSoft or its Dealer will not be responsible for included but are not limited to Loss of profits loss of savings or revenue loss of use of the product or any associated equipment loss of data cost of capital cost of any substitute equipment facilities or services downtime the claims of third parties including customers of the Purchaser and injury to property Some areas do not allow time limitations on an implied warranty or allow the exclusion or limitation of incidental or consequential damages In such areas the above limitations may not apply This Warranty gives you specific legal rights and you may also have other rights which vary from place to place 6 3 7 Time Limit for Bringin
107. r invalid status REG 118 specification status 0 Normal status SW0079 1 Temporary error invalid status REG 119 bF PE bD bC b3 b2 b1 b SW007A SW078 16 15 114 13 to 4 3 2 1 REG 120 SW079 32 31 30 29 ito 120 19 118 17 SW007B SWOZA 48 47 146 45 to 136 35 134 133 REG 121 SW07B 64 63 62 61 ito 152 51 150 149 1 to 64 in the table indicates the station numbers SW007C Temporary error invalid status The error invalid station setting status is stored REG 122 0 Other than error invalid station SWO007D 1 Error invalid station REG 123 bF bE bD bC b3 b2 bi b SW007E SWOZC 16 15 14 13 to 14 3 2 1 REG 124 SWOZD 32 31 30 29 to 20 19 18 17 SW007F SWO7E 48 47 46 45 to 136 135 134 33 REG 125 SWO7F 64 63 62 161 to 152 151 150 49 1 to 64 in the table indicates the station numbers SWO080 Other station data link status The data link status of each station is stored REG 126 0 Normal SWO081 1 Data link error occurrence REG 127 bF bE bD bC b3 b2 bi b SW0082 SWO80 16 15 144 113 ito 4 3 2 1 REG 128 SW081 32 31 30 29 to 20 19 118 17 SW0083 SW082 48 47 46 45 to 136 35 134 33 REG 129 SWO83 64 63 62 61 to 52 151 50 149 1 to 64 in the table indicates the station numbers SW0084 Other station watch dog timer Indicates the watch dog timer error occurrence status REG 130 error occurrence status 0 No watch dog timer error SW0085
108. red Station 1 to 64 REG 110 SW0071 Highest communicating station The highest station number station number of the station number REG 111 number setting switch that is executing data link is stored Station 1 to 64 SW0072 Number of connected stations The number of stations that are executing data link is stored REG 112 SW0073 Standby master station No The station number of the standby master station is stored 1 to 64 REG 113 Station SW0074 Reserved station specification The reserved station setting status is stored 0 Other than reserved REG 114 status 51 station SW0075 1 Reserved station REG 115 bF PE PD bC b3 bi bi b ProSoft Technology Inc May 21 2009 Page 55 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Diagnostics and Troubleshooting Driver Manual No Name Description SW0076 Swo74 16 15 14 113 Ito 4 3 2 1 REG 116 SWO75 32 31 30 29 to 20 19 18 17 SW0077 Swo76 48 47 46 45 to 36 35 34 33 REG 117 SW077 64 63 62 61 to 52 151 50 149 1 to 64 in the table indicates the station numbers SW0078 Error invalid station Indicates the temporary erro
109. rmation BF03 Data size The amount of transferred Check the transfer Y exceeded data exceeded the buffer size communication buffer size BF04 Transient Transient transmission was Check the Y transmission conducted with a station for parameter setting target station which no setting was made error or a station that is not an intelligent device station BF10 Response There is no reception data or Transmit the Y transmission no response waiting response after failed receiving a request Check the value of SWO00A Page 70 of 98 ProSoft Technology Inc May 21 2009 Reference CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 5 5 1 Reference In This Chapter se General OVErViOW 0 2 eecceeseeeeeeeeeseeeeeneeeseeeeeeeseseeeeaeeseseeseaeeseaeeenanetenees 71 e ee ll e 72 ProLinx CCLINK User Data Memory ceesceeeseeeeeeeeeneeeeeeteeeeeeereaes 74 CC Link Cyclic Data Concepts 0 00 eeceeeceeeeeeeeeeeeeeeeeteeeeeneeeneeeneeeeeaees 79 ZS CC Link Transient Data Messaging Concepts cccceeceeteeeeeeeenees 82 Kee 85 RS 232 Configuration DebUg Pont 87 DB9 to Mini DIN Adaptor Cable 09 e esee e seeeeseeeneto 87 SE ul dn EE 88 General Overview All ProLinxO stand alone communications gateways allow for data transfer between diverse systems using two normally incompatible communications pro
110. s nota Setamultipleof16 Y Y definition multiple of 16 when to the address error accessing a bit device number when accessing the bit device B80A Data length The data length is abnormal Check the data Y Y error length B80D Addresses The specified combination Make the setting so Y Y and points addresses and points that the number of range error exceeded the valid processing points processing range does not exceed the device range B812 Total The total number of points Set 960 bytes or Y Y number of exceeded 960 bytes at the less to the number points time of transient of points exceeded transmission 960 bytes at time of transient transmission B823 Remote The mode specification for Check the mode Y Y control mode the remote control is specification error incorrect B903 No A transient request was Ensure a transfer Y Y parameter issued to a station for which buffer area with a no transfer buffer area is parameter ensured B904 Buffer size When the dedicated Set the transfer Y Y error instruction is executed the buffer size of the transfer buffer size setting of station within the the station is outside the setting range setting range BOFE Parameter The sumcheck value of the Check the Y N sumcheck parameter setting area is sumcheck value error abnormal B9FF Software An alive check error is Replace the Y Y handshake detected in handshake interface board error processing with the driver BA19 Relevant The station that is bei
111. sion Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding 1 Module configuration and contents of file o Module Operation o Configuration Debug status information o LED patterns 2 Information about the processor and user data files as viewed through and LED patterns on the processor 3 Details about the serial devices interfaced if any How to Contact Us Technical Support Internet Web Site http www prosoft technology com support E mail address support prosoft technology com Asia Pacific 603 7724 2080 support asia prosoft technology com Languages spoken include Chinese English Europe location in Toulouse France 33 0 5 34 36 87 20 support EMEA prosoft technology com Languages spoken include French English North America Latin America excluding Brasil location in California 1 661 716 5100 support prosoft technology com Languages spoken include English Spanish For technical support calls within the United States an after hours answering system allows pager access to one of our qualified technical and or application support engineers at any time to answer your questions Brasil location in Sao Paulo 55 11 5084 5178 eduardo prosoft technology com Languages spoken include Portuguese English ProSoft Technology Inc Page 89 of 98 May 21 2009 CC Link ProLinx Gateway Support Service amp Warranty CC Link versi
112. supported in the ProLinx CCLINK protocol driver more on this later In the ProLinx CCLINK implementation separate internal memory database areas have been reserved to hold specific types of CC Link Cyclic Data as well as a large database area for holding Transient Message Data The Cyclic Data transfer portion of the CC Link protocol is a Master Slave type implementation That is there will be one Master Station on the CC Link network that controls all the Cyclic Data transmission on the network between itself and one or more Slave Stations which respond to cyclic messages from the Master The protocol allows additional data transfer capability by using Transient Messages for data transmission Transient Message transfers operate in more of a peer to peer implementation in that any Transient Message capable Station on the network can initiate and respond to Transient Messages from any other Station on the network Page 72 of 98 ProSoft Technology Inc May 21 2009 Reference CC Link e ProLinx Gateway Driver Manual CC Link version 1 10 Local Station amp Intelligent Device 5 2 2 Types of CC Link Slave Stations A distinction needs to be made between physical slave devices and logical Slave Stations A CC Link network can have a maximum of 64 logical Slave Stations each with a unique Station Number Each logical station will be allowed to exchange a fixed amount of each type of Cyclic Data with the CC Link Master 32 bits
113. t T4 D Deen o TS D D een o T6 wo eessen o Close T D D een o T8 l 0 o T9 d D 0 o T10 0 o Tll o Ol ipsa Ea o TlZ o j as sta a o T13 o IO Kee o Tl4 o gu SEs o TIS o 0 EEE o ProSoft Technology Inc Page 33 of 98 May 21 2009 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Configure the Gateway Driver Manual Timers 0 to 31 contain the same data pattern as that from the gateway The binary value of 847 decimal is 0000001101001111 Writing to the File Register Data Type This example shows how to send a conditional write command using Attribute Code 5 Access Code 84h This command writes to the File Register data type R from source address 0032 and 0033 in the gateway to the destination registers R45 and R46 in the File Register data to the Mitsubishi PLC Master Enable Internal Address Trigger Register Register Count Swap Code Node Address Attribute Code Access Code Offset Address Conditional Write offset Address 1332 5016 Los 2 No Change 0 5 File register 84H Definition Comment Offset value from the head address of the corresponding area specified by access code This value is display in Decimal Input relay Hexadecimal Output relay Hexadecimal Internal relay Decimal Latch relay Decimal Timer present value Decimal Retentive timer contact Decimal xl Reset Tag Reset All OK C
114. t type s severely limited data transfer capability Intelligent Device Stations and Local Stations provide greater data transfer flexibility and are supported in the CCLINK driver The CC Link protocol allows some Local Stations to be set up as CC Link Standby Master Stations however the ProLinx CCLINK driver is currently a slave only implementation so the ProLinx gateway cannot be configured as a CC Link Standby Master ProSoft Technology Inc Page 73 of 98 May 21 2009 CC Link ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 5 3 ProLinx CCLINK User Data Memory 5 3 1 ProLinx CCLINK Memory Map Overview Whether the ProLinx gateway is configured as an Intelligent Station or as a Local Station it will have a memory area in the gateway s CCLINK database to store its own RX RWr RY and RWw data If the gateway is configured to be an Intelligent Station its CCLINK database will contain only its own RX RWr RY and RWw data If the gateway is configured to be a Local Station its CCLINK database will contain not only its own RX RWr RY and RWw data areas but also a copy of the RX RWr RY and RWw data from all the slaves on the CC Link network This data will be contained in a special area called the Network Data Area When the gateway is configured as an Intelligent Station this data area is reserved and not used by the CCLINK protocol driver The ProLinx gateway has
115. ta to be sent to one or more Slave RX binary input data area or areas Page 80 of 98 ProSoft Technology Inc May 21 2009 Reference Driver Manual Another important concept to keep in mind is that the output data from one station will always be transferred to the input area of another station This is true for Masters as well as Slaves All Slave input data will come from the network Master s output data areas All data received by the network Master into its input data areas will come from the various Slaves output data areas The following tables show two typical examples of how data might flow through the ProLinx memory database between two different processors Both examples show addressing for a Mitsubishi MEL SEC Q processor as the CC Link Master system One example shows addressing for a Rockwell Automation ControlLogix Programmable Automation Controller and the other example shows addressing for a Modicon Quantum PLC system The addresses shown for those controllers have been arbitrarily assigned for these examples In actual applications they are user selectable and can be changed to suit your specific application You should notice o Data from the bit write area of the ProLinx goes to the bit read area of the Mitsubishi o Data from the bit write area of the Mitsubishi goes to the bit read area of the ProLinx o Data from the register write area of the ProLinx goes to the register read area of the Mitsubishi o Data
116. tching Indicates the acceptance status of the forced master switching REG 5 bit12 request acceptance request OFF Not accepted ON Instruction accepted SB005D Forced master switching Indicates the acceptance completed status of the forced master REG 5 bit13 request completed switching request OFF Not completed ON Completed SB0060 Host mode Indicates the setting status of the mode setting switch of the host REG 6 bito gateway OFF Online 0 ON Other than online 0 SB0061 Host type Indicates the station type of the host gateway currently operating REG 6 bit1 OFF Master station Station No 0 ON Local station intelligent device station Station No 1 to 64 SB0062 Host standby master station Indicates whether standby master station setting has been made or REG 6 bit2 setting status not to the host OFF No standby master station setting to the host ON Standby master station setting to the host SB0065 Input data status of host data Indicates the data link error station s input data status setting status REG 6 bit5 link error station of the host OFF Cleared ON Retained SB0066 Number of stations occupied Indicates the setting status of the switch information 4 5 Number of SB0067 by host stations occupied by host This setting is as indicated below REG 6 bit6 7 depending on the combination of the switch information 4 5 Switch information stations 5 1 staton occupied OFF OFF 2 station occupied EE ON
117. that any address in the gateway s database may be monitored for the appearance of a non zero value as a way to trigger execution of a Transient Message Therefore care must be taken when choosing a Trigger Register to be sure it will contain non zero values only when its associated Transient Message needs to be triggered to prevent inadvertent message transmission and avoid overloading the network with Transient Messages 5 5 2 CCLINK Transient Data Message Memory Areas To fully understand all the Transient Message options you must first understand the different memory areas that may be accessed using Transient Messages There are four primary memory areas to consider 1 ProLinx Gateway Memory Database Area This area is the total 10 000 word 10 000 16 bit registers of physical memory that is available on the gateway All of this memory area is generally available to whatever other communications protocol driver is installed on the ProLinx gateway along with the CCLINK protocol driver such as the DFNT EtherNet IP driver or the MNET Modbus TCP IP driver This entire memory database area can also be used as the source or destination address for the nternal Address parameter of Transient Message commands This area includes the memory addresses assigned for use by the CCLINK driver and directly accessible by the CC Link network Master so care must me taken with setting the nternal Address parameter of Transient Message commands so that you
118. tion amp Intelligent Device Driver Manual Attribute Code 4 Use for accessing CC Link data that exists in the CC Link communication card memory buffer that is common for all CC Link network stations You must specify the address offset into this common network memory buffer according to the logical station address and type of data that you wish to access from a particular station This data is essentially the same as the Network Cyclic Data that the firmware already copies to the Local Station Database in gateway addresses 0 to1300 Therefore this Attribute Code will have limited practical application and has been included for protocol specification compliance Attribute Code 5 Use for accessing CC Link database memory on any station capable of receiving and sending Transient Messages This Attribute Code is more useful than Attribute Code 4 because it extends data access to a wider range of data types beyond common Cyclic Data and common buffer data Attribute Code 5 can be used to access timers counters link and status data as well as input output bit and registers and more Access Code Various values entered as hexadecimal codes There are two command parameters that control what kind of Transient Message the gateway will send the Command Attribute Code and the Command Access Code Each of the two Attribute Codes have different Access Codes associated with them Even though some of the same hexadecimal values are used as Access Cod
119. tnnstnnsennsen nent 9 2 Install ProSoft Configuration Builder Software 10 3 Configure the Gateway 11 3 1 Using the Help System tian Mina eee vail 11 3 2 Adding a galeWaV sam E aetna etd lepo ea EA seed pr era lege clan 12 3 3 Module Entries ep senki pO A ia A a eka duo 13 3 4 Comment ENIES ee o e E ee ada de that dee esi cite iiaa 13 3 5 CC Link Protocol Conftguraton 14 3 6 Configuring Transient Messages s esseessesseeseresrnrssrnstrnssrnstrnsrnssrnssrnssrnnsrnssens 17 3 7 Dala Map ero erste enke kero tabetha erre ae velada kuverto Satay 37 3 8 Printing a Configuration File 40 3 9 Downloading a File from PC to the Gateway et esse seneesnnnsennnnseannttas 40 4 Diagnostics and Troubleshooting 43 4 1 The Configuration Debug Men 43 4 2 LED MALIO ie raran ande EE 47 4 3 EIER ET 48 4 4 EOP ID abate tes ee o a p tent Poser Nd ede ea eats 59 S_ Reference 5 1 General Cvernvlew 71 5 2 GIO LINKOVOIVIOW eege eege eege eeh Ser 72 5 3 ProLinx CCLINK User Data Memon 74 5 4 CC Link Cyclic Data Concerts 79 5 5 CC Link Transient Data Messaging Concepts sseseeseeesrrssrresrrresrrssrrssrrssrrssrns 82 5 6 ee e e 85 5 7 Conformance Testing cceesceceeeeeeeeaeeeeneeceeeeceaeeeeaaeseeeeeesaaeseeaaesseneeseaeeesaaesseneees 85 5 8 RS 232 Configuration Debug Port cccceececeeeeeeeeeeeeceeeeeceaeeeeeaeeeeeeeseeeesaeeeeeneeees 87 5 9 DB9 to Mini DIN Adaptor Cable 091 87 5 10 OCsL INK EEN 88 6 Support Service
120. tocols ProLinx gateways accomplish this data transfer by storing data in internal 16 bit memory registers Data can be written into the ProLinx gateway and stored into its memory by either of the two protocols After data is stored in the gateway s memory itis then available to be read or written by either of the two protocols thus allowing data to be passed between devices controllers or processors using different protocols The physical network interfaces supported by any ProLinx gateway depend on the application protocols installed on it Some have only serial communications ports for serial based protocols some have an Ethernet port for Ethernet based protocols and some have both an Ethernet port and one or more serial ports to support passing data between serial based and Ethernet based protocols The ProSoft Technology ProLinx CCLINK protocol solution is a Local Station slave only cannot be a back up Master Station or Intelligent Device implementation of the CC Link Partner Association CLPA CC Link high speed serial protocol The ProLinx CCLINK protocol driver supports the CC Link protocol specification version 1 10 and allows the gateway to act as a CC Link slave on your CC Link high speed serial communication and control network ProSoft Technology Inc Page 71 of 98 May 21 2009 CC Link ProLinx Gateway Reference CC Link version 1 10 Local Station amp Intelligent Device Driver Manual 5 2 In this document w
121. us is stored REG 96 0 OFF 1 ON bbbhbbbb bb bbbbbbb ETT BA ss 543210 LH KE Station type 0 Master station local station 1 Standby master station Master station redundant function D Present 1 Absent Input status from data link error station 0 Clear 1 Retained Number of occupied stations 00 1 station occupied 10 2 stations occupied 11 4 stations occupied 01 8 stations occupied Expanded cyclic setting 00 1 time setting 01 2 times setting 10 4 times setting 11 8 times setting SW0064 Number of retries information Indicates the number of retries setting information at error response REG 98 1 to 7 retries SW0065 Number of automatic returning Indicates the number of automatic returning stations setting REG 99 stations information information during 1 link scan 1 to 10 stations SW0066 Delay timer information Indicates the scan interval delay time setting information REG 100 SW0067 Parameter information The parameter information area is stored Fixed to 0 Parameter REG 101 startup Page 54 of 98 ProSoft Technology Inc May 21 2009 Diagnostics and Troubleshooting Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device No Name Description SW0068 Host parameter status The parameter setting status is stored REG 102 0 Normal From 1 on Error code Refer to 4 1 Erro
122. work and the data in this memory buffer is what will be copied to the ProLinx Gateway CCLINK Driver accessible Memory Area So for all practical purposes the two memory areas will contain the same data The only reason to make a distinction between the two is because different types of Transient Messages will access these two memory areas separately Command Attribute 4 will access this buffer data directly from the CC Link hardware on whatever Node Address Station Address is set in the Command but since this data all comes from the Master Station all stations should contain the same data the best practice would be to always use the Master Station Node Address for Command Attribute 4 messages 4 CC Link Data Memory Database Areas of devices on the network other than the ProLinx Gateway These areas exist on all Slave Stations and are analogous to the ProLinx CCLINK Driver accessible Memory Area of the gateway These areas are the ones that will be accessed by using Command Attribute 5 Page 84 of 98 ProSoft Technology Inc May 21 2009 Reference Driver Manual CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device 5 6 5 7 Specifications 5 6 1 Functional Specifications CC Link CC Link technology is based on an Application Specific Integrated Circuit ASIC designed and provided by Mitsubishi Electric Automation Each CC Link logical station transfers 4 words as 16 bit register data
123. y meets the performance specifications required to become CC Link certified 5 7 1 General Specifications ProLinx Communication Gateways provide connectivity for two or more dissimilar network types The gateways encased in sturdy extruded aluminum are stand alone DIN rail mounted solutions that provide data transfer between many of today s most widely used industrial automation ProSoft Technology Inc May 21 2009 Page 85 of 98 CC Link e ProLinx Gateway CC Link version 1 10 Local Station amp Intelligent Device Reference Driver Manual 5 7 2 Hardware Specifications Specification Power Supply Current Load Operating Temperature Storage Temperature Relative Humidity Dimensions General LED Indicators CC Link LED Indicators Configuration Serial Port Ethernet Port CC Link Interface Shipped with Each Unit Description 24 VDC nominal 18 to 32 VDC allowed Positive Negative and Ground terminals 2 5 mm screwdriver blade sized terminals 500 mA max 32 VDC max 20 to 50 C 4 to 122 F 40 to 85 C 40 to 185 F 5 to 95 non condensing Standard 5 20H x 2 07W x 4 52D in 13 2cmH x 5 25cmW x 11 48cmD Extended 5 20H x 2 73W x 4 52D in 13 2cmH x 6 934cmW x 11 48cmD Power and General Status Application Status Serial Port Activity LED Serial Activity and Error LED Status Run Network Status L Run Data Link Execution L Err Data Link Comm Error SD Sending Data LE
Download Pdf Manuals
Related Search
Related Contents
Nettoyant carburateur 400 ml PDF-Version - bei Bartels Hochschule für Technik und Wirtschaft Dresden (FH Operating Instructions On/Off Select the ON/OFF button to switch EXPR/S design makes objects timeless, fashion corrupts Musik Soundsystem - Gt tmjump-0714-spa términos y condiciones del programa jump el SMG-700 User's Guide V1.00 (Nov 2004) 取扱説明書 (379.60 KB/PDF) Copyright © All rights reserved.
Failed to retrieve file