Warning
You are reading an old version of this documentation. If you want up-to-date information, please have a look at 2024.12 .Plugin installation and configuration
The plugin is delivered in a .zip
folder. Unzip it and you will find the library.
Library_PluginMitsubishiCCLinkAsycube(iQ-R).usl
Library_PluginMitsubishiCCLinkAsycube(iQ-F).usl
SYCON project to modify the transmission speed (Baud rate) of the Gateway see Change the transmission speed (Baud rate) of the gateway (Optional) (in the folder Gateway Configuration)
Installation of the library
Click on Project > Library Operation > Register to library List > User Library..
Add the
Library_PluginMitsubishiCCLinkAsycube.usl
.
Add the register file
Add the holding registers to Structured Data Types of your project.
Add the
dbGateway
to Global Label of your project. Should you have several Asycube, you can simply duplicate this label or its content. If GX Works 3 asks you to overwrite the registry files, because they are already present, select Yes.
Add the Gateways in the configuration
Configure your CC-Link module > Required Settings according to below parameters. The default transmission speed of the Asycube Gateway is 10Mbps. Should you want to change it please refer to Change the transmission speed (Baud rate) of the gateway (Optional).
On your CC-Link module > Basic Settings, click on Network Configuration Setting.
Set the Mode Setting to Ver. 2 Mode and verify the TX Speed. Click on Detect Now.
You should now see all the remote station (one per Gateway/Asycube).
Check that the parameters are as in Fig. 133.
Click on Close with Reflecting the Setting.
On your CC-Link module > Basic Settings, click to Link Refresh Settings.
Create a link between the CC-Link module and the CPU as shown in Fig. 134 (for one Gateway/Asycube which station address is 1) and press Apply :
Link I/O
Once the gateway has been successfully integrated into your project, you must assign the registers (data) of the Gateway in the Global Label.
Select the
dbGateway
Label.Click on Detailed Setting of
regAsycubeRead
.
When you assign the first address of the device, the following address are automatically completed.
Perform the same operation for
regAsycubeWrite
.
Connect the registers to the FB
You must use the register variables instantiated in the global variables (regAsycubeWrite
and regAsycubeRead
) at
the input of the different blocks. The variable boConnectionFaultedSB
must also be set using the station status
variable of your device (1 = remote device disconnected, 0 = normally situation).
Here is an example of an application with the input and output registers filled in.
Change the transmission speed (Baud rate) of the gateway (Optional)
The default Baud rate may not be suitable for all application. If you need to modify the Baud rate, please follow this procedure:
Download the Hilscher SYCON.net software tool.
Install the Hilscher SYCON.net software tool.
Launch the Hilscher SYCON.net software tool: click OK without Password.
Open the
cclink
project provided with the plugin.
Click Open
Browse for the
cclink.spj
file delivered with the plugin.
Click “Open”
Modify the Baud rate.
Right-click on the
netTAP
item.Select Configuration - CC-Link Slave.
Set the Baud rate to the desired value.
Click OK.
Connect your Asycube CC-Link Gateway to your computer.
Connect the 24VDC power supply (Power connection)
Connect the provided USB cable to your Gateway (under the flap).
Connect the provided USB cable to your computer.
Download the configuration into your Gateway.
Right-click on the
netTAP
item.Click Download.
If you get a warning Do you really want to download?, click Yes.
Wait a few seconds until the download succeed.
Finalize.
Exit SYCON.net software tool.
Remove the USB cable.
Disconnect the power supply.