![Performance Motion Devices PR8358120 User Manual Download Page 62](http://html.mh-extra.com/html/performance-motion-devices/pr8358120/pr8358120_user-manual_1529622062.webp)
Accessing Card Resources
62
Prodigy/CME PC/104 User’s Guide
3
Sending a message to the
Peripheral
resource at address 0 has special meaning as the ‘null’ peripheral. This peripheral
address indicates ‘no peripheral,’ and may be useful in certain situations for disabling console messages, or disabling
the Magellan’s event output mechanism.
3.2.2
Managing Automatically Assigned Addresses
Although most network configurations are created once and left in place while the machine is operating, there may be
circumstances where peripheral connections are made, and are then no longer needed. If this is the case, these
connections should be ‘closed,’ thereby freeing that automatically assigned
Peripheral
address. This is accomplished
via the PRP action
Close
.
shows a Prodigy/CME PC/104 card being used as a production Ethernet device exerciser.
Figure 3-3:
Example
Prodigy/CME
PC/104
Architecture
with Ethernet
Device Testers
In this example the Prodigy/CME card sends messages to two different Ethernet/TCP addresses and then closes
those peripheral connections to allow the process to be repeated indefinitely.
For complete information on the format and function of these, and other PRP commands, refer to the
Prodigy/CME
Programmer’s Reference
.
PeriphID1 = PRP Device, Addr 0, Open
// Open a peripheral connection to Ethernet device 1
PRP Peripheral, Addr PeriphID1, Send
// Send a test string to Ethernet device 1
PeriphID2 = PRP Device, Addr 0, Open
// Open a peripheral connection to Ethernet device 2
PRP Peripheral, Addr PeriphID2, Send
// Send a test string to Ethernet device 2
PRP Peripheral, PeriphID2, Close
// Close peripheral connection for Ethernet device 2
PRP Peripheral, PeriphID1, Close
// Close peripheral connection for Ethernet device 1
Serial
C-Motion
Engine
Magellan
Prodigy/CME
PC/104 Card
Host Controller
Ethernet
device 1
Ethernet
device 2
Ethernet
Summary of Contents for PR8358120
Page 6: ...vi Prodigy CME PC 104 User s Guide This page intentionally left blank ...
Page 8: ...viii Prodigy CME PC 104 User s Guide This page intentionally left blank ...
Page 56: ...Operation 56 Prodigy CME PC 104 User s Guide 2 This page intentionally left blank ...
Page 88: ...Electrical Reference 88 Prodigy CME PC 104 User s Guide 4 This page intentionally left blank ...
Page 98: ...Interconnect Module 98 Prodigy CME PC 104 User s Guide 5 This page intentionally left blank ...
Page 102: ...102 Prodigy CME PC 104 User s Guide This page intentionally left blank ...