CREATING A SYMBOL CONFIGURATION
Mapping a Latch or State to a Variable
1.
2.
3.
4.
5.
6.
7.
Remember to save your project periodically.
CREATING A SYMBOL CONFIGURATION
This section is necessary only if you are running 1.3.0 on the processor. If you installed 1.3.1 or later, you don't
have to do this.
Create a symbol configuration object following instructions in
CODESYS Online Help.
112
groov EPIC User's Guide
If you haven't started CODESYS Development System, start it and open your project.
Open or select the Devices view, expand the Ethernet branch, then expand the branch of your groov EPIC
processor.
Double-click the module that contains the latch or state that you want to clear or read. CODESYS
Development System opens a module view for that module. Click the Mapping tab.
Expand the variable list to view the list of channels. Select a channel and expand it to view the list of
features.
Determine if you want to map a variable to a channel or a specific state or latch:
–
To a channel: If you map a variable to a channel, you can access all the features on that channel by
appending to the variable a dot (.) and the name of the feature. For example, if you map a variable to
channel 0 and call the variable
the reference as
MyInput.OnLatch
–
To a specific state or latch: The variable will access only the feature that it's mapped to; it won't be
able to access any of the other features on the same channel or any other channel.
Map the variable by creating a new variable or mapping to an existing variable.
–
To create a new variable, click the Variable cell, type in the new variable name, then press Enter.
–
To map an existing variable, click the more button (
search through the Input Assistant to find the variable, select it, then click OK.
The following image shows a new variable (New_Var) mapped to On Latch of channel 0, and an existing
variable (Application.GR) mapped to State of channel 1:
In the above example, the name of the existing variable is too long to fit on the space available, so the interface
shows ellipses (...) to indicate that the name is longer than what's shown.
Repeat steps
3
through
5
for each channel and module you want to map to a variable.
MyInput
when you want to access the On Latch feature, you write
.
) to open the Input Assistant. Navigate or
Creating a symbol configuration
in the
Need help?
Do you have a question about the groov EPIC and is the answer not in the manual?