home > ±â¼úÁ¤º¸> DeviceNet
DeviceNet
Introdution
DeviceNetÀÇ ¿ø·¡ ¹Ì±¹ ȸ»ç Allen-Bradley (ÇöÀç Rockwell Automation¼ÒÀ¯) ¿¡ ÀÇÇØ °³¹ßµÇ¾ú½À´Ï´Ù. ±× ÈÄ, Àü ¼¼°èÀûÀ¸·Î DeviceNetÀÇ »ç¿ëÀ» ÃËÁøÇϱâ À§ÇØ ODVA (Open DeviceNet Vendor Association)¶ó´Â µ¶¸³ ±â°üÀÌ Ã¢¼³µÇ¾î DeviceNetÀÇ »ç¾çÀ» °ü¸®, ¹ßÀü, ÀûÇÕ¼º ½ÃÇè µîÀ» ´ã´çÇϰí ÀÖ½À´Ï´Ù. DeviceNetÀº »ê¾÷¿ë ÄÁÆ®·Ñ·¯ ¹× I/O ÀåÄ¡µé °£ÀÇ Digital Multi-Drop ³×Æ®¿öÅ©·Î¼. °¢ µð¹ÙÀ̽º / Á¦¾î±â´Â ³×Æ®¿öÅ©»óÀÇ Node°¡ µË´Ï´Ù. ¶ÇÇÑ, DeviceNetÀº Producer - Consumer ³×Æ®¿öÅ©·Î¼ Multiple Communication Hierarchy°ú ¸Þ¼¼Áö ¿ì¼±¼øÀ§ ±â´É ¹× Master-Slave /Peer-to-PeerÅë½Å ±¸Á¶°¡ ¸ðµÎ °¡´ÉÇÕ´Ï´Ù. ±×¸®°í, DeviceNetÀÇ µ¶Æ¯ÇÑ ±â´ÉÀº ³×Æ®¿öÅ©»ó¿¡ Power¸¦ °ø±ÞÇÑ´Ù´Â Á¡ÀÔ´Ï´Ù. ÀÌ ±â´ÉÀ» ÅëÇØ, ÀûÁ¤·® ÀÌÇÏÀÇ Power´Â ³×Æ®¿öÅ©¿¡¼ Á÷Á¢ °ø±Þ ¹ÞÀ» ¼ö ÀÖ´Â ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù. DeviceNetÀº ISO Ç¥ÁØÀÇ OSI °èÃþ¸ðµ¨À» ÁؼöÇϸç, °¢ °èÃþº° ±â´ÉÀº ´ÙÀ½°ú °°½À´Ï´Ù.
Physical Layer
Topology
DeviceNetÀº Trunk-line / Drop-line topology¸¦ »ç¿ëÇϸç, ½ÅÈ£¿Í Àü¿ø ºÐ¹è¸¦ À§ÇØ °¢°¢ÀÇ Twisted-pair bus¸¦ Á¦°øÇÕ´Ï´Ù. ÀÌ TopologyÀÇ °¡´ÉÇÑ º¯ÇüÀÌ ¾Æ·¡ ±×¸²¿¡ ³ªÅ¸³ª ÀÖ½À´Ï´Ù.
Cable
DeviceNet¿¡´Â ÀϹÝÀûÀ¸·Î Thick, Thin CableÀ» »ç¿ëÇϴµ¥, ÀÌ CableÀº ¼¼°è À¯¼öÀÇ ¾÷ü¿¡¼ Á¦°øÇÏ°í ¾î¼, ±¸ÀÔÀÌ ¸Å¿ì Æí¸®ÇÕ´Ï´Ù. °¢ CableÀÇ Æ¯¼ºÀº ¾Æ·¡ÂÊ Ç¥¿¡ ³ªÅ¸³ª ÀÖ½À´Ï´Ù.
(Ư¼º Impedance : 120 Ohm)
| Cable Type | 125K Bps | 250K Bps | 500K Bps |
|---|---|---|---|
| Thick Cable Length | 500m | 250m | 100m |
| Thin Cable Length | 100m | 100m | 100m |
Connector
DeviceNetÀº ¾Æ·¡ÂÊ ±×¸²°ú °°ÀÌ ¿©·¯ °¡Áö ´Ù¸¥ À¯ÇüÀÇ Connector¸¦ Áö¿øÇϰí ÀÖ°í, SealedÇü / UnsealedÇü Ä¿³ØÅÍ ¸ðµÎ¸¦ Áö¿øÇÕ´Ï´Ù.
Node´Â Power-Off ÇÏÁö ¾ÊÀº »óÅ¿¡¼, ³×Æ®¿öÅ©¿¡ ¿¬°áÇϰųª Å»Âø ÇÒ ¼ö ÀÖÀ¸¸ç, DeviceNetÀÇ µ¶Æ¯ÇÑ ±â´É¿¡ ÀÇÇØ ³×Æ®¿öÅ©ÀÇ ¾î´À ÁöÁ¡¿¡¼µç Àü¿ø ÅÇÀ» Ãß°¡ ÇÒ ¼ö°¡ Àֱ⠶§¹®¿¡ Áߺ¹ Àü¿ø °ø±Þµµ °¡´ÉÇÕ´Ï´Ù.
Data Link Layer
DeviceNetÀÇ µ¥ÀÌÅÍ ¸µÅ© ÃþÀº CAN »ç¾ç ¹× CAN ÄÁÆ®·Ñ·¯ ĨÀÇ ½ÇÀå¿¡ ÀÇÇØ Á¤Àǵ˴ϴÙ. CAN »ç¾çÀº µÎ ¹ö½º »óŸ¦ Dominant (³í¸® 0)¿Í Recessive (³í¸® 1) »óÅ·ΠÁ¤ÀÇÇϰí ÀÖÀ¸¸ç, ¾î¶² Transmitterµµ Bus¸¦ Dominant »óÅ·ΠDriveÇÒ ¼ö ÀÖ½À´Ï´Ù. Áï, ¸ðµç Transmitter°¡ ¼Û½ÅÇÏÁö ¾ÊÀ» ¶§¿¡¸¸, ¹ö½º´Â Recessive »óŰ¡ µË´Ï´Ù. À̰ÍÀ» (CAN¿¡¼ ä¿ëÇÑ) Bus arbitration scheme À̶ó°í ÇÕ´Ï´Ù.
CANÀº ´ÙÀ½Ã³·³ ¿©·¯ ÇÁ·¹ÀÓÀ» Áö¿øÇϰí ÀÖ½À´Ï´Ù¸¸, DeviceNetÀº ÀÌÁß¿¡¼ Data ÇÁ·¹ÀÓÀ» ÀÌ¿ëÇÏ¿© Data¸¦ Àü¼ÛÇϸç, ³ª¸ÓÁö ÇÁ·¹ÀÓÀº ¿¹¿Ü󸮸¦ À§ÇØ »ç¿ëµË´Ï´Ù.
- Data ÇÁ·¹ÀÓ - Remote ÇÁ·¹ÀÓ - Overload ÇÁ·¹ÀÓ - Error ÇÁ·¹ÀÓ
CANÀº Carrier sense network·Î¼, Node´Â ´Ù¸¥ Node µéÀÌ Àü¼ÛÇÏÁö ¾ÊÀ» ¶§¿¡¸¸ Àü¼ÛÀ» ½Ãµµ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ ±â´ÉÀ» ÅëÇØ ¿ÏÀüÇÑ Peer-to-Peer±â´ÉÀ» Á¦°øÇÏ°Ô µÇ¸ç, µû¶ó¼ µÑ ÀÌ»óÀÇ CAN Node°¡ ³×Æ®¿öÅ©¸¦ ¾×¼¼½º ÇÒ ¶§ ¹ß»ýÇÏ´Â ÀáÀçÀû Ãæµ¹À» a Non-destructive, Bit-wise Arbitration Mechanism¿¡ ÀÇÇØ ¾Æ¹«·± DataÀÇ ¼Õ½Ç ¾øÀ̵µ ÇØ°áÇÒ ¼ö ÀÖ½À´Ï´Ù. ( ÀÚ¼¼ÇÑ CANÀÇ Æ¯Â¡Àº ´Ù¸¥ ±â¼úÀڷḦ Âü°íÇϽñ⠹ٶø´Ï´Ù.)
Network & Transport Layer
DeviceNet¿¡¼´Â ¾î¶² Device¿Í Á¤º¸¸¦ ±³È¯Çϱâ À§Çؼ´Â ¸ÕÀú ±× Device¿ÍÀÇ ConnectionÀÌ È®¸³ ÇØ¾ß µÇ±â ¶§¹®¿¡ °¢ DeviceNet Á¦Ç°µéÀº Unconnected Message Manager (UCMM) ȤÀº Group 2 Unconnected Port ±â´ÉÀ» Áö¿øÇØ¾ß ÇÕ´Ï´Ù. ÀÌ ±â´ÉÀ» »ç¿ëÇÏ¿© Explicit Messaging Connection À» È®¸³ÇÏ°Ô µÇ¸é, ÀÌ Explicit ConnectionÀº Node°£¿¡ Á¤º¸¸¦ À̵¿Çϰųª, I/O ConnectionÀ» È®¸³Çϴµ¥ »ç¿ëµË´Ï´Ù. ÀÏ´Ü I/O ConnectionÀÌ È®¸³µÇ¸é, Device°£¿¡ Data°¡ ±³È¯ µÉ ¼ö ÀÖ½À´Ï´Ù. ¿©±â¼, ÀÌ ConnectionÀÇ ID¸¦ Á¤ÀÇ Çϴµ¥ 11-bit CAN Identifier °¡ »ç¿ëµÇ´Âµ¥ Connection IDÀÇ À¯ÀϼºÀº Producer-Consumer ±â´ÉÀ» ÃæºÐÈ÷ ¹ßÈÖÇϱâ À§ÇØ ¾ö°ÝÇÏ°Ô °ü¸®µË´Ï´Ù. DeviceNetÀº 11 Bit CAN Identifier¸¦ ³× ±×·ìÀ¸·Î ³ª´¯´Ï´Ù. óÀ½ 3 °³ÀÇ ±×·ìÀº µÎ °³ÀÇ Çʵ带 ( 6 ºñÆ®ÀÇ MAC ID, ³ª¸ÓÁö ¸Þ½ÃÁö ID ) Á¶ÇÕÇϴµ¥ ¹Ù·Î ÀÌ Á¶ÇÕ µÈ Çʵ尡 Connection ID°¡ µË´Ï´Ù.(¾Æ·¡ ±×¸² ÂüÁ¶)
| 10 ºñÆ® | 16 Áø¼ö¹üÀ§ | IDÀÇ »ç¿ë¹æ¹ý | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
| 0 | Group1 ¸Þ½ÃÁö ID | ¼Û½ÅÃø MAC ID | 000-3ff | ¸Þ½ÃÁö Group1 | ||||||||
| 1 | 0 | MAC ID | Group2 ¸Þ½ÃÁö ID | 400-5ff | ¸Þ½ÃÁö Group2 | |||||||
| 1 | 1 | Group3 ¸Þ½ÃÁö ID | ¼Û½ÅÃø MAC ID | 600-7bf | ¸Þ½ÃÁö Group3 | |||||||
| 1 | 1 | 1 | 1 | 1 | Group4 ¸Þ½ÃÁö ID | 7c0-7ef | ¸Þ½ÃÁö Group4 | |||||
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | X | X | X | 7f0-7ff | Invalid |
| 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
The Upper Layers: the Common Industrial Protocol (CIP)
DeviceNetÀº Upper ·¹À̾î·Î Common Industrial Protocol (CIP) À» »ç¿ëÇÕ´Ï´Ù. CIP´Â öÀúÇÑ Object oriented Ư¼ºÀ» Áö´Ï°í ÀÖ½À´Ï´Ù. °¢ Object´Â Attributes (data), Services (commands), Behavior (reaction to events) ¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. CIP »ç¾ç¿¡´Â µÎ °¡ÁöÀÇ ´Ù¸¥ TypeÀÇ Object (Áï, Communication Object / Application-specific Object)°¡ Á¤ÀÇ µÇ¾î ÀÖ½À´Ï´Ù. Vendor-specific Objectµµ Á¤ÀÇ µÉ ¼ö Àִµ¥. ÀÌ´Â CIP »ç¾ç¿¡ Á¸ÀçÇÏÁö ¾Ê´Â Á¦Ç°À» Á¤ÀÇÇÒ ¶§ »ç¿ëµË´Ï´Ù.
¸ðµç Device»ó¿¡´Â ÃÖ¼ÒÇÑÀÇ Common Object°¡ ½ÇÀå µÇ´Âµ¥, À̸¦ ÅëÇÏ¿© Device°£¿¡ ±× DeviceÀÇ Á¦Á¶»ç¿¡ °ü°è¾øÀÌ È£È¯¼ºÀÌ °¡´ÉÇÏ°Ô µË´Ï´Ù. CIP ±â¹Ý ³×Æ®¿öÅ©´Â °øÅëÀÇ Application °èÃþÀ» ±â¹ÝÀ¸·Î Çϰí Àֱ⠶§¹®¿¡, ¾ÖÇø®ÄÉÀÌ¼Ç Data´Â ³×Æ®¿öÅ© Type¿¡ °ü°è¾øÀÌ µ¿ÀÏÇÏ°Ô À¯ÁöµË´Ï´Ù. µû¶ó¼, ÀÀ¿ë ÇÁ·Î±×·¡¸Ó´Â Device°¡ ¾î¶² ³×Æ®¿öÅ©¿¡ ¿¬°á µÇ¾î ÀÖ´ÂÁö ¾Ë Çʿ䰡 ¾ø½À´Ï´Ù.
CIP´Â Device Profileµµ Á¤ÀÇ Çϰí ÀÖ½À´Ï´Ù. ÀÌ Device ProfileÀº Minimum Object Set, Configuration option, I/O data format À» Á¤ÀÇÇÕ´Ï´Ù. Ç¥ÁØ Profile Áß¿¡ ÇÑ TypeÀ» µû¸£´Â Device´Â µ¿ÀÏÇÑ ProfileÀ» °¡Áø ´Ù¸¥ Device¿Í µ¿ÀÏÇÑ I/O Data¿Í µ¿ÀÏÇÑ Configuration optionÀ» °¡Áö¸ç, µ¿ÀÏÇÑ ¸í·É¿¡ ¹ÝÀÀÇϸç, µ¿ÀÏÇÑ ÇൿÀ» ÇÏ°Ô µË´Ï´Ù. CIP¿Í DeviceNet ¿¡¼ Device ProfileÀÇ Subset°¡ ¾Æ·¡ÂÊ Ç¥¿¡ ³ª¿Í ÀÖ½À´Ï´Ù.
| Device Profile | Device Type No. |
|---|---|
| AC Drives | 02hex |
| Communications Adapter | 0Chex |
| Contactor | 15hex |
| DC Drives | 13hex |
| DC Power Generator | 1Fhex |
| General Purpose Discrete I/O | 07hex |
DeviceNetÀº Vendor ÀÚ½ÅÀÇ Á¦Ç°¿¡ Minimum Object Set¿Ü¿¡µµ Vendor °íÀ¯ÀÇ Æ¯¼ºÀ» Ãß°¡Çϵµ·Ï Çϴ ǥÁØ ¸ÞÄ¿´ÏÁòÀ» °¡Áö°í ÀÖ½À´Ï´Ù. ±×·¯³ª ÀÌ·¯ÇÑ Ãß°¡ ±â´ÉÀº DeviceNet ±Ô°Ý¿¡ ±ÔÁ¤ µÈ ¹æ½ÄÀ» ¾ö°ÝÈ÷ ÁؼöÇÏ¿© ±¸ÇöµÇ¾ß ÇÕ´Ï´Ù.
The Predefined Master/Slave Connection Set
±Ùº»ÀûÀ¸·Î DeviceNetÀº Peer-to-Peer Messaging model À» ä¿ëÇÕ´Ï´Ù¸¸, Master/Slave °ü°è¸¦ ±â¹ÝÀ¸·Î ÇÑ ´Ü¼øÈ µÈ Åë½Å ¹æ½Äµµ Á¦°øÇϰí ÀÖ½À´Ï´Ù. ÀÌ »çÀü Á¤ÀÇ µÈ ¿¬°á ¹æ½ÄÀÌ Predefined Master/Slave Connection Set. ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù. ÀÌ·¯ÇÑ Connection ¹æ¹ýÀº I/O ¸Þ¼¼ÁöÀÇ ±³È¯À» °£¼ÒȽÃŰ°Ô µË´Ï´Ù. ´Ù¼öÀÇ ¼¾¼ ¹× ¾×Ãò¿¡ÀÌÅÍ´Â Åë»óÀûÀ¸·Î Power-up ½Ã¿¡ ±× Device°¡ Produce/ConsumeÇÏ´Â DataÀÇ À¯Çü°ú ¾çÀ» ¾Ë ¼ö ÀÖ´Â Predetermined function (Connection object)¸¦ Á¦°øÀ» ¼öÇàÇϵµ·Ï ¼³°èµÇ¾î ÀÖ½À´Ï´Ù. µû¶ó¼, ³×Æ®¿öÅ©¿¡ Àü¿øÀ» °ø±Þ ÇÑ ÈÄ, ¸¶½ºÅͰ¡ Slave¾È¿¡ ÀÖ´Â ÀÌ Predefined Connection Set¿¡ ´ëÇÑ OwnershipÀ» ¿ä±¸Çϸé Data ±³È¯ÀÌ Áï½Ã °¡´ÉÇÏ°Ô µÇ°í, Slave Device´Â ÀÚ½ÅÀÌ ConfigureµÈ °á°ú¿Í ApplicationÀÇ ¿ä±¸¿¡ µû¶ó, ¿À¸¥ÂÊ Ç¥¿¡ ³ªÅ¸³ ¸Þ¼¼Áö TypeÁß ¸î °³¸¦ »ç¿ëÇÏ¿© Data¸¦ ProduceÇÏ°Ô µË´Ï´Ù.
| Type | µ¿ÀÛ¼³¸í |
|---|---|
| Polled | ÀÌ ¹æ½ÄÀ¸·Î Configure µÈ Slave´Â ¸¶½ºÅÍÀÇ Scan list¿¡ Á¤ÀÇµÈ ¼ø¼´ë·Î ¸¶½ºÅÍ·Î ºÎÅÍ "Output" data¸¦ ¼ö½ÅÇÏ°Ô µÇ¸ç, Slave´Â ±× ÀÀ´äÀ¸·Î "Input" data¸¦ ¼Û½Å ÇÏ°Ô µË´Ï´Ù. À̶§, ¸¶½ºÅÍÀÇ Polling Rate´Â Scan list»óÀÇ ±¹¼ö, Baud rate ¹× ¸¶½ºÅÍÀÇ ³»ºÎ ŸÀÌ¹Ö µî¿¡ ÀÇÇØ °áÁ¤ µË´Ï´Ù. (Deterministic Ư¼º) |
| Cyclic | ÀÌ ¹æ½ÄÀ¸·Î Configure µÈ Device´Â Á¤¹ÐÇÏ°Ô ¼³Á¤µÈ ½Ã°£°£°Ý¿¡ µû¶ó "Input" Data¸¦ Produce(¼Û½Å) ÇÕ´Ï´Ù. ÀÌ·± TypeÀÇ I/O ¸Þ¼¼Áö¿¡¼´Â User°¡ Application»ó¿¡ ÀûÀýÇÑ Rate·Î Data¸¦ Produce Çϵµ·Ï ¼³Á¤ ÇÒ ¼ö ÀÖ½À´Ï´Ù.(È¿À²ÀûÀÎ Badnwidth¸¦ »ç¿ë °¡´É) |
| Change of State | ÀÌ ¹æ½ÄÀ¸·Î Configure µÈ Device´Â Data»ó¿¡ º¯È°¡ Àְųª, ±âº»ÀûÀÎ Heartbeat rate¿¡ µû¶ó "Input" Data¸¦ Produce(¼Û½Å) ÇÕ´Ï´Ù. ¶ÇÇÑ, DeviceNet´Â Production Inhibit Time À̶ó´Â ±â´ÉÀ» ÅëÇÏ¿© COS ¸Þ¼¼Áö ¹ß»ý°£°ÝÀ» Á¶Á¤ÇϹǷΠ°úµµÇÑ ¸Þ¼¼Áö°¡ ¹ß»ýÀ» Á¶Àý °¡´ÉÇÕ´Ï´Ù. |













