Define introduces devices to ONLINE. The name of the device is associated with a module type and an address which identifies the module.
For VME there is a default configuration. Only the device name has to be specified on the command line. All other information is known to ONLINE by the name. Of course this works only, if the modules are correctly jumpered. The plug-and-play device names and the jumper settings are given below.
Define commands are needed only, if new hardware is installed. It is recommended to enter define commands by hand during an ONLINE session and then quit ONLINE in order have the new devices stored in the disk files.
/dev*ice= dev_type
/mod*ule= mod_type
The table in section
lists the available modules.
e.g.:
def/dev=motor/mod=e500/cr=1/sl=3/ch=0 mot1
def/dev=input/mod=1041/cr=1/sl=11/ch=0 i1
A device is renamed.
Dev_name is removed from the device list.
/nocon*firm
ONLINE does not prompt for confirmation.
/all
All devices are deleted.
Device names, e.g. mot1, refer to a default configuration. The command
def mot1is equivalent to:
def/dev=stepping_motor/mod=oms58/base=0xf000/vec=0/chan=0 mot1
Chapter gives details about the configuration of the VME modules and the PC cards.