CANbus Communication Physical Layer CANbus Unitronics CANbus runs
CANbus Communication
Physical Layer CANbus Unitronics’ CANbus runs on the same physical layer as A. B. ’s Device Net, but uses a different protocols. A CANbus network can include up to 63 PLCs and mix different models of M 90/91 as well as Vision. The CANbus port can be used in 4 ways: • • 2/19 To connect a net of up to 63 units to a PC To connect a net of up to 64 units one to the other To exchange data with 3 rd party device To “see” controllers via PC
CAN bus wiring Specifications 3/19
CAN bus Cable Lookout 4/19
Networking CANbus Methods of data exchange: PLC to PLC § CANbus ISC (Inter-Save Connection) Data is broadcast over the CANbus network via system operands, where each unit can read information from up to 8 other PLCs in the network. § Uni. CAN Data. Com This enables a PLC in the CANbus network to exchange data with up to: 60 other networked PLCs. 5/19
Networking CANbus PLC to 3 rd Party Device CANopen Supports data communication with remote devices according to the CANopen standard. CANbus , Layer 2 Enables Vision controllers to send and receive data with remote devices that support CANbus protocol. J 1939 Automotive CAN. Enables Vision controllers to communicate on the automotive Can Network. 6/19
CANbus Network to PC Unit ID 1 Bridge 7/19 Unit ID 2 Unit ID 3
CANbus ISC is a multi-master protocol. Via the CANbus port, you can : • Network up to 63/64 controllers • Each networked PLC broadcasts specific data to the network • 16 System Bits (SB 200 to SB 215) • 16 Inputs (I 0 to I 15) • 2 System Integers (SI 200 and SI 201) • Each unit can read information from up to 8 other controllers in the network • Supported both by M 90, M 91 and Vision controllers • Mixed networks possible 8/19
Communication Uni. CAN Multi-Master protocol • Up to 60 units in network • Via Uni. CAN, a Unitronics' PLC can exchange data with up to 60 other networked PLCs • Uni. CAN can send up to 32 messages, each containing 16 integer values, totaling 512 MI register values during a single program scan 9/19
Uni. CAN Assign each networked controller a unique Unit ID Number and initialize the CANbus port to Uni. CAN. 10/19
Uni. CAN Send Registers You can send a vector of values up to 16 integers long in a single Send function. 11/19
Broadcast Use Broadcast to send an MB and an MI value to all controllers in the Uni. CAN network. Source controller ID# 3 contains 123 in MI 50, and has MB 50 ON : all controllers in the network will have 3 written into SI 201 123 written into SI 200, and SB 200 will be turned ON. 12/19
Check Alive Signal Each 0. 5 seconds, a unit sends an 'Alive' signal to the CANbus network. The Check Alive Signal function receives the signal. 13/19
Message Arrived When a message arrives from the networked unit whose ID # is given in the function, the Status MB turns ON. When the message is received, the corresponding bit in SIs-240 -243, which provide a bitmap of all units in the Uni. CAN network, turns OFF. 14/19
Thank You ! 15/19
- Slides: 15