User`s manual
5-28 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
5
Example 1:
In this example, the
Servo Axis 1 Actual Velocity
signal (Signal Code=15) is re-routed from its
default output on Connector A to Connector B (Connector Code=02h), replacing any previous
signal on Connector B. This is accomplished by placing the following data in the %AQ
immediate command words:
Word 2
(Byte 5 and Byte 4)
Word 1
(Byte 3 and Byte 2)
Word 0
(Byte 1 and Byte 0)
+00000 +00015 0247h
Example 2:
In this example, the
Servo Axis 1 Torque Command
signal (Signal Code=10) is selected as the
Analog Output on Connector D (Connector Code=04h), replacing any previous signal on
Connector D. To accomplish this, place the following data in the %AQ immediate command
words:
Word 2
(Byte 5 and Byte 4)
Word 1
(Byte 3 and Byte 2)
Word 0
(Byte 1 and Byte 0)
+00000 +00010 0447h
Example 3:
In Example 2, the %AQ
Force Analog Output
default signal was replaced as the Analog Output
on Connector D by the
Servo Axis 1 Torque Command
signal
.
To restore the %AQ
Force Analog
Output
signal (Signal Code=00) to Connector D (Connector Code=04h), place the following data
in the %AQ immediate command words:
Word 2
(Byte 5 and Byte 4)
Word 1
(Byte 3 and Byte 2)
Word 0
(Byte 1 and Byte 0)
+00000 +00000 0447h
S
elect Analog Output Mode
C
ommand Code (47h)
T
arget Connector
C
ode (04h)
Signal Code (10)
S
elect Analog Output Mode
C
ommand Code (47h)
T
arget Connector
C
ode (04h)
Signal Code (00)
S
elect Analog Output Mode
C
ommand Code (47h)
T
arget Connector
C
ode (02h)
Signal Code (15)