Professional Documents
Culture Documents
CAN low (bl) GND (bk) Microstyle Connector, 5 Pin (refer to MV-Controller
Users Guide for pinout)
120 Ohm resistor between CAN high and CAN low Connect 24V and Ground to Buscoupler and CIP ! (see overview on next page)
I/O
I/O
On AWC adjust LOCAL_ID statement using "config_c": AWC / CIP MACID 0..63, Master BAUDRATE 125kBaud, (MACID:default 0) 250kBaud, or 500kBaud
I/O
AppsNote: DeviceNet
Buscoupler
2 InputModules
2 Output- End
Modules module
24V
DIP-switches for MACID and BAUDrate
24V and Ground supply for DeviceNet-Bus and Bridge to 24V and GND trails (going through all modules)
There are modules for galvanic separation, that allow to apply different voltages for switching.
AppsNote: DeviceNet
faulty:
Powerup problem: The DeviceNet Chip on the AWC (s.o.) isnt initialized in a controlled manner during system bootup. The DeviceNet Buscoupler may go into error condition for that reason (red BUS OFF LED on buscoupler is going on). Recommendation: Not all DeviceNet components supply an automatic ErrorReset that re-initialize communication after 20 sec. Switch on 24V-voltage for DeviceNet logic by relais after bootup of the AWC. New since V+ 13.0 G3, 13.1 J6, 13.1 S2, 13.1 D3 and 14.0 G2 a counter for Missed packets. FCMND(lun,761),$input Accessable from V+ with: can.lost = INTB($input, 11) Monitorcommand / V+Instruction : (undocumented) .dn.restart Reset of DeviceNet communication (takes around 20 sec)
AppsNote: DeviceNet
In general those two values represent the numbers of Input or Output BYTES available on a DN node with a certain MAC ID.
Each Input or Output module of the WAGO hardware (see overview) contains four Inputs / Outputs (= 4 Bit). Values for Input and Output size are rounded to the next full Byte. Attention: The scan result for Input size is missleading, as the buscoupler is marked as one additional Input-byte. Example: Wago Node with 3 Input- and 5 Output-modules: (In total 12 Inputs and 20 Outputs) Input size = 2 Bytes (rounded) + 1 Byte (coupler) = 3 Output size = 3 Bytes (rounded)
Set by DIP switches on Buscoupler
Memorize these informations, as they are needed for subsequent DeviceNet configurations.
If problems occur during scan, check if 24V/GND is connected to the DeviceNet logic (connector on Buscoupler) AND to the DNMaster on the AWC (connector on CIP)
AppsNote: DeviceNet
DeviceNet scanner speed. MUST meet the DIP switch settings of all DeviceNet nodes.
If a DeviceNet Node has Inputs that are relevant for the system safety, it can be told to force a High Power Disable with this statement..
AppsNote: DeviceNet
2 x 4 Inputs 2 x 4 Outputs
Input-Mapping (mapping nr. 2 ): On DeviceNet node #1 (MACID 1), starting from Data-Byte#1 *, first bit, define the next eight inputs (1065...1072)**
24V
GND
AppsNote: DeviceNet
AppsNote: DeviceNet
IF IOSTAT(lun) < 0 THEN TYPE "No MacId ", macid ELSE status = ASC($input, 1) TYPE "MacID ", macid, "status is ", $error[status] END
ATTACH(lun,4) "DEVICENET"
AppsNote: DeviceNet