Startup of CX1500-B310 for Profibus
The module CX1500-B310 (salve connection for Profibus) can, as all other modules of the CX-system, be accessed via the TwinCAT System Manager. The user selects the desired system and search for units in the System Manager (click with right button on I/O Units - this operation is only available in config-mode) After some seconds the connected units are listed. The user selects the devices he / she wants to make use of in the program.
Next the scan for boxes is questioned. Answering with "yes" opens the following dialog.
Now the date type (WORD / BYTE) and the transfer direction (Slave-Out/ Master-In, Slave-In/Master-Out) can be selected. The used can add as much signals as needed. To abort entry just click on "ABORT" when ready.
A new box is inserted in the System Manager. Via this box the data can be accessed in PLC. If the user wants to add more signals he/she can do so by opening the context menu of "BOX1" -> "Add module" In the opening dialog wrong signals can be removed either. If all desired signals are inserted the following view appears:
The status of the Profibus is shown in the upper region of CX1500-B310 entry. The programmer can connect these signals with variables in PLC to analyze them in the program (e.g. error codes for saving states or registers). Below "BOX1" is a status field (DpState and ExtDiagFlag) for transfer diagnosis. Next are the input / output signals. If the PLC project is loaded the signals can be connected with the variables by double click in signal. (For further details see documentation on TwinCAT).
The connected signals are marked by a small arrow on the signal icon. If all signals and variables are connected the new configuration can be saved and loaded onto the CX-System. The PLC program is started via PLC control.