Introduction
The M580 safety PAC includes three different data editors:
a
to manage data used in the safe namespace.a
to manage data used in the process namespace.a
to manage global variables and data types used throughout the application.
Both the
and the include an tab. Use the tab to create unlocated variables in that process namespace. The tab presents two groups of unlocated variables:<inputs>: A variable created in this group can be linked to, and receive data from, a globally scoped pass-through variable in the
.<outputs>: A variable in this group can be linked to, and send data to, a globally scoped pass-through variable in the
.
An EDT or DDT category variable.
Of the same data type as the variable to which it is linked.
Not a variable linked to an extracted bit of a located variable (for example, not %MW10.1).
Unlocated variables created in the
tab groups of the and can be linked as follows:A process variable in this group in the Process Data Editor... |
Can be linked to a safety variable in this group in the Safety Data Editor... |
---|---|
<inputs> |
<outputs> |
<outputs> |
<inputs> |
Using these three data editors, you can configure the transfer of data between the safe namespace and the process namespace.
Transferring Data Between Namespaces
The process for passing data from the safe to the process namespace, and from the process to the safe namespace are the mirror image of each other. The following example shows you how to pass data from the process to the safe area:
Step |
Action |
---|---|
1 |
Open the , click on the program tab and then create a new variable in the part of the data editor. |
2 |
Open the , click on the program tab and then create a new variable with the same type of the one created in step1 in the part of the data editor. Then, double-click the field. The dialog opens. |
3 |
In the drop-down menu at the top-right of the dialog, select the target namespace . The variables in the selected namespace PROCESS in the <outputs> part are displayed. |
4 |
Select the process variable created in step1 to be linked to the safe variable you created in step2, then click . The selected target variable appears in the field. |
5 |
your edits. |
After you compile, download and run the edited application program, the value is transferred as follows:
The data from the
tab created in the are published at the end of the corresponding task execution.The data from
tab created in the are subscribed at the beginning of the corresponding task execution.