Icon Collap

CIMON FAQs Customer Support

Trang chủ » Tất cả FAQ » Cấu hình module Profibus DP Master (CM1-PD01A) trong SyCon

Cấu hình module Profibus DP Master (CM1-PD01A) trong SyCon

14/12/2018 359

Cấu hình module Profibus DP Master (CM1-PD01A) trong SyCon?

This document provides quick reference to set up the Profibus network with CIMON PLC and Remote IO.

1. Configuration SyCon

i. Execute SyCon

ii. For Create New Project, You must Select File-New

iii. Select a PROFIBUS, and then Select OK

To register a PD01A, select  , and then select left side

v. Select the PD01A as indicated below

※ The Chipset version of CM1-PD01A can be checked in the Module Status of CICON after connecting module to PC.

※ The more recent Sycon version might include more updated GSD file with different Master list. So, please contact to Hilscher Company for the version issue of Sycon and GSD file.

Ex) At Sycon ver 2.898, Master is COM-C-DPM. At Sycon ver 2.950, Master is selected as COM-Ax/Bx/Cs-DPM.

Click the Add button, and then click the OK button.

vi. You should click [File-save] to save the project

You should make Seial cable as indicate below, and then the serial cable connect PC Com Port(Installed the Sycon) to Config Port of PD01A

