ProSoft Technology MVI56E-LDM User Manual
Page 40

Understanding the MVI56-LDM API
ControlLogix Platform ♦ "C" Programmable
Developer's Manual
Linux Application Development Module
Page 34 of 264
ProSoft Technology, Inc.
March 12, 2014
4.1.3 Specifying the Communications Path
To construct a communications path, enter one or more path segments that lead
to the target device. Each path segment takes you from one module to another
module over the ControlBus backplane or over a ControlNet or Ethernet network.
Each path contains:
p:x, {s, c, t} :y
where
p:x
specifies the device's port number to communicate through.
where x is:
1 - backplane from any 1756 module
2 - ControlNet port from a 1756-CNB module
3 - Ethernet port from a 1756-ENET module
, - separates the starting point and ending point of the path segment.
{s, c, t} :y
specifies the address of the module you are going to.
where
s:y - ControlBus backplane slot number
c:y - ControlNet network node number (1 to 99 decimal)
t:y - Ethernet network IP address (for example, 10.0.104.140)
If there are multiple path segments, separate each segment with a comma (,).
Examples
To communicate from a module in slot 4 of the ControlBus backplane to a
module in slot 0 of the same backplane:
p:1, s:0
To communicate from a module in slot 4 of the ControlBus backplane, through a
1756-CNB in slot 2 at node 15, over ControNet to a 1756-CNB in slot 4 at node
21 to a module in slot 0 of a remote backplane"
p:1, s:2, P:2, c:21, p:1, s:0
To communicate from a module in slot 4 of the ControlBus backplane, through a
1755-ENET in slot 2 over Ethernet, to a 1756-ENET (IP address of 10.0.104.42)
in slot 4, to a module in slot 0 of a remote backplane:
p:1, s:2, p:2, t:10.0.104.42, p:1, s:0
4.1.4 ControlLogix Tag Naming Conventions
ControlLogix tags fall into two categories; controller tags and program tags.
Controller Tags have global scope. To access a controller scope tag, you only
need to specify the tag controller name. For example:
TagName
Single tag
Array[11]
Single dimensioned array element
Array[1,3]
Two dimensional array element