From PC (command)

 

Setting command bits

The bit map for commands shows the 32 bits available. The bit map is divided into four bytes numbered from 0 – 7.

To set a command bit, find the bit position(s) you want to use and click once to insert the command bit symbol (-). You can define up to 255 commands. In the default bit combination mode, this means that maximum 8 command bits can be set. In single bit mode, all 32 bits can be set.

Bit combination mode

By default, the number of commands is the total number of bit combinations. For example, if two bits are set, the valid combinations are 00, 01, 10 and 11. This will result in four commands.

images\Digital_Template_-_From_PC.gif

Single bit mode

As can be seen above, setting two bits will by default give four combinations. Setting one bit will give two combinations.

To obtain three commands, select the Commands check box below the heading Single Bits. If the box is checked, this means that the two bits are perceived as single, individual bits, that is, the valid bit combinations are then 00, 01 and 10 whereas 11 will be interpreted as 10.

Naming the commands

Once the bits are set, go to the States and Commands tab to name the individual command.

Defining valid commands

For each state defined in the digital object template, you can decide which commands should be available to the operator. Go to the Command/State Config tab to define valid commands.

PLC address for commands

On the Atom Mapping tab, the PLC address is defined. Select the Command atom and specify the parts of the PLC address which are common to all the objects that will be based on the object template.

 

See Also

Single Bits

The Single Bits option in the digital object template

To define the PLC addressing

To define the valid commands for a given state