Delta Tau Acc-27 Owner's manual

  • Hello! I've reviewed the user manual for the Delta Tau Data Systems, Inc. Accessory 27 Opto-Isolated I/O Board. This board provides isolated input and output interfaces for PMAC controllers. The manual details the connectors, power requirements, and communication protocols, including the use of M-variables to control the inputs and outputs. I'm here to help answer any specific questions you might have about the device or its configuration.
  • What is the purpose of the Accessory 27?
    What is the voltage range for the external power supply?
    Can other PMAC accessories connected to the JTHW port be used?
^1 USER MANUAL
^2 Accessory 27
^3 Opto-Isolated I/O Board
^4 3Ax-602237-xUxx
^5 October 15, 2003
Single Source Machine Control Power // Flexibility // Ease of Use
21314 Lassen Street Chatsworth, CA 91311 // Tel. (818) 998-2095 Fax. (818) 998-7807 // www.deltatau.com
Copyright Information
© 2003 Delta Tau Data Systems, Inc. All rights reserved.
This document is furnished for the customers of Delta Tau Data Systems, Inc. Other uses are
unauthorized without written permission of Delta Tau Data Systems, Inc. Information contained
in this manual may be updated from time-to-time due to product improvements, etc., and may not
conform in every respect to former issues.
To report errors or inconsistencies, call or email:
Delta Tau Data Systems, Inc. Technical Support
Phone: (818) 717-5656
Fax: (818) 998-7807
Website: http://www.deltatau.com
Operating Conditions
All Delta Tau Data Systems, Inc. motion controller products, accessories, and amplifiers contain
static sensitive components that can be damaged by incorrect handling. When installing or
handling Delta Tau Data Systems, Inc. products, avoid contact with highly insulated materials.
Only qualified personnel should be allowed to handle this equipment.
In the case of industrial applications, we expect our products to be protected from hazardous or
conductive materials and/or environments that could cause harm to the controller by damaging
components or causing electrical shorts. When our products are used in an industrial
environment, install them into an industrial electrical cabinet or industrial PC to protect them
from excessive or corrosive moisture, abnormal ambient temperatures, and conductive materials.
If Delta Tau Data Systems, Inc. products are directly exposed to hazardous or conductive
materials and/or environments, we cannot guarantee their operation.
EN
Dispose in accordance with applicable regulations.
Accessory 27
Table of Contents i
Table of Contents
INTRODUCTION ....................................................................................................................................................... 1
Accessory 27 Option 2 .............................................................................................................................................. 1
Connectors ................................................................................................................................................................. 1
Power Requirements .................................................................................................................................................. 1
Power Supply and Opto-Isolation .............................................................................................................................. 2
PMAC to Acc-27 I/O Communication through JTHW .......................................................................................... 2
CONNECTOR PINOUTS ........................................................................................................................................... 3
P2 (JTHW) Option 2 Only; 26-pin Header ............................................................................................................... 3
P3 (25-Pin DB) 2A only ............................................................................................................................................ 4
TB1 (18-Pin Terminal Block) 2B only ...................................................................................................................... 5
JUMPERS .................................................................................................................................................................... 6
ACCESSORY 27 TEST SETUP ................................................................................................................................. 8
Accessory 27 I/O Test ............................................................................................................................................... 8
Accessory 27
Introduction 1
INTRODUCTION
PMAC’s Accessory 27 (Acc-27) the Opto-Isolated I/O board provides eight discrete optically isolated
input and eight discrete optically isolated output interfaces to the PMAC controller. This accessory may
be used in addition to the standard discrete I/O provided on the PMAC through its JOPT (J5) connector
and those provided with the main I/O expansion board (Acc-14). Acc-27’s Option 2 allows direct
interface to the PMAC through its JTHW (J3) connector. The external (isolated) voltage supply to this
board for the eight inputs and outputs can range from 12 to 24V.
Note:
No other PMAC accessory which communicates to PMAC through its
Thumbwheel Port (JTHW) may be used in conjunction with this accessory.
Accessory 27 Option 2
(Option 1 no longer exists)
Option 2 uses a 26-pin Header for direct interface to the PMAC's JTHW connector.
Option 2A has a 25-pin DB connector for interfacing to the external I/O. Option 2B uses the 18-pin
terminal block instead.
Option 2B is the factory default option for Acc-27 which orders a 26-pin header for the PMAC
interface and the 18-pin terminal block for the I/O connections.
Connectors
Refer to the pin out description of the connectors at the end of this manual.
P1 (JiSBX) iSBX connector used for Option 1 which no longer exists.
P2 (JTHW) (Option 2 only) is a 26-pin Header that allows the Acc-27 to be an interface with a PMAC
through its JTHW connector.
Note:
Only one Acc-27 may be connected to a PMAC through this connector.
P3 (25-pin DB) (Option 2A only) provides the I/O connections and the external (isolated) power supply
connections.
TB1 (18-pin Terminal Block) (Option 2B only) provides the I/O connections and the external (isolated)
power supply connections.
Power Requirements
5V
-15V
other 24V etc.
N/A
N/A
250mA
Accessory 27
2 Introduction
Power Supply and Opto-Isolation
The power supply for the external (Machine) side of the opto-isolation circuitry should be wired into the
Acc-27 either through the terminal block (TB1) or P3 connector (DB25). This voltage supply (ranging
from a minimum of 12 volts to a maximum of 24 volts) is used for the optically isolated logic circuits on
Acc-27. In addition, through the position of the jumpers E3, E4, and E5, the I/O lines are connected to
this supply by either pull-up or pull-down resistors (3.3K each). Refer to the enclosed schematic and the
E-point descriptions for more details. The power supply (+5V) for the internal (PMAC) side of the opto-
isolation circuitry is brought in directly from the PMAC board through either P1 (JiSBX) connector or P2
(JTHW) connector.
PMAC to Acc-27 I/O Communication through JTHW
Typically, the Acc-27 I/O is used in PMAC programs (motion and PLC) using M-variables. M-variables,
which point to places in PMAC’s memory and I/O address space, are defined ahead of time to the desired
location and size. They are then used in programs just as any other variable. Usually for discrete I/O, the
M-variables are defined to individual bits, but this is not required.
The M-variable definition carries no information about whether the location is input or output; it is the
user’s responsibility to keep the difference straight. In addition, the standard form of Acc-27 Option 2
provides non-inverting outputs and either inverting or non-inverting inputs depending on the position of
the E5 jumper (see the E-point description table).
A typical set of definitions for a single Acc-27 connected to PMAC's JTHW connector would be (the
address Y:$FFC1’s least significant 16 bits are mapped to the thumbwheel port) :
M200->Y:$FFC1,0,1 ;Thumbwheel Port Input Bit 0
M201->Y:$FFC1,1,1 ;Thumbwheel Port Input Bit 1
...
M207->Y:$FFC1,7,1 ;Thumbwheel Port Input Bit 7
M208->Y:$FFC1,8,1 ;Thumbwheel Port Output Bit 0
M209->Y:$FFC1,9,1 ;Thumbwheel Port Output Bit 2
...
M215->Y:$FFC1,15,1 ;Thumbwheel Port Output Bit 7
A typical use of an output bit in a program would be:
X1000 Y1000
DWELL500
M208=1 ;set bit 0 of the output (see above definitions)
A typical use of an input bit in a program would be:
IF (M203=1) ; If bit 3 of input set
X1000 Y1000
ELSE
X-1000 Y-1000
ENDIF
Accessory 27
Connector Pinouts 3
CONNECTOR PINOUTS
P2 (JTHW) Option 2 Only; 26-pin Header
Pin #
Symbol
Function
Description
Notes
1
GND
Common
PMAC Common
2
GND
Common
PMAC Common
3
DAT0
Input
Data-0 Input
See * Below
4
SEL0
Output
Data-0 Output
See** Below
5
Dat1
Input
Data-1 Input
See * Below
6
SEL1
Output
Data-1 Output
See** Below
7
Dat2
Input
Data-2 Input
See * Below
8
SEL2
Output
Data-2 Output
See** Below
9
DAT3
Input
Data-3 Input
See * Below
10
SEL3
Output
Data-3 Output
See** Below
11
DAT4
Input
Data-4 Input
See * Below
12
SEL4
Output
Data-4 Output
See** Below
13
DAT5
Input
Data-5 Input
See * Below
14
SEL5
Output
Data-5 Output
See** Below
15
DAT6
Input
Data-6 Input
See * Below
16
SEL6
Output
Data-6 Output
See** Below
17
DAT7
Input
Data-7 Input
See * Below
18
SEL7
Output
Data-7 Output
19
N.C.
No Connection
20
GND
Common
PMAC Common
21
N.C.
No Connection
22
GND
Common
PMAC Common
23
N.C.
No Connection
24
GND
Common
PMAC Common
25
+5V
Input
+5V Supply
From PMAC
26
N.C.
No Connection
* The Data Input Bits are the inputs to the PMAC from external sources when passed through the opto-
isolation circuitry. These can be of either non-inverting or inverting type depending on the position of the
jumper E5. With E5’s pin 1 connected to its pin 2, the inputs are not inverted. With E5’s pin 3 connected
to pin 2, the inputs are inverted (see also the enclosed Schematic).
** The Data Output Bits are the outputs from the PMAC to the opto-isolation circuitry which are then
passed to the external devices. These are always non-inverting.
P2 (JTHW) (Option 2 only) is a 26-pin Header that allows the Acc-27 to be interface with a PMAC through
its JTHW connector.
Accessory 27
4 Connector Pinouts
P3 (25-Pin DB) 2A only
Pin #
Symbol
Function
Description
Notes
1
OUT 1
Output
Acc-27 Output-1
2
OUT 3
Output
Acc-27 Output-3
3
OUT 5
Output
Acc-27 Output-5
4
OUT 7
Output
Acc-27 Output-7
5
IN 1
Input
Acc-27 Input-1
6
IN 3
Input
Acc-27 Input-3
7
IN 5
Input
Acc-27 Input-5
8
IN 7
Input
9
GND
Common
External Supply Common
10
GND
Common
External Supply Common
11
N.C.
No Connection
12
N.C.
No Connection
13
N.C.
No Connection
14
OUT 2
Output
Acc-27 Output-2
15
OUT 4
Output
Acc-27 Output-4
16
OUT 6
Output
Acc-27 Output-6
17
OUT 8
Output
Acc-27 Output-8
18
IN 2
Input
Acc-27 Input-2
19
IN 4
Input
Acc-27 Input-4
20
IN 6
Input
Acc-27 Input-6
21
IN 8
Input
Acc-27 Input-8
22
+24V
Power Supply
External Supply
See* Below
23
+24V
Power Supply
External Supply
See* Below
24
N.C.
No Connection
25
N.C.
No Connection
* The power supply for the external side of the opto-isolation circuitry may range from a minimum of +12V
to a maximum of +24V.
P3(25-pin DB) (options 1A and 2A only) provides the I/O connections and the external (isolated) power
supply connections.
Accessory 27
Connector Pinouts 5
TB1 (18-Pin Terminal Block) 2B only
Pin #
Symbol
Function
Description
Notes
1
OUT 1
Output
Acc-27 Output-1
2
OUT 2
Output
Acc-27 Output-2
3
OUT 3
Output
Acc-27 Output-3
4
OUT 4
Output
Acc-27 Output-4
5
OUT 5
Output
Acc-27 Output-5
6
OUT 6
Output
Acc-27 Output-6
7
OUT 7
Output
Acc-27 Output-7
8
OUT 8
Output
Acc-27 Output-8
9
IN 1
Input
Acc-27 Input-1
10
IN 2
Input
Acc-27 Input-2
11
IN 3
Input
Acc-27 Input-3
12
IN 4
Input
Acc-27 Input-4
13
IN 5
Input
Acc-27 Input-5
14
IN 6
Input
Acc-27 Input-6
15
IN 7
Input
Acc-27 Input-7
16
IN 8
Input
Acc-27 Input-8
17
GND
Common
External Supply Common
18
+24V
Power Supply
External Supply
See* Below
The power supply for the external side of the opto-isolation circuitry may range from a minimum of +12V
to a maximum of +24V.
TB1 (18-pin Terminal Block) (Options 1B and 2B only) provides the I/O connections and the external
(isolated) power supply connections.
Accessory 27
6 Jumpers
JUMPERS
E Point
Physical
Layout
Description
Default
E1*
* The installation of this
jumper voids the opto-
isolation feature of this board.
* * *
1 2 3
Jumper pin 1 to 2 to ground the negative
supply to the external side of the opto-
isolation. Connect pin 3 to 2 to use the -
12V from the iSBX connector.
No jumper installed
E2*
* The installation of this
jumper voids the opto-
isolation feature of this board.
* * *
1 2 3
Jumper pin 3 to 2 to ground the positive
supply to the external side of the opto-
isolation. Connect pin 1 to 2 to use the
+12V from the iSBX connector.
No jumper installed
E3
* 1
* 2
* 3
Jumper pin 1 to 2 to apply GND to Pin 9
of U14 (Should be ULN2803A for sink
output configuration).
Jumper pin 2 to 3 to apply +V (+12V to
+24V) to Pin 9 of U14 (Should be
UDN2981A for source output
configuration). See Also E4.
Jumper 1-2 installed
E4
* 1
* 2
* 3
Jumper pin 1 to 2 to apply +V (+12V to
+24V) to Pin 10 of U14 (Should be
ULN2803A for sink output
configuration).
Jumper pin 2 to 3 to apply GND to Pin
10 of U14 (Should be UDN2981A for
source output configuration). See Also
E3
Jumper 1-2 installed
E5
* 1
* 2
* 3
Jumper pin 1 to 2 to allow pull-up
resistors on the eight inputs (all pulled up
to +V).
Jumper pin 3 to 2 to allow pull-down
resistors on the eight inputs (all pulled
down to ground).
Note: Jumpering pin 2 to 3 inverts the
input signals.
Jumper 1-2 installed
Accessory 27
Jumpers 7
E2 1
3E1
P2
E3
E4
E5
TB1
P3 (OPTION)
3
1
to PMAC THUMBWHEEL
connector (J3)
PMAC THUMBWHEEL VERSION
ACC-27
8 in, 8out OPTO ISOLATED I/O
3.88 in (98.55 mm)
2.88 in (73.15 mm)
Accessory 27
8 Accessory 27 Test Setup
ACCESSORY 27 TEST SETUP
This test demonstrates how to write and read to from PMAC via Accessory 27.
Following the typical set of M-variable definitions given in the manual, we have:
M200->Y:$FFC1,0,1 ;Thumbwheel Port Input Bit 0
M201->Y:$FFC1,1,1 ;Thumbwheel Port Input Bit 1
M202->Y:$FFC1,2,1 ;Thumbwheel Port Input Bit 2
M203->Y:$FFC1,3,1 ;Thumbwheel Port Input Bit 3
M204->Y:$FFC1,4,1 ;Thumbwheel Port Input Bit 4
M205->Y:$FFC1,5,1 ;Thumbwheel Port Input Bit 5
M206->Y:$FFC1,6,1 ;Thumbwheel Port Input Bit 6
M207->Y:$FFC1,7,1 ;Thumbwheel Port Input Bit 7
M208->Y:$FFC1,8,1 ;Thumbwheel Port Output Bit 0
M209->Y:$FFC1,9,1 ;Thumbwheel Port Output Bit 1
M210->Y:$FFC1,10,1 ;Thumbwheel Port Output Bit 2
M211->Y:$FFC1,11,1 ;Thumbwheel Port Output Bit 3
M212->Y:$FFC1,12,1 ;Thumbwheel Port Output Bit 4
M213->Y:$FFC1,13,1 ;Thumbwheel Port Output Bit 5
M214->Y:$FFC1,14,1 ;Thumbwheel Port Output Bit 6
M215->Y:$FFC1,15,1 ;Thumbwheel Port Output Bit 7
Next, write the following PLC and download to PMAC.
PLC with Logic Statement
open plc1 clear
if (m200=1 and m201=1) ; if input to m200 & m201 set to 1 (or dip switches
m208=0 ; to TB1 pin 1 and TB1 pin 2 set high), outport TB5
m209=0 ; pin 1 & pin 2 set to zero.
else
m208=1 ; if input to m200 & m201 set to 0 (or dip switches
m209=1 ; to TB1 pin 1 and TB1 pin 2 set low), outport TB5
endif ; pin 9 and pin 10 set high
close
Next, make sure the PLC is enabled by typing I5=2.
Accessory 27 I/O Test
/