Configuration via TwinCAT
In order to integrate the Bus Coupler into the TwinCAT System Manager, an Interbus master card has to be designed first. The BC4000 can then be attached to this card.
In the next step, the Bus Terminals are attached to the coupler. 3 different mapping options are available.
- Compact fieldbus terminal
In this setting, the Bus Terminal is invisible for the BC4000. The data are mapped directly into the fieldbus process image. Analog Bus Terminals become compact (only user data without control/status are entered). The BC4000 must be notified of this change via KS2000 or via the System Manager. - Complex PLC Bus Terminal (default)
All Bus Terminals are assigned to the local BC4000 process image and are not visible for the Interbus. The analog Bus Terminals map with control/status. - Compact PLC Bus Terminal
All Bus Terminals are assigned to the local BC4000 process image and are not visible for the Interbus. The analog Bus Terminals map compact (only user data without control/status). The BC4000 must be notified of this change via KS2000 or via the System Manager.
In the default setting, the PLC variables have 16 byte inputs and 16 byte outputs. The Bus Terminal controllers must be notified of every change.
Displaying the local BCxxxx variables
If you do not know the address of the Bus Terminals that you have assigned to the local PLC (BCxx00):
Perform your hardware configuration in the System Manager. After you have entered all the Bus Terminals and PLC variables, click with the right mouse button on the BCxx00 in the hardware tree, and select the menu item Export variables information.... A file is saved, and this file can be inserted in the System Manager under Import Project. Now you will have the entry TwinCAT import under the global variables, and you will find here all the variables that you have assigned to the local PLC (BCxx00).
Bus Terminal configuration, changing PLC variables
The change of the default setting (PLC variables, Bus Terminals) can be downloaded to the Bus Coupler with the KS2000 configuration software or in the TwinCAT System Manager. The Bus Terminal configuration/PLC variables, PLC offset can then be transferred to the Bus Terminal controller with the KS2000 cable.