Danaher Motion
06/2005
Input/Output
M-SS-005-03 Rev
E
149
10.
INPUT/OUTPUT
The MC provides numerous types of I/O. It includes more than 40 I/O points
as standard plus the SERVO
STAR
drive includes 5 I/O points per drive. In
addition, you can input an external encoder through any SERVO
STAR
drive.
The I/O can be extended to include PC104 cards from a variety of suppliers.
10. 1
S
TANDARD
I/O
The MC includes 23 inputs and 20 outputs as standard on the MC. These
are accessed with the system properties DIN.1 through DIN.23 and DOUT.1
through DOUT.20:
? System.Din.1
System.Dout.5 = System.Din1
?System.Din
System.Dout=0xfe
For information concerning the properties of the signals that connect to these
inputs and outputs, refer to the
SERVOSTAR
®
MC Installatiion Manual.
10. 2
S
OFTWARE
I/O
The MC provides virtual software I/O in addition to the standard I/O. The
primary purpose of software I/O is to place a large group of I/O where it can
be read from and written to as blocks in the MC's dual port RAM. Virtual
inputs are delivered from the host over DPRAM where virtual outputs are
stored in the DPRAM and retrieved by the host. This is much faster than
reading or writing individual I/O points one at a time. This allows efficient
communication between a machine controller, such as a VB program or a
software PLC, and the MC program. For more information about virtual
software I/O, refer to the
SERVOSTAR
®
MC API Manual.
10.2.1. Bit-oriented Software I/O
Software I/O is used in the MC program just like standard I/O. Standard
inputs are accessed with SYSTEM.DIN.1 through DIN.23, and virtual inputs
are accessed with SYSTEM.VIN.1 through VIN.32. Standard outputs are
accessed with SYSTEM.DOUT.1 through DOUT.20, and virtual outputs are
accessed with SYSTEM.VOUT.1 through VOUT.32. You can use software
I/O to start events just as with standard I/O. Programmable limit switches can
use software outputs just as with standard outputs. Here is an example:
OnEvent SoftwareInputEvent System.VIn.1 = ON
System.VOut.1 = OFF
If(System.VOut.4 = ON)
. . .