Enable PLC­2 Protected Writes

The Allen­Bradley Device Communications Interface utilizes unprotected writes when communicating to the PLC­2.

For applications where "Protected Writes" are required, you can configure CIMPLICITY software to use protected writes by adding a logical to the CIMPLICITY software logical names files. This file is located in your project's \data directory, and is named log_names.cfg.

To enable protected writes for all Allen­Bradley Ethernet Communications Interfaces on a specific CIMPLICITY node, define the logical PLC2_PROT_WRITE_ALL to "true" by adding a record to this file similar to the following:

PLC2_PROT_WRITE_ALL|P|default|10|true

Alternatively, you can enable this function for a specific device communications interface by adding a logical

PLC2_PROT_WRITE_<PORT>|P|default|10|true

where <PORT> corresponds to the CIMPLICITY port for the specific interface. For the Allen­Bradley Device Communications Interface, the valid ports are ABINT0, ABINT1, ABINT2, and ABINT3.

For example, the record that must be added to the Logical Names file to enable this feature for an interface configured for port ABINT0 is:

PLC2_PROT_WRITE_ABINT0|P|default|10|true

If a parameter is not added to the logical names file, the default mode of unprotected write will apply. You can also disable protected writes on a node or port basis by specifying the logical value as "false".

More information

Defining points for unsolicited data.