The Setting ‘COM1 - CS31 Bus’

If the protocol ‘CS31-Bus’ is selected for the interface COM1, the interface is definitely set as CS31 bus master.

COM2 cannot be used as CS31 bus interface.

../_images/16b2bf6ae38c549a0a33139000eba54e

As of AC500 firmware version V1.2.0 and Control Builder version V1.2, the parameter “Operation mode” can be set to “Master” (default value) and “Master, ignore config fault” for the CS31.

Note

The settings “Slave” or “Slave, ignore config fault” are not allowed for the “CS31 bus” protocol. The default value “Master” is applied if these values are set.

../_images/bd3c4cfbe38c56200a33139000eba54e

The parameter “Operation mode” influences the beginning of the inputs/outputs update and the start of the user program.

Setting “Master” (default):

Setting “Master, ignore config fault”:

To make the inputs and/or outputs of the input and output modules connected to the CPU available in the project, the hardware must be reproduced in the PLC configuration.

Right-clicking the “COM1 - CS31-Bus” element in the configuration tree opens the context menu where you can change the module “COM1”.

Select “Append Subelement”. The sub menu displays all input and output modules available for the CS31 bus:

../_images/87ea5fa3e38c54e80a33139000eba54e

Select the desired input/output module.

A maximum of 31 modules (slaves) can be connected to the CS31 bus. Please note that for a module containing digital and analog expansions two modules are registered on the CS31 bus.

The configuration is described using the digital input module 07DI92 as an example. Once the module is inserted, the inputs and outputs of the module are available. In the ‘Module parameters’ window, set the ‘Module address’ to the module’s hardware address (this is the address defined at the module with DIL switches).

Note

For AC31 CPUs used as CS31 slave, the address is set via software.

../_images/062eff86e38c55360a33139000eba54e

The module address has to be set for all modules connected to the CS31 bus.

Attention

There is no fix connection between module address and the input/output addresses of the channels. The input/output addresses are assigned automatically and change when inserting new modules.

When setting the module address, observe the following rules:

  1. It is recommended to set a unique address for each module.

  2. It is allowed to specify the same module address for a digital module and an analog module, but this is not recommended.

  3. If the same module address is set for a digital input module and a digital output module, only the first module in the PLC configuration is detected. This also applies to analog modules!

  4. DIL switch 8 (used to allocate the channels 8..15 for series 90) is ignored as all inputs/outputs are byte-oriented.

  5. In case of expandable CS31 modules, the maximum configurations have to be observed.

Input/output modules connected to COM1 occupy the following I/O area:

COM1: %IB1000 .. %IB1999 or %QB1000 .. %QB1999

Further parameters and settings for the CS31 modules are optional and can be found in the descriptions for the individual modules.

The S500 modules are described here: (link to module description Hardware S500). AC31 modules are described in the 907 AC 1131 documentation.