Startup of CX1500-M310 for Profibus
The module CX1500-M310 (master 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 requested. Answering "yes" starts the scan for boxes connected to the profibus. In some cases not all boxes can be found. Restart scan to find the missing boxes. If there are still boxes missing please check cables and operation mode of the boxes (the mode should be operational)
The status of the Profibus is shown in the upper region of CX1500-M310 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 box is a bus coupler (see Box 11) the available bus terminals are displayed. Box 2 is a CX1500-B310 with a 1 WORD input signal. The number of the box represents the bus address . In "Free-Run-Mode" of TwinCAT the bus function can be checked easily: Just force a signal by "write online" and see if the control LED ion the terminal lights up.
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.