vii. Select [Settings-Device Assignment

viii. To Connect PD01A, Select CIF Serial Driver.

ix. You should select PC COM Port Connect to PD01A Configuration Port

x. Select the [Settings-Bus Parameter]

Baud Rate : Baud Rate for communication.

※ Baud Rate is related to Communication distance. For 12Mbps use, 12Mbps
exclusive cable must be used. Station distance must be less than 1m. When 12Mbps
Communication is stop, find the proper terminal resistance and set the configuration.

xi. Select the [Settings-Master Settings…]

After completion, and then Click OK button.

xii. After saving, Select the [Online-Download…]

※ If the License Code is invalid, then Error Code37 appear while downloading
xiii. After downloading, Select the [Online-Automatic Network Scan]

Slave module was detected. After Select Accept Configuration, Click OK button.
After saving, select the [Online-Download..] and download to PD01A module.

※ If the desired slave is not detected in Actual Network Constellation window, copy and paste “GSD” file provided by Master module company into folder “SyconFieldbus-Profibus-GSD”. And then, go to the previous step(Auto Network Scan), and proceed again.

※ If there is configuration problem between Master and Slave, Comm. status can be checked
out from Online => Start Debug Mode ( refer to the Sycon Manual on the detailed information
about Debug Mode).

xiv. Configuration Sycon was ended.


i. Execute a CICON Program.
ii. Create New Project.

iii. Create New Program. [File – New Program…]
+ Scan Program
Enter a function “End”on Scan program, and click “Save All ”button on menu.

– Fielbus Setup Program : Communication Block Setup Program

iv. Fieldbus Setup Program is used to register the information about sending/receiving data.

– Base : This is used to select the base where the PD01A module
– Slot: This is used to select slot number of the base where the PD01A module is mounted.
– Module Type: This is used to select module type.
– Input: This is used to set up the device where the received data are stored.
– Output: This is used to set up the device where the data sent are read.

v. Register the communication block

+ Device

i. Sending: This is used to set up the device where the data sent are read.
ii. Receiving: This is used to set up the device where the received data are stored.

+ Start Address

i. Sending: This is used to set up start address where the data sent are read.
ii. Receiving: This is used to set up start address where the received data are stored.

+Buffer Size: The size of the data sent or received in word.

vi. PLC Scan Program

vii. This is used to detect Slave config/state.

– Version : This is used to indicate module version
– Status Code : This is used to indicate status code of module
– Reset : This is used to reset status code of module.
– Link/Stop : This is used to control Link/Stop of module.
– Slave Config : This is used to indicate configuration Status in Sycon
– Link State : This is used to indicate Slave status when communication is good or bad

If there is no Com Block is added or inserted into Fieldbus Special Program, the Link status of Slave displays Grey.

xv. PLC Program was ended.

※ Wiring between Master and Slave

● Debug Window

When the debug session is started the configuration window changes into the debug window. The devices and the line between them are displayed in green or red colour depending on the established network communication.

If diagnostic information is available for a specific device, the text Diag appears in red next to the device icon. To get further device specific diagnostic information then double-click on the device itself or set the focus to the device and select Online > Device Diagnostic.

The Master icon has the  sign to show the stop mode.

In run mode the Master icon has the sign

● PROFIBUS DP Device Diagnostic

To activate the Debug Mode select the menu Online > Start Debug Mode. Then mark a Slave (left mouse click) and then the menu Online > Device Diagnostic to open the diagnostic window for this Slave. Alternatively make a double click at the symbol of the device to open this window. To end the Debug Mode select the menu Online > Stop Debug Mode.

After the debugger was started SyCon requests the state of all devices from the Master. If there is an error on a device, the bus line to this Slave is displayed in red colour, otherwise it is green. SyCon also displays the letters Diag, if the device signals diagnostic information or the master holds diagnostic information in its internal diagnostic buffer. This information is displayed closer if you click with the mouse onto the corresponding device in Debug Mode.

The diagnostic information of a DP Slave can be 6 to 100 bytes. The first 6 bytes are standard diagnostic information (specification). The meaning of these 6 bytes is according to the PROFIBUS specification and contains the Station Status 1, 2 , 3, the assigned master address and the ident number of the Slave.

Online > Device Diagnostic

Station Status 1, 2 and 3 is described on the next page.

At Assigned Master Address the address of the master is shown, that has parameterized and configured this Slave. If the value 255 is displayed, it means that the Slave reports that

• it is not parameterized or configured yet or
• that the received parameter information and configuration information are rejected because of an error.

At Real Ident Number the ident number from the DP Slave is displayed. At GSD Ident Number the ident number is displayed, that the System Configurator has read out in the used GSD file. Both ident numbers have to agree. When they are different the reason could be

• the wrong GSD file is used or
• a wrong DP Slave was connected to the PROFIBUS.

When the Real Ident Number shows 0000, then the master still has no connection via the PROFIBUS to the DP Slave.

The meaning of Station Status 1:

PROFIBUS-DP Diagnostic Station state 1 (Bit 7 to 4)

PROFIBUS-DP Diagnostic Station state 1

The meaning of Station State 2:

PROFIBUS-DP Diagnostic Station state 2

The meaning of Station State 3:

PROFIBUS-DP Diagnostic Stations status 3

● Compare Configuration

The configuration can be read out from the DP Slave via the PROFIBUS in the debug mode. This information is displayed in the upper part of the window Compare Configuration.

In the lower part of the window the configuration is displayed and compared as set in the System Configurator.

Online > Device Diagnostic > Compare Configuration

Note: Some DP Slaves only gives their default configuration when reading it out via the PROFIBUS. To use this function the DP Slave has to support it.

The meaning of the identifier bytes is described in section Identifier Bytes on page 234.

● Extended DP Slave Diagnostic

Device Diagnostic (PROFIBUS-DP extended diagnostic)

In the Extended Device Diagnostic window, a diagnostic telegram is shown as a Hex dump. Here, the first 6 Bytes are the standard diagnostic Bytes like described in section PROFIBUS DP Device Diagnostic at page 127.

The Extended Device Diagnostic starts at the 7th Byte. This is manufacturer specific and can contain the following three categories of diagnostic:

  • Device related diagnostic

The Device related diagnostic contains manufacturer specific information about the status of the device.

  • Identifier related diagnostic (Module related)

The Identifier related diagnostic indicates in which module a diagnostic is present. The Byte position gives the relevant Module Configuration Identifier and the name of the associated module.

  • Channel related diagnostic.

The Cannel related diagnostic gives information about diagnosed channels and diagnostic causes. The Byte position gives the relevant Module Configuration Identifier and the channel type.

A detailed description about the device related, identifier related and channel related diagnostic can be found in the sections given in the following table:

Extended DP-Slave Device Diagnostic

Note: An analysis of the extended device diagnostic can only takes place, if texts are provided for the analysis in the GSD by the device manufacturer. To evaluate the manufacturer specific diagnostic read the device description of the manufacturer.

Chia sẻ:
Contact Us

We provides the best service for customer satisfaction.

We will respond promptly to your inquiries.