OMRON ´Â ÀϺ» OMRON »çÀÇ PLCÀÌ´Ù.
<±×¸² 1>Àº OMRON PLCÀÇ Ethernet Åë½Å¸ðµâ°ú UDP/IP Åë½ÅÇÒ ¶§ÀÇ Åë½ÅÆÄÀÏ ÆíÁý ¿¹ÀÌ´Ù.
<±×¸² 1> OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ Åë½ÅÆÄÀÏ ÆíÁý ¿¹
<±×¸² 1>¿¡¼ DEVICE ´Â Åë½ÅÇü½Ä ( UDP/IP ¶Ç´Â TCP/IP), PLCÀÇ IP ¹øÁö, ¼ºñ½º ¹øÈ£ ( 9600 : ³»Á¤ ) ¼øÀ¸·Î ÀÔ·ÂÇÏ°í ÇÁ·ÎÅäÄÝ ¿É¼ÇºÎ¿¡´Â CPU Á¾·ù ( 0 = CS/CJ, 1 = CV ), PLC Network ¹øÁö ( 1 ), PLC Node ¹øÁö ( 1 ), ÄÄÇ»ÅÍ Network ¹øÁö ( 1 ), ÄÄÇ»ÅÍ Node ¹øÁö ( 100 ) ¼øÀ¸·Î ÀÔ·ÂÇÑ´Ù.
PLC, ÄÄÇ»ÅÍ Åë½Å¹øÁö¿¡ ´ëÇÑ »ó¼¼ÇÑ ¼³¸íÀº 3¹ø Ç׸ñ ¶Ç´Â OMRON PLC »ç¿ë¼³¸í¼¸¦ ÂüÁ¶ÇÏ¿© ¼³Á¤ÇϽñ⠹ٶø´Ï´Ù.
Áß¿ä) OMRON PLC·Î Ethernet Åë½ÅÀ» ÇÒ ¶§´Â OMRON »ç¿¡¼ Á¦°øÇÏ´Â Cx-Programmer·Î ÇÊÈ÷ Autobase°¡ ¼³Ä¡µÈ ÄÄÇ»ÅÍÀÇ IP ¹øÈ£¿Í NODE Address¸¦ µî·ÏÇØ¾ß Çϸç ÀÌ µî·Ï³»¿ëÀÌ ¸ÂÁö ¾ÊÀ» °æ¿ì Åë½ÅÀ» ½ÃµµÇÏ¸é ¡°Write Not Possible¡±(Main Error = 21, Sub Error = 08)À̶ó´Â ¸Þ½ÃÁö°¡ ¹ß»ýÇÏ¸é¼ ÄÚµåºÒ·® Ƚ¼ö°¡ Áõ°¡¸¦ ÇϹǷΠÀ¯ÀÇÇÏ¿©¾ß ÇÑ´Ù.(PLCÀÇ ROM Version¿¡µû¶ó ¼³Á¤ÇÑ ÄÄÇ»ÅÍÀÇ IP¹øÈ£°¡ ´Ù¸¦°æ¿ì NODE Addressµîµµ ´Ù¸£°ÔÇϸé Åë½ÅÀÌ µÇ±âµµ ÇÑ´Ù.) ¶ÇÇÑ, Unit¹øÈ£¸¦ Àß ¸ø ±âÀÔÇÏ¿´À»¶§´Â ¡°Command Format Error¡±¸Þ½ÃÁö°¡ ¹ß»ýÇÏ¿À´Ï READ¹®¿¡ ÀÛ¼ºÇÑ UnitÀÇ ¹øÈ£¸¦ ¿Ã¹Ù¸£°Ô ±âÀÔÇÏ¿©¾ß ÇÑ´Ù.
OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ Àбâ ÀÛ¼º Çü½Ä
OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ Àбâ Çü½ÄÀº ´ÙÀ½°ú °°Àº ÀÎÀÚ ¼øÀ¸·Î ÀÛ¼ºÇÑ´Ù.
1) Unit ¹øÈ£ - PLC Ethernet¿¡ ¼³Á¤µÈ Unit¹øÈ£. (0~47 ¿Ü)
0 = CPU Unit, 16 ~ 31 = CPU Bus Unit 0 ~ 15, E1 = Inner Board, FE = Unit Connected to Network.
2) ¸Þ¸ð¸® Á¾·ù – ÀÐÀ» PLC ÀÇ ¸Þ¸ð¸® Á¾·ù. ( CIO, WR, HR, AR, TF, CF, TIM, CNT, DM, EM0 ~ EMC, EM, EM_CURR, TKF, TK, IR, DR, CLOCK, CONDITION µî, <Ç¥ 1 ÂüÁ¶> )
3) ÀÐÀ» ÁÖ¼Ò - ¸Þ¸ð¸® Á¾·ù ³»ÀÇ ÀаíÀÚ ÇÏ´Â À§Ä¡.
4) Åë½Å ¸Þ¸ð¸® ÀúÀå À§Ä¡ - ÀÐÀº °ªÀÌ ÀúÀåµÉ ½ÃÀÛ ¸Þ¸ð¸® ¹øÁö.
5) Àд ũ±â : Àоî¿Ã ¸Þ¸ð¸®ÀÇ Å©±â(WORD ¸Þ¸ð¸® ¿µ¿ª : ÃÖ´ë 999, BYTE, BIT ¸Þ¸ð¸® ¿µ¿ª : ÃÖ´ë 1980 ).
6) Float µ¥ÀÌÅÍ : Àоî¿Ã ¸Þ¸ð¸®°¡ Float ´ÜÀ§ÀÎÁö¸¦ ¼³Á¤.
0 ¶Ç´Â ºóÄ = WORD, DWORD ±âÁ¸ ´ÜÀ§, 1 = Float ´ÜÀ§.
READ ¿¹)
READ, 0, DM, 0, 0, 100,
READ, 0, DM, 8000, 500, 999,
READ, 0, CIO, 0, 1500, 150,
DWORD, 0, DR, 0, 0, 16,
FLOAT, 0, DM, 100, 0, 25, 1, 0,
<Ç¥ 1>Àº OMRON CS/CJ ¹× CV CPU ¸ðµ¨º° ¸Þ¸ð¸® Á¾·ù¿Í Å©±âÀÌ´Ù.
¸Þ¸ð¸® Á¾·ù | µ¥ÀÌÅÍ Çü½Ä | CS/CJ CPU ¸Þ¸ð¸® ¹øÁö | CV CPU ¸Þ¸ð¸® Å©±â | ºñ°í |
CIO | WORD | 0 ~ 6143 | 0 ~ 2555 | |
WR | 0 ~ 511 | - | ||
HR | - | |||
AR | 0 ~ 959 | 0 ~ 959 | 0 ~ 447 = Àбâ Àü¿ë, 448 ~ 959 = Àбâ/¾²±â |
|
TF | Completion Flag( BIT ) | 0 ~ 4095 | 0 ~ 2047 ¶Ç´Â 0 ~ 1023 |
Àбâ Àü¿ë |
CF | ||||
TIM | WORD | |||
CNT | ||||
DM | 0 ~ 32767 | 0 ~ 32767 | ||
EM0 ~ EM7 | ||||
EM8 ~ EMC | - | |||
EM | 0 ~ 32767 | |||
EM_CURR | 0 ¹øÁö Çϳª¸¸ ÀÖÀ½ | - | Àбâ Àü¿ë | |
TKF | BIT | 0 ~ 1023 | - | |
TK | Status | - | ||
IR | DWORD | 0 ~ 15 | - | |
DR | WORD | 0 ~ 15 | ||
CLOCK | BIT | 0 ~ 4 | - | ÀбâÀü¿ë ÇϳªÀÇ Ç׸ñ¾¿ ÀÐÀ» ¼ö ÀÖÀ½ |
CONDITION | 0 ~ 16 | - |
<Ç¥ 1>OMRON PLC CS/CJ ¹× CV CPU ¸ðµ¨º° ¸Þ¸ð¸® Á¾·ù¿Í Å©±â
¸Þ¸ð¸® ¹øÁö | ³»¿ë | ºñ°í |
0 | 1ºÐ Clock | 30ÃÊ – ON, 30ÃÊ – OFF |
1 | 1ÃÊ Clock | 0.5ÃÊ – ON, 0.5ÃÊ – OFF |
2 | 0.2ÃÊ Clock | 0.1ÃÊ – ON, 0.1ÃÊ – OFF |
3 | 0.1ÃÊ Clock | 0.05ÃÊ – ON, 0.05ÃÊ – OFF |
4 | 0.02ÃÊ Clock | 0.01ÃÊ – ON, 0.01ÃÊ – OFF |
<Ç¥ 2> CLOCK ¸Þ¸ð¸®ÀÇ ¹øÁöº° ³»¿ë ( ÇϳªÀÇ Ç׸ñ¾¿ ÀÐÀ» ¼ö ÀÖÀ½ )
¸Þ¸ð¸® ¹øÁö | ³»¿ë |
0 | Error Flag ( ER ) |
1 | Carry Flag ( CF ) |
2 | Greater Than Flag ( > ) |
3 | Equals Flag ( = ) |
4 | Less Then Flag ( < ) |
5 | Negative Flag ( N ) |
6 | Overflow Flag ( OF ) |
7 | Underflow Flag ( UF ) |
8 | Greater Then or Equals Flag ( >= ) |
9 | Not Equal Flag ( <> ) |
10 | Less Then or Equals Flag ( <= ) |
14 | Always OFF Flag ( ON ) |
15 | Always ON Flag ( OFF ) |
16 | Access Error Flag |
<Ç¥ 3> CONDITION ¸Þ¸ð¸®ÀÇ ¹øÁöº° ³»¿ë ( ÇϳªÀÇ Ç׸ñ¾¿ ÀÐÀ» ¼ö ÀÖÀ½ )
Áß¿ä) <Ç¥ 1>ÀÇ BIT ¸Þ¸ð¸® ¿µ¿ªÀº ÃÖ´ë 1980°³ÀÇ Ç׸ñÀ» ÇÑ ¹ø¿¡ ÀÐÀ» ¼ö ÀÖ°í °¢ Bit °ªÀº Åë½Å ¸Þ¸ð¸®ÀÇ ÇϳªÀÇ WORDÀÇ 0¹ø BIT¿¡ (½ÇÁ¦ ÀÐÀº µ¥ÀÌÅÍ´Â BYTE) ÀúÀåµÈ´Ù.
OMRON Åë½Å µå¶óÀ̺ê´Â <±×¸² 1>¿¡¼ ÇÁ·ÎÅäÄÝ ¿É¼ÇºÎÀÇ ¾ÆÀÌÄÜÀ» Ŭ¸¯Çϸé <±×¸² 2>ÀÇ ´ëÈ»óÀÚ°¡ ³ªÅ¸³ª´Âµ¥ ¿©±â¼µµ Àб⠽ºÄÉÁìÀ» ÀÛ¼ºÇÒ ¼ö ÀÖ´Ù.
<±×¸² 2> OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ ¿É¼Ç ´ëÈ»óÀÚ
<±×¸² 2>ÀÇ , , ¹öÅÏ°ú ¸®½ºÆ® ¹Ú½º¸¦ ÀÌ¿ëÇÏ¿© READ ½ºÄÉÁìÀ» ÀÛ¼ºÇÑ´Ù.
¶ÇÇÑ <±×¸² 2>¿¡¼ CPU Á¾·ù ( 0 = CS/CJ, 1 = CV ), PLC Network ¹øÁö( 1 ~ 127 ), PLC Node ¹øÁö ( 1 ~ 126 ), ÄÄÇ»ÅÍ Network ¹øÁö ( 1 ~ 127 ), ÄÄÇ»ÅÍ Node ¹øÁö ( 1 ~ 126 )¸¦ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.
<±×¸² 3> > OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ Àбâ Ãß°¡/ÆíÁý ´ëÈ»óÀÚÀÇ ¿¹
OMRON PLC¿¡ Ãâ·Â °¡´É¿µ¿ªÀº <Ç¥ 1>ÀÇ Àбâ Àü¿ë¿µ¿ªÀ» Á¦¿ÜÇÑ ¸Þ¸ð¸® ¿µ¿ªÀÌ´Ù.
OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ µðÁöÅÐ Ãâ·Â ¼³Á¤¹ý ( CS/CJ ±âÁØ )
µðÁöÅÐ Ãâ·Â TAG ¼³Á¤ ½Ã ÇÊ¿äÇÑ ¼³Á¤ ´Ù¼¸ °¡Áö
1) PORT : OMRON SYSMAC Ethernet PLC°¡ ¿¬°áµÈ PORT ¹øÈ£.
2) STATION : OMRON PLCÀÇ Unit ¹øÈ£(0~47 ¿Ü)
0 = CPU Unit, 16 ~ 31 = CPU Bus Unit 0 ~ 15, E1 = Inner Board, FE = Unit Connected to Network.
3) ADDRESS : ¾²°íÀÚ ÇÏ´Â Ãâ·Â¹øÁö.
»óÀ§ ÀÚ¸® ( 1 ~ 7 ÀÚ¸®) : ¿öµå ¹øÁö 10Áø¼ö ( 0 ~ 32767 µî),
ÇÏÀ§ 1ÀÚ¸® : ºñÆ®À§Ä¡ 16Áø¼ö ( 0 ~ F )
4) EXTRA1 : Ãâ·ÂÇÒ PLC ÀÇ ¸Þ¸ð¸® Á¾·ù. ( CIO, WR, HR, AR, TIM, CNT, DM, EM0 ~ EMC, EM, IR, DR <Ç¥ 1 ÂüÁ¶> )
5) EXTRA2 : »ç¿ë¾ÈÇÔ.
¼³Á¤ ¿¹1)
PORT : 0 Station : 0, ADDRESS : 0003, EXTRA1 : CIO, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í µðÁöÅÐ Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ CIO ¿µ¿ªÀÇ 0¹ø WORD 3¹ø bitºñÆ®¸¦ Á¦¾î(ON/OFF)ÇÒ ¼ö ÀÖ´Ù.
¼³Á¤ ¿¹2)
PORT : 0 Station : 0, ADDRESS : 448F, EXTRA1 : AR, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í µðÁöÅÐ Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ AR ¿µ¿ªÀÇ 448¹ø WORD 16( F )¹ø bitºñÆ®¸¦ Á¦¾î(ON/OFF)ÇÒ ¼ö ÀÖ´Ù.
¼³Á¤ ¿¹3)
PORT : 0 Station : 0, ADDRESS : 0257, EXTRA1 : DM, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í µðÁöÅÐ Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ DM ¿µ¿ªÀÇ 25¹ø WORD 7¹ø bitºñÆ®¸¦ Á¦¾î(ON/OFF)ÇÒ ¼ö ÀÖ´Ù.
OMRON SYSMAC Ethernet Åë½Å µå¶óÀ̺êÀÇ ¾Æ³¯·Î±× Ãâ·Â ¼³Á¤¹ý ( CS/CJ ±âÁØ )
¾Æ³¯·Î±× Ãâ·Â TAG ¼³Á¤ ½Ã ÇÊ¿äÇÑ ¼³Á¤ ´Ù¼¸ °¡Áö
1) PORT : OMRON SYSMAC Ethernet PLC°¡ ¿¬°áµÈ PORT ¹øÈ£.
2) STATION : OMRON PLCÀÇ Unit ¹øÈ£(0~47 ¿Ü)
0 = CPU Unit, 16 ~ 31 = CPU Bus Unit 0 ~ 15, E1 = Inner Board, FE = Unit Connected to Network.
3) ADDRESS : ¾²°íÀÚ ÇÏ´Â Ãâ·Â¹øÁö.
4) EXTRA1 : Ãâ·ÂÇÒ PLC ÀÇ ¸Þ¸ð¸® Á¾·ù. ( CIO, WR, HR, AR, TIM, CNT, DM, EM0 ~ EMC, EM, IR, DR <Ç¥ 1 ÂüÁ¶> )
5) EXTRA2 : Ãâ·ÂÇÒ µ¥ÀÌÅÍ °¡ Float ÀÎÁö¸¦ ¼³Á¤.
0 = WORD/DWORD µ¥ÀÌÅÍ,
1 = FLOAT µ¥ÀÌÅÍ.
ÁÖÀÇ) Float ´ÜÀ§ÀÇ Àбâ/¾²±â´Â WORD/DWORD ¸Þ¸ð¸® ¿µ¿ª¸¸ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
¶ÇÇÑ WORD ¸Þ¸ð¸® ¿µ¿ªÀÇ ¸Þ¸ð¸® ¹øÁö´Â WORD ´ÜÀ§ÀÇ ¹øÁö¿Í µ¿ÀÏÇÏ°í 2°³ÀÇ WORD¸¦ IEEE754 Çü½ÄÀÇ FLOAT·Î °è»êÇÑ´Ù.
¼³Á¤ ¿¹1)
PORT : 0 Station : 0, ADDRESS : 0005, EXTRA1 : CIO, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í ¾Æ³¯·Î±× Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ CIO ¿µ¿ªÀÇ 5¹øÁö WORD °ªÀ» ¼³Á¤ÇÑ °ªÀ¸·Î º¯°æÇÒ ¼ö ÀÖ´Ù.
¼³Á¤ ¿¹2)
PORT : 0 Station : 0, ADDRESS : 0450, EXTRA1 : AR, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í ¾Æ³¯·Î±× Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ AR ¿µ¿ªÀÇ 450¹øÁö WORD °ªÀ» ¼³Á¤ÇÑ °ªÀ¸·Î º¯°æÇÒ ¼ö ÀÖ´Ù.
¼³Á¤ ¿¹3)
PORT : 0 Station : 0, ADDRESS : 32767, EXTRA1 : DM, EXTRA2 : ºóÄÀ¸·Î ¼³Á¤ÇÏ°í ¾Æ³¯·Î±× Ãâ·ÂÀ» Çϸé Unit No:0 ¹ø OMRON PLCÀÇ DM ¿µ¿ªÀÇ 32767¹øÁö WORD °ªÀ» ¼³Á¤ÇÑ °ªÀ¸·Î º¯°æÇÒ ¼ö ÀÖ´Ù.
OMRON PLC·Î Ethernet Åë½ÅÀ» À§Çؼ´Â ´ÙÀ½°ú °°Àº ¿ä¼ÒµéÀ» ¼³Á¤ÇØ¾ß ÇÑ´Ù.
±âº» Àü¿ø¿¬°á
<±×¸² 4>ÀÇ Àü¿øºÎ¿¡ AC 100 ~ 240V¸¦ ¿¬°áÇÑ´Ù.
<±×¸² 4> OMRON PLC CS/CJ CPU¿¡ Ethernet Åë½Å¸ðµâÀ» ¼³Ä¡ÇÑ ¿¹
Ethernet Åë½Å¸ðµâ ¼³Á¤¹ý
<±×¸² 4>ÀÇ Ethernet Åë½Å¸ðµâ¿¡ ºÎÂøµÈ 3°³ÀÇ DIP ½ºÀ§Ä¡·Î Unit, Node ¹øÁö¸¦ ¼³Á¤ÇÑ´Ù.
Unit ¹øÁö : À§ÂÊ Ã¹¹ø° ½ºÀ§Ä¡·Î ¸ðµâÀÇ Unit ¹øÈ£¸¦ 0 ~ F Áß¿¡¼ ¼³Á¤ÇÑ´Ù.
Node ¹øÁö : ¾Æ·¡ÂÊ 2°³ÀÇ DIP ½ºÀ§Ä¡·Î Node ¹øÈ£¸¦ 1 ~ 126¹ø Áß¿¡¼ ¼³Á¤ÇÑ´Ù.
PLC, ÄÄÇ»ÅÍÀÇ Network, Node ¼³Á¤
OMRON »ç¿¡¼ Á¦°øÇÏ´Â Cx-Programmer·Î PLC¿Í ÄÄÇ»ÅÍ »çÀÌÀÇ Network ¹øÈ£ ( ÇϳªÀÇ Ethernet ¿¡´Â 1 ~ 127 »çÀÌÀÇ ÇϳªÀÇ µ¿ÀÏÇÑ Network ¹øÈ£·Î ¼³Á¤ )¸¦ ¼³Á¤ÇÑ´Ù.
¶ÇÇÑ PLCÀÇ Node ¹øÈ£(Ethernet Åë½Å ¸ðµâ¿¡ ¼³Á¤µÈ 1 ~ 126 »çÀÌ °ª)¿Í ÄÄÇ»ÅÍÀÇ Node ¹øÈ£( 1 ~ 126 )¸¦ ¼³Á¤ÇÑ´Ù.
<Ç¥ 4>´Â OMRON PLC Ethernet Åë½Å ½Ã ¼³Á¤ÇØ¾ß ÇÏ´Â Network, Node, Unit ¹øÈ£ ¼³Á¤¹üÀ§¿Í ¼³Á¤¹æ¹ýÀÌ´Ù.
¼³Á¤Ç׸ñ | ¼³Á¤¹üÀ§ | ¼³Á¤¹æ¹ý |
Network ¹øÈ£ | 1 ~ 127 | ÇϳªÀÇ Ethernet ¿¡´Â PLC, ÄÄÇ»ÅÍ°¡ µ¿ÀÏÇÑ Network ¹øÈ£·Î ¼³Á¤ |
Node ¹øÈ£ | 1 ~ 126 | °¢°¢ÀÇ PLC, ÄÄÇ»ÅÍ°¡ ¼·Î ´Ù¸¥ Node ¹øÈ£ |
Unit ¹øÈ£ | 0, 16 ~ 31, E1, FE | 0 = CPU Unit, 16 ~ 31 = CPU Bus Unit 0 ~ 15, E1 = Inner Board, FE = Unit Connected to Network |
<Ç¥ 4>OMRON PLC Ethernet Åë½Å ½Ã ¼³Á¤ÇØ¾ß ÇÏ´Â Network, Node, Unit ¹øÈ£ ¼³Á¤¹üÀ§¿Í ¼³Á¤¹æ¹ý
PLC, ÄÄÇ»ÅÍÀÇ IP ¹øÁö ¼³Á¤
OMRON »ç¿¡¼ Á¦°øÇÏ´Â Cx-Programmer·Î PLC¿Í ÄÄÇ»ÅÍÀÇ IP ¹øÈ£¸¦ ¼³Á¤ÇÑ´Ù.
1) Ethernet Test Á¶°Ç
2) Ethernet Unit ¼³Á¤
3) Routing Table ÀÛ¼º¹æ¹ý
4) I/O Table ÀÛ¼º¹æ¹ý
5) Ethernet Unit ¼³Á¤(S/W)
6) Cx-P¿¡¼ On-Line ¹æ¹ý