MAPPING Statement ACE User's Guide, 3.6.x, 18316-000 Rev A Page 219 I/O data in messages to and from V+. Refer to the documentation of your DeviceNet vendor for this inform- ation. Syntax of the MAPPING statement: MAPPING map index = "/MACID node macid _ _ /BYTE byte num _ /BIT bit num _ /BIT LENGTH bit len _ _ /SIGNAL sig num" _ Parameter Description map index _ This is an integer that is used as an index for mapping DeviceNet information to V+ (1 to 100). node macid _ MACID number of a selected node on the bus (0 to 63).
byte num _ Start reading/writing data at the specified byte number (1 to 32; for V+ version 16.0 and later running on SmartController systems, using CONFIG C version 16.4 edit B4 _ or later, the allowed values are 1 to 64). bit num _ Start reading/writing information at the specified bit number in the specified byte (1 to 256; for V+ version 16.0 and later running on SmartController systems, using CONFIG C version 16.4 edit B4 or later, the allowed values are 1 to 512). _ bit len _ Number of bits to read/write (1 to 256; for V+ version 16.0 and later running on SmartController systems, using CONFIG C version 16.4 edit B4 or later, the allowed _ values are 1 to 512).
sig num _ Starting number of a range of V+ signals that receive/transmit status information from/to the selected node. The range is specified by the value of bit len. _ This number establishes whether the bits being mapped are for input or output. If the number is for a V+ input signal (1001 through 1512), the bits are used for inputs. If the number is for a V+ output signal (1 through 512), the bits are used for outputs. 1. First, select the DeviceNet component to which to write information with the parameter /MACID in the MAPPING statement.
The following example shows that V+ writes information to /MACID 1, which is the WAGO I/O block that was previously configured with the MACID 1 statement. 2. The /BYTE parameter defines the start byte of the DeviceNet Output stream to the I/O block. 3. After defining the start byte of the data stream, the /BIT parameter specifies the first bit that is