Page 1
USER MANUAL Accessory 11E 24 Opto In/24 Opto Out 3AX-603307-XUXX October 17, 2018 DELTA TAU Data Systems, Inc. NEW IDEAS IN MOTION … Single Source Machine Control Power // Flexibility // Ease of Use 21314 Lassen Street Chatsworth, CA 91311 // Tel. (818) 998-2095 Fax. (818) 998-7807 //...
Page 3
ACC-11E User Manual MANUAL REVISION HISTORY REV. DESCRIPTION DATE CHG. APPVD ADDED CE DECLARATION 06/07/06 REVS. TO J1& J2, PINS 8 & 15, P. 31 05/11/07 REVS. TO ELEC. SPECS, P. 3 07/27/07 ADDED UL SEAL TO MANUAL COVER 10/01/09...
USING ACC-11E WITH TURBO UMAC ................13 Configuring the Control Word ...................... 13 Accessing I/O data points (M-Variables) ..................14 USING ACC-11E WITH POWER UMAC SCRIPT PROGRAMING ......... 16 Configuring the Control Word ...................... 16 Accessing I/O Data Points (Pointers) ................... 17 Suggested M-Variables ......................
Page 5
ACC-11E User Manual MS{anynode},MI69 and MI70: 16-Bit Transfer ..............42 MS{anynode}, MI171, MI172, and MI173: 24-Bit/16-Bit Transfer ........46 LAYOUTS & PINOUTS ......................47 Board Layout Diagrams ........................ 47 Wiring Considerations ........................48 Terminal Block Option ......................... 49 TB1 Top: Inputs 1 thru 12 ......................49 TB2 Top: Inputs 13 thru 24 ......................
ACC-11E User Manual INTRODUCTION The ACC-11E is a 24 In/24 Out general purpose I/O card. Built in the 3U euro card format, it can be used in the following products: Turbo UMAC Power UMAC UMAC MACRO Station All inputs and outputs are 12-24 VDC, optically isolated, and can be configured as sinking or sourcing.
ACC-11E User Manual SPECIFICATIONS Environmental Specifications Description Specification Operating Temperature 0°C to 45°C, Storage Temperature -25°C to 70°C Humidity 10% to 95 % non-condensing Electrical Specifications Description Specification Notes Power Requirements 5V @ 0.05A (10%) Output Current (individual) 100 mA For UDN2981 and ULN2803 12 –...
ACC-11E User Manual Agency Approval and Safety Item Description CE Mark EN61326-1 EN55011 Class A Group 1 EN61000-4-2 EN61000-4-3 EN61000-4-4 EN61000-4-5 EN61000-4-6 UL 61010-1 File E314517 CAN/CSA C22.2 No. 1010.1-92 File E314517 Flammability Class UL 94V-0 EMI: KN 11 EMS: KN 61000-6-2 사...
ACC-11E User Manual ADDRESSING ACC-11E Several jumpers must be configured on the Accessory 11E in order for it to work properly with other I/O cards in the UMAC rack. Jumpers E1-E4 select the starting base I/O address, and for within the base address, jumpers E6A-E6H select whether the low, middle, or high byte will be used.
ACC-11E User Manual Sinking or Sourcing Output Select Jumpers E16 thru E21 generally should be left at factory defaults. They must not be changed without also changing their respective buffer IC, ULN2803A for sinking or UDN2981A for sourcing. WARNING Jumpers...
ACC-11E User Manual Hardware Address Limitations The ACC-11E has a hardware address limitation relative to the newer type B series of UMAC high-speed I/O cards. These new I/O cards have four base addresses per chip select (CS10, CS12, CS14, and CS16).
Page 12
ACC-11E User Manual Type A and Type B General I/O Cards Type A cards can share the same Chip Select as Type B general I/O cards; however, in this mode, Type B cards naturally use the lower byte (default), and Type A cards must be set to the middle/high byte of the selected base address.
ACC-11E User Manual USING ACC-11E WITH TURBO UMAC The procedure for using the ACC-11E with Turbo UMAC has two steps: 1. Configure the Control Word 2. Accessing I/O data points (M-Variables) Configuring the Control Word Write a 7 to the control word which is located at {base address + 7}, n, 8 where:...
Accessing I/O data points (M-Variables) Every ACC-11E has 48 bits of I/O data, which are comprised of one byte (8 bits) at the base address plus five more bytes (8 x 6 = 48) at the next five consecutive addresses. Examples:...
Page 15
ACC-11E User Manual See Appendix for suggested M-Variables for additional cards. Note Suggested M-Variable definitions are also available with the UMAC Config. Pro2 tool (see Appendix). Note Most systems only use low byte addressing Note Using ACC-11E with UMAC Turbo...
ACC-11E User Manual USING ACC-11E WITH POWER UMAC SCRIPT PROGRAMING The following section describes two software configuration procedures that are needed when using the Power PMAC script programming language: 1. Configuring the Control Word 2. Accessing I/O data points (pointers) Configuring the Control Word Write a 7 to the control word which is located at {base address + 7}.n.8 where:...
ACC-11E User Manual Accessing I/O Data Points (Pointers) The simplest way to access I/O points on the ACC-11E is to define pointer variables (M-Variables) that point to each bit on the I/O device. Suggested M-Variables Base offset $A00000, low byte addressing // Single-bit variables used for accessing I/O points ptr Input1->u.io:$A00000.8.1...
Setting Up Digital I/O Access Delta Tau has developed the following functions which can be used to setup the ACC-11E using the C Programming Language. The last entry in the list describes, as an alternative, how to create user written functions.
ACC-11E User Manual Function for Reading the State of Inputs: ACC11E_GetInputState() Three parameters must be passed in the calling function: BaseAddressOffset: One of the four base addresses (jumper selected) ACC-11E can take =0xA00000 =0xB00000 =0xC00000 =0xD00000 ByteSelect: The byte used (jumper selected) for the I/O bits on this card...
// Return state of I/O point return ((*ioptr >> 8) & HighBitInCorrectLocation) >> ShiftValue; Function for Writing to Outputs: ACC11E_SetOutputState() Four parameters must be passed in the calling function: BaseAddressOffset: One of the four base addresses (jumper selected) ACC-11E can take =0xA00000 =0xB00000 =0xC00000 =0xD00000...
Page 21
// Logical AND the register with a 0 in the desired location to bring the pin's state low // right shift to push out garbage in lowest 8 bits, then shift back up 8 bits to have // data in the proper location *ioptr &= (((~0)^HighBitInCorrectLocation) >> 8) << 8; return; Using ACC-11E with Power UMAC...
“acc11.h” should be included whenever using the above ACC-11E C code. The files, acc11e.h and acc11e.c, must be put into the same folder as the C program (BGCPLC, RTICPLC, or Background C Program.
Page 23
= piom + BaseAddressOffset/4; // Initialize pointer ioptr += OutputNumber/8 + 3; // Increment to register containing the I/O bit // Return state of I/O point return ((*ioptr >> 8) & HighBitInCorrectLocation) >> ShiftValue; Using ACC-11E with Power UMAC...
Page 24
// Logical AND the register with a 0 in the desired location to bring the pin's state low // right shift to push out garbage in lowest 8 bits, then shift back up 8 bits to have // data in the proper location *ioptr &= (((~0)^HighBitInCorrectLocation) >> 8) << 8; return; Using ACC-11E with Power UMAC...
Page 25
This example is for an ACC-11E at base address offset $A00000 with low-byte addressing. Every scan, the following Background CPLC (BGCPLC0) reads all inputs on the ACC-11E and places them into P-Variables (P7000–P7023) for general purpose use. The BGCPLC will also read from P-Variables (P8000–P8023) and write their values to the output pins of ACC-11E as follows:...
To write I/O states, perform a read-modify-write to change the appropriate bit in the word (e.g., to enable or disable an output) Table of ACC-11E I/O Registers in C To access the I/O pins in ACC-11E, point a volatile unsigned int* pointer to the following registers:...
Page 27
ACC-11E User Manual The useful data in each of these registers will be found in bits 8–32; the ACC-11E in Power PMAC does not use bits 0–7 of any of its registers. The base addresses (left to right four columns) and bytes (right end column) are selected with jumpers (see Addressing Setup and Jumper Settings section).
Example: Setting the Control Word in C in a Background C Program This example Background C Program sets the Control Word equal to 7 for an ACC-11E at base address offset $A00000 with low byte addressing using a Background C Program, and then returns.
Page 29
ACC-11E User Manual Remember to put acc11e.c and acc11e.h from the previous section into the same folder as this BGCPLC in order to run it properly. See Appendix for control word details and explanations. Note Using ACC-11E with Power UMAC...
2. I/O is transferred between MACRO Station ($C0XX) and Ring Controller ($7XXXX) nodes. ACC-11E input data is written to MACRO IC addresses ($7XXXX) on the Ring Controller, and Ring Controller output data is written to MACRO Station IC addresses ($C0XX) on the MACRO Station.
CS16 Cannot be used with legacy MACRO16 CPU’s (rev 100 –104) Note MI198 and MI199 can be written to directly from the Pewin32Pro2 terminal window. However, their values are not saved and should be executed in a startup PLC. Note Using ACC-11E with UMAC MACRO Station...
Page 34
ACC-11E User Manual Example: Writing control words for two ACC-11E cards set to base addresses $8800,0,8 and $8800,8,8 Open PLC 1 Clear I5111=1000*8388608/I10 while(I5111>0) endw ; 1-sec delay CMD"MS0,MI198=$408807" ; Set control word for first ACC-11E at $8800 low byte addresses CMD"MS0,MI199=$07"...
ACC-11E User Manual Transferring Data Points over I/O Nodes This section illustrates how I/O data is transferred from ACC-11E ($88XX) registers, thru I/O nodes ($C0XX), and finally to the ring controller ($7XXXX) for user access using M-Variable pointers. It is assumed that communication over the MACRO ring has already been established, and that the user is familiar with node activation on both the Ring Controller and MACRO Station.
MI1975 should match enabled I/O nodes in MI1996 The following I/O data transfer method examples assume that MACRO communication, I/O nodes enabling, and other MACRO ring parameters have been configured properly on both the ring Controller and MACRO Station. Note Using ACC-11E with UMAC MACRO Station...
ACC-11E User Manual MS{anynode},MI71: 24-Bit Transfer This method is typically used when six or less ACC-11E cards are present in the rack. MS{anynode},MI71 processes 24-bit register transfers. It is a 48-bit variable represented as 12 hexadecimal digits which are set up as follows (digit #1 is leftmost when constructing the word): No.
Page 38
ACC-11E User Manual Example 2: Transferring I/O data of two ACC-11E cards (total of 96 bits) at consecutive $8800 addresses (using low and middle bytes) over MACRO using four consecutive 24-bit registers of I/O nodes 2, 3, 6, and 7 ($C0A0, $C0A4, $C0A8, and $C0AC respectively) yields:...
Page 39
ACC-11E User Manual Example 4: Transferring I/O data of the maximum of six ACC-11E cards (total of 288 bits) at consecutive $8800 addresses (using low, middle, and high bytes) and consecutive $8840 addresses (using low, middle, and high bytes) over MACRO using six consecutive 24-bit registers of IC#0 I/O nodes 2, 3,...
Page 40
The following diagram illustrates the basic concept of mirroring: Example: For “example 1” above, using MI71 24-bit transfer to process one ACC-11E over MACRO using I/O nodes 2 and 3, the following assignments and PLC program demonstrate the mirroring...
MS{anynode},MI69 and MI70: 16-Bit Transfer This method is generally only used in special cases in which the 24-bit transfer method cannot be used because either the 24-bit registers are already being used or because more than six ACC-11E cards are needed.
Page 43
ACC-11E User Manual Transferring multiple ACC-11E cards using MS{anynode}, MI69 and MI70 requires them to be at the same base address, starting with the first card set for low byte addressing, the second card set for middle byte addressing, and then a third card (if Note present) set for high byte addressing.
Page 44
ACC-11E User Manual Example: For the above example, using MI69 16-bit transfer to process one ACC-11E over MACRO using I/O node 2, the following assignments and PLC program demonstrate the mirroring implementation. In 16-bit transfers, the middle 16-bit register is split into half inputs and half outputs. Because of this, outputs must be masked when reading inputs, and inputs must be masked when writing outputs.
This method of transfer is not commonly used with an ACC-11E and is therefore covered more briefly. With this method, three ACC-11E cards make full use of only two I/O nodes. Note that if less than three cards are used, nodes will be otherwise unusable.
ACC-11E User Manual Wiring Considerations The inputs have an activation range from 12 V to 24 V, and can be sinking or sourcing for each of three 8-bit groups, depending on the reference to the opto circuitry. The opto-isolator IC used is a PS2705- 4NEC-ND quad photo-transistor output type.
Page 59
ACC-11E User Manual NOTE: E16,E17 MUST NUMBER IN THE SAME DIRECTION JUMP 1-TO-2 FOR SINKING OUTPUT JUMP 2-TO-3 FOR SOURCING OUTPUT USE `ULN2803A' FOR SINKING OUTPUTS Power Trace USE `UDN2981A' FOR SOURCING OUTPUTS 78L05 O+V1 VOUT 22UF 1SMC33AT3 0.1UF RP70...
ACC-11E User Manual APPENDIX A: USING THE UMAC CONFIG PRO2 TOOL The UMAC Config Pro2 tool can be used to auto detect and display information on the CPU and accessories present in the UMAC. It can be launched from the Executive: Click on “Select”, and then select the correct UMAC communication connection.
Page 61
ACC-11E User Manual The ACC-11E, like the other older Type A accessories, appears in the list as “Unknown”. Left-click on the “Unknown” accessory. Although the precise accessory number is not detected, the base address and address jumper settings are detected and displayed.
Page 62
ACC-11E User Manual Next, the correct accessory number can be entered and a list of suggested M-Variable definitions can be accessed or downloaded. Right click on “Unknown” and select “Define Accessory”. Click on the “Next” button. Appendix A: Using the UMAC Config Pro2 Tool...
Page 63
ACC-11E User Manual Select the accessory type and click “Next”. Verify the jumper settings and click “Next”. Appendix A: Using the UMAC Config Pro2 Tool...
Page 64
ACC-11E User Manual Click “Next”. Click “Finish”. Appendix A: Using the UMAC Config Pro2 Tool...
Page 65
ACC-11E User Manual Click on “M-Variables”. The list of M-Variable definitions that appears can be downloaded by clicking the “Down” icon (yellow arrow pointing down). Click on the “File” icon to locate the text file. Appendix A: Using the UMAC Config Pro2 Tool...
ACC-11E User Manual APPENDIX B: FULL TURBO UMAC M-VARIABLE MAPPINGS This appendix provides suggested M-Variables for all twelve possible ACC-11E address settings. Base Address $78C00, Low Byte // Single-bit variables used for accessing I/O points M7000->Y:$078C00,0,1 ;Card 1, Input 1 M7001->Y:$078C00,1,1...
ACC-11E User Manual APPENDIX C: FULL POWER UMAC M-VARIABLE MAPPINGS This appendix provides suggested M-Variables for all twelve possible ACC-11E addressing settings. Base Offset $A00000, Low Byte // Single-bit variables used for accessing I/O points ptr IoCard1Pt00->u.io:$A00000.8.1 // I/O Card 1 Input 00 ptr IoCard1Pt01->u.io:$A00000.9.1...
None Register Select The ACC-11E will only operate with a control word value of 7 because it cannot be altered from its 24 input/24 output configuration. The value would only be different for an accessory with a different configuration, for instance a 48-bit input card.
Need help?
Do you have a question about the ACC-11E and is the answer not in the manual?
Questions and answers