For the digital, analog and some miscellaneous component, you need to set the variable. LOGO!Soft Comfort supports the following two ways of binding the variable to the component:
Binding variable from Tag Table
Binding variable by dragging and dropping the function block
Binding variable from Tag Table
The component filters the variables in Tag table, and only the variables which match the component property are displayed in the Variable Name drop down list.
Set the variables under Properties -> Binding:
Click the down arrow at the right of the Variable Name row.
If you select Default Tag, the variable you select is local and is not configurable.
If you select variables from tag table, the variable you select is global.
Select block type, block number, block format, decimal places in the corresponding drop-down list.
|
Block Type |
Block Number |
Writable |
|---|---|---|
|
I |
|
Read Only |
|
Q |
|
Read and Write |
|
M |
|
Read and Write |
|
AI |
|
Read Only |
|
AQ |
|
Read and Write |
|
AM |
|
Read and Write |
|
FAM |
|
Read and Write |
|
V |
VB: |
Read and Write |
|
Bits: |
Read and Write |
|
|
VB |
|
Read and Write |
|
VW |
|
Read and Write |
|
VD |
|
Read and Write |
|
Cursor Key |
|
Read Only |
|
Function Key |
|
Read Only |
|
Shift Register |
|
Read Only |
|
VX |
VX: |
Read and Write |
|
Bits: |
Read and Write |
|
|
VXB |
|
Read and Write |
|
VXD |
|
Read and Write |
|
VXW |
|
Read and Write |
|
VR |
VR: |
Read and Write |
|
Bits: |
Read and Write |
|
|
VRB |
|
Read and Write |
|
VRD |
|
Read and Write |
|
VRW |
|
Read and Write |
For the writable block types, you can enable the write function by checking box next to Writable.
Binding variable by dragging and dropping the function block
Click
command to split the editor pane into two windows.
Open and drag the circuit diagram into one window and drag the web page into another window.
Select the function block in the diagram, then hold down the [Alt] key and drag and drop the function block on the component you want to bind to.
Check the component properties pane. The component binding values are synchronized from the function block.
You can tell from the mouse icon whether the function block variable and the component can be bound.
|
|
The binding is not allowed. |
|
|
The binding is allowed. |