DriveCom Configuration for the CX1500-M310
Get the TwinCAT Configuration of the CX1000
The TcDriveComCfg tool can be used to configure the OPCDriveCOM-Server. Since the server and the configuration tool are installed on the PC it is necessary to get the CX1000-configuration file to the PC.
Put the local TwinCAT System on the PC to Config Mode and chhose either A) or B) to get the CX1000 configuration to the PC.
A) Use a memory stick or network drive to copy the C:\TwinCAT\Coot\CurrentConfig.xml and C:\TwinCAT\Coot\CurrentConfig.tsm from the CX1000 to the same folder on the PC.
B) Use the System Manager
- Open the System Manager with a new project
- Select the CX1000 as the target system (System Configuration | Choose Target)
- Choose "File | Open from target", now the CX1000 configuration appears.
The System Manager status bar shows in red "CX_00xxxxx". - Choose the local system as target (System Configuration | Choose Target).
The System Manager status bar shows in gray "local". - Activate the CX1000 configuration to the local PC but DO NOT START the local system, press cancel when asked to restart the TwinCAT runtime system.
Now after having the CX1000 configuration on the PC in the C:\TwinCAT\Boot folder, it is not permitted to start the local system. Stay in Config Mode.
Start the TcDriveComCfg tool. Use "File | Read TwinCAT Configuration" or the Scan Configuration button in the toolbar to read the configuration data. The configuration tool now shows the CX1500-M310 Profibus Master with the propper AdsNetID and the attached drive with the propper Profibus node address. Increase the Ads Timeout to 5000ms = 5s and apply.
Save the file and activate the configuration.
Now the OPCDriveCom-Server is activated on the PC and allows for accessing the parameters of the drive by SimoComU via OPC.
Start SimoComU and open the communication setup (Options | Settings | Communication).
All communication goes over Profibus, therefore TwinCAT System on the CX1000 needs to be running with the attached Profibus. The 611u drive needs to be running (operational) and communication with the CX1500-M310 without errors.
Choose "Communication via OPC server" and select the "BECKHOFF.TwinCATDriveComServerDA". If the server does not appear, it has to be registered. In order to register the OPCDriveCom-Server run the batch file "C:\TwinCAT\OPC\DRIVECOM Server\RegisterServer.BAT".
Search for drives online with "Go Online".
In case of problems with communication via OPC ensure that the OpcDriveCom server is stopped when the SimuComU is stopped and started when the SimuComU is started. Additionally, the TcOpcClient can be used to check the access via OPC.
In case of a bad connection, it is recommended to close the TwinCAT System Manager.