ACC-11E User Manual
Table of Contents 4
Table of Contents
INTRODUCTION......................................................................................................................... 6
SPECIFICATIONS....................................................................................................................... 7
Environmental Specifications ......................................................................................................... 7
Electrical Specifications.................................................................................................................. 7
Physical Specifications ................................................................................................................... 7
Agency Approval and Safety .......................................................................................................... 8
ADDRESSING ACC-11E ............................................................................................................. 9
Turbo/Power UMAC and MACRO Station Jumper Settings ......................................................... 9
Legacy MACRO Station Address Jumper Settings ........................................................................ 9
Sinking or Sourcing Output Select ............................................................................................... 10
I/O Gate Data Clock Select ........................................................................................................... 10
Hardware Address Limitations ..................................................................................................... 11
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 ............................................................................................................ 17
USING ACC-11E WITH POWER UMAC C PROGRAMING ............................................. 18
Setting Up Digital I/O Access....................................................................................................... 18
Function for Setting the Control Word: ACC11E_SetControlWord() ..................................... 18
Function for Reading the State of Inputs: ACC11E_GetInputState() ...................................... 19
Function for Reading the State of Outputs: ACC11E_GetOutputState()................................. 19
Function for Writing to Outputs: ACC11E_SetOutputState() ................................................. 20
Header and Source File ........................................................................................................... 22
User Written Functions ............................................................................................................ 26
Setting Up the Control Word ........................................................................................................ 28
USING ACC-11E WITH UMAC MACRO STATION ........................................................... 30
Quick Review: Nodes and Addressing ......................................................................................... 30
Setting Up The Control Word ....................................................................................................... 33
Transferring Data Points over I/O Nodes ..................................................................................... 35
Preparing for I/O Data Transfer on the MACRO16 Station ................................................... 36
MS{anynode},MI71: 24-Bit Transfer ....................................................................................... 37