MACID Statement ACE User's Guide, 3.6.x 18316-000 Rev A Page 218 MACID Statement The MACID statement defines the parameters for a node on the bus. The DeviceNet scanner uses this information to communicate with each node. There must be a MACID statement for every node (for example, each I/O coupler) that the V+ system is to access. Except for the /DISABLE POWER parameter, which you can set as you wish, the values for all the para- _ meters should be taken directly from the results of scanning the DeviceNet. Syntax of the MACID statement:
MACID node macid = "/INPUT in bytes _ _ /OUTPUT out bytes _ /VENDOR ID vend num _ _ /DEVICE TYPE dev num _ _ /PRODUCT CODE prod num _ _ /DISABLE POWER pow switch" _ _ Parameter Description node macid _ MACID number of the node on the bus (0 to 63). 0 is the default; -1 will cancel. NOTE: Adept recommends that you not use 63 as a MACID, because some man- ufacturers use this as a general broadcast node. in bytes _ Number of data bytes of input from the node (0 to 256) out bytes _ Number of data bytes of output to the node (0 to 256) vend num _ Vendor identification number, assigned by ODVA. Use the number that the scanning process found. dev num _ Device number of the node.
Specifies the type of the node, for instance an I/O block. prod num _ Specified by the DeviceNet vendor. pow switch _ Either YES or NO. The default value is NO. If set to YES, robot power cannot be enabled if the specified node is offline, and robot power is turned off if the node ever goes off- line. NOTE: The values of the /VENDOR ID, /DEVICE TYPE, and /PRODUCT CODE parameters are not cur- _ _ _ rently used by the V+ system. MAPPING Statement The MAPPING statement is used to map the digital inputs and outputs of a node to the appropriate V+ sig- nals. This part of the DeviceNet setup requires that you define the way the connected nodes organize their