V2020.1.56.3_ Logic Component



Overview

A Logic Component enables the user to connect a Standard Component to an external PLC using a Logic Simulator.

A Logic Component consists of both component specific settings and general settings. For details of component specific settings (Properties & PLC outputs), look at the documentation of that specific Logic Component.


General Settings

PLC Settings

In the PLC Settings panel you can manage the settings on how you wish your component to connect to a PLC.

Signal Naming Settings

 

Signal Naming Settings

 

Signal Naming Rule Overrides

Allows you to customize the names of your Input/Output signals based on component instance settings

Size

The number of different communication channels you wish to use for this component

$ALL

 

Rule Target

Describes the subset of signals this rule applies to.

$ALL
Applies to all signals within this instance, overruled by all below options

$INPUT
Applies to all PLC Input signals within this instance, overruled only by a custom rule

$OUTPUT
Applies to all PLC Output signals withing this instance, overruled only by a custom rule

$VARIABLE
Applies to all PLC Variable signals within this instance, overruled only by a custom rule

[CUSTOM]
Applies only to the signal with the name [CUSTOM], overrides all other rules

Sim Address Path Format

The formatting for the simulation address path. Variables wrapped in double curly brackets are replaced on component instantiation

Plc Address Path Format

The formatting for the PLC address path. Variables wrapped in double curly brackets are replaced on component instantiation

Sim Path Separator

The separator character used in the hierarchical path the simulation naming

Plc Path Separator

The separator character used in the hierarchical path for PLC addressing

Instance Name Rule

The pattern used to replace {{INST_NAME}} in the Signal Naming Rule Override; Allows for implicit naming overrides

Debugging

In the Debugging tab you can customize the debug tools for this component.

Show Debug Logs

Enable to show Regular debug logs. Warnings and errors are always shown

Show Debug Logs

Enable to show Regular debug logs. Warnings and errors are always shown

UX Show Signals For Debugging

Enables a generated UI to test all I/O signals in Game View.

UX Text Offset

Defines the text offset of the debug UI

UX Text Color

Defines the text color of the debug UI

UX Text Size

Ddefines the text size of the debug UI

UX Text Line

Spacing defines the line spacing for the text of the debug UI