Skip to content
Snippets Groups Projects
industryPack.cmd 1.8 KiB
Newer Older
mooney's avatar
mooney committed

# BEGIN industryPack.cmd ------------------------------------------------------

rivers's avatar
rivers committed
# This configures the Industry Pack Support

# First carrier
# slot a: IP-Octal (serial RS-232)
# slot b: IpUnidig (digital I/O)
mooney's avatar
mooney committed
# slot c: Ip330 (A/D converter)
mooney's avatar
mooney committed
# slot c: IP-EP201 (FPGA)
rivers's avatar
rivers committed
# slot d: Dac128V (D/A converter)

###############################################################################
# Initialize IP carrier
# ipacAddCarrier(ipac_carrier_t *pcarrier, char *cardParams)
#   pcarrier   - pointer to carrier driver structure
#   cardParams - carrier-specific init parameters

# Select for MVME162 or MVME172 CPU board IP carrier.
#ipacAddMVME162("A:l=3,3 m=0xe0000000,64;B:l=3,3 m=0xe0010000,64;C:l=3,3 m=0xe0020000,64;D:l=3,3 m=0xe0030000,64")

# Select for SBS VIPC616-01 version IP carrier.
# ipacAddVIPC616_01("<a16 address>, <a32 address>")
# (fixed 8 MB of a32 memory per module)
#    OR
# ipacAddVIPC616_01("<a16 address>, <a24 address>, <size (kB) of a24 per module>")
#
mooney's avatar
mooney committed
#ipacAddVIPC616_01("0x3000,0xa0000000")
mooney's avatar
mooney committed
#ipacAddVIPC616_01("0x3400,0xa2000000")
# Select for Tews TVME-200 (also sold by SBS as VIPC626) version IP carrier.
# Config string is hex values of the six rotary switches on the board.
# In this example, the card is at a16 address 0x3000 ("30"), uses the interrupt
mooney's avatar
mooney committed
# assignment ("1"), uses the 32-bit address space for module memory
# ("f"), and maps that memory to A32 address 0xa000000 ("a0")
mooney's avatar
mooney committed
#
ipacAddTVME200("301fa0")
mooney's avatar
mooney committed
#ipacAddTVME200("341fa2")
rivers's avatar
rivers committed
# Print out report of IP modules
ipacReport(2)

mooney's avatar
mooney committed

# serial support
< serial.cmd

# user programmable glue electronics (requires Acromag IP-EP20x)
iocsh "softGlue.iocsh"
rivers's avatar
rivers committed

# Systran DAC128V
mooney's avatar
mooney committed
#< dac128V.cmd
rivers's avatar
rivers committed

# Analog I/O (Acromag IP330 ADC)
mooney's avatar
mooney committed
#< ip330.cmd
rivers's avatar
rivers committed

# SBS IpUnidig digital I/O
rivers's avatar
rivers committed
< ipUnidig.cmd
mooney's avatar
mooney committed
# END industryPack.cmd --------------------------------------------------------