User`s manual
5-20 Motion Mate™ DSM314 for Series 90™-30 PLCs User's Manual
–
January 2001 GFK-1742A
5
Digital Mode
•
The
Force Analog Output
command can only be used on connectors C and D in Digital mode
(in Digital mode, both Axis 1 and Axis 2, on connectors A and B respectively, must be
digital). In fact,
Force Analog Output
is the default signal on connectors C and D in Digital
mode.
•
If Axes 1 and 2 (connectors A and B) are configured for digital servo, their analog outputs
are used only for servo tuning, and this function cannot be overriden by the
Force Analog
Output
command. Issuing a
Force Analog Output
command to a digital axis (connector A or
B) will have no affect, and no error will be reported.
•
In Digital mode, a
Force Analog Output
signal can be overridden if another signal is routed
to connector C or D by the
Select Analog Output Mode
command. If the default
Force
Analog Output
command has been overriden on connectors C or D, it can be reinstated by
either (1) issuing the immediate command
Select Analog Output
(Signal Code 00) to each
affected axis or (2) power cycling the DSM314. See Section 4.25, “Select Analog Output
Mode.”
Force Analog Output (Digital Mode) Example
In this example, Axes 1 and 2 are configured as Digital, the beginning DSM314 %Q address is
configured as %Q1, and the beginning %AQ address is configured as %AQ1. Connectors C and
D are set at their default analog output condition (
Force Analog Output
).
To force an analog output of +5VDC on connector D, the
Force Analog Output
immediate
command will be issued in the ladder logic program. Since the first %AQ word was configured as
%AQ1, the three words that apply to Connector D (“Axis 4”), are %AQ10, %AQ11, and %AQ12
(see the paragraph above Table 5-7 for details). Since %Q1 was configured as the first %Q bit,
the
Enable Drive (Servo 4)
bit for Axis 4 is %Q67 (see Table 5-5, “%Q Discrete Commands”).
So the following values must be moved into the applicable words, using Move instructions in
ladder logic (using a WORD type Move instruction makes it easier to move a hex number):
•
%AQ10 Set to 24h (which specifies the
Force Analog Output
command)
•
%AQ11 Set to +16000 (which equals +5VDC)
•
%AQ12 Set to 0 (this word is not used to convey significant data)
Additionally, the %Q67 bit (
Enable Drive
) must be set to logic 1.
MOVE
WORD
IN
OUT
LEN
00001
M
OVE
I
NT
I
N
O
UT
L
EN
0
0001
MOVE
INT
IN
OUT
LEN
00001
%AQ10
0024
+
16000
%
AQ11
%AQ12
+
00000