§A¦n¡AÅwªï¨Ó¨ì¥@¾Tºô [½Ðµn¿ý] [§K¶Oª`¥U]
¥@¾Tºô ¾T·~²£«~
±z·í«eªº¦ì¸m¡G ¥@¾Tºô ¾T·~²£«~ ¾T«¬§÷ TRICONEX 3625±±¨î¾¹¥d¥ó 3

TRICONEX 3625±±¨î¾¹¥d¥ó

¥[¤J¦¬Âà Á|³ø
¸Ô²Ó«H®§

²£«~¼ÐÃD: TRICONEX 3625±±¨î¾¹¥d¥óTriconex«Y²Î

«¬¸¹¡G 3625

«~µP¡G Triconex

TRICONEX  3625 ³Ð«Ø¥ô°È¨Ã±Ò°Ê¥ô°È½Õ«×µ{§Ç


Åý§Ú­Ì¬Ý¤@­Ó¼gTRICONEX  3625¶µ¥Øªº°ò¥»µ²ºc¡C


1.­º¥ý¡A±NArduino FreeRTOSÀY¤å¥ó¥]§t¬°


# include % 3 carduino _ freer tos . h % 3E


2.µ¹¥X§A¬°°õ¦æ¦Ó½s¼gªº©Ò¦³¨ç¼Æªº¨ç¼Æ­ì«¬¡A¼g¬°


void task 1(void * PV parameters)¡Fvoid task 2(void * PV parameters)¡F..¡K.


3.²{¦b¡A¦bµL®Ä³]¸m()¨ç¼Æ¡A³Ð«Ø¥ô°È¨Ã±Ò°Ê¥ô°È½Õ«×µ{§Ç¡C


¬°¤F³Ð«Ø¥ô°È¡AxTaskCreate()API³Q½Õ¥Î³]¸m±a¦³¯S©w°Ñ¼Æ/¦ÛÅܶqªº¨ç¼Æ¡C


xTaskCreate(task function _ t pvTaskCode¡Aconst char * const pcName¡Auint16_t usStackDepth¡Avoid *pvParameters¡AUBaseType_t uxPriority¡Atask handle _ t * pxCreatedTask)¡F


¦b³Ð«Ø¥ô¦ó¥ô°È®É¡AÀ³¸Ó¶Ç»¼6­Ó°Ñ¼Æ¡CÅý§Ú­Ì¬Ý¬Ý³o¨Ç½×ÂI¬O¤°»ò


TRICONEX  3625:¥¦¥u¬O¤@­Ó«ü¦V¹ê²{¥ô°Èªº¨ç¼Æªº«ü°w(¹ê»Ú¤W¡A¥u¬O¨ç¼Æªº¦W¦r)¡C


¹q¸£¦WºÙ:¥ô°Èªº´y­z©Ê¦WºÙ¡CFreeRTOS¤£¨Ï¥Î³o­Ó¡C¥]§t¥¦¯Âºé¬O¬°¤F½Õ¸Õ¥Øªº¡C


usStackDepth:¨C­Ó¥ô°È³£¦³¦Û¤vªº°ï´Ì¡A·í¥ô°È³Q³Ð«Ø®É¡A¥Ñ¤º®Ö¤À°tµ¹¸Ó¥ô°È¡C¸Ó­È«ü©w°ï´Ì¥i¥H®e¯Çªº¦r¼Æ¡A¦Ó¤£¬O¦r¸`¼Æ¡C¨Ò¦p¡A¦pªG°ï´Ì¬°32¦ì¼e¡A¨Ã¥BusStackDepth§@¬°100¶Ç¤J¡A¨º»ò±N¦bRAM¤¤¤À°t400¦r¸`ªº°ï´ÌªÅ¶¡(100 * 4¦r¸`)¡C©ú´¼¦a¨Ï¥Î¥¦¡A¦]¬°Arduino Uno¥u¦³2k¦r¸`ªº¤º¦s¡C


PV°Ñ¼Æ:¥ô°È¿é¤J°Ñ¼Æ(¥i¥H¬°ªÅ)¡C


UXÀu¥ý¯Å:¥ô°ÈªºÀu¥ý¯Å(0¬O§CÀu¥ý¯Å)¡C


pxCreatedTask:¥¦¥i¥H¥Î¨Ó¶Ç»¼¥¿¦b³Ð«Øªº¥ô°Èªº¥y¬`¡CµM«á¡A³o­Ó¥y¬`¥i¥Î©ó¦bAPI½Õ¥Î¤¤¤Þ¥Î¥ô°È¡A¨Ò¦p¡A§ó§ï¥ô°ÈÀu¥ý¯Å©Î§R°£¥ô°È(¥i¥H¬°ªÅ)¡C


¥ô°È³Ð«Ø¥Ü¨Ò


TRICONEX  3625(task1¡A" task1 "¡A128¡ANULL¡A1¡ANULL)¡FxTaskCreate(task2¡A" task2 "¡A128¡ANULL¡A2¡ANULL)¡F


³oùØ¡ATask2¨ã¦³§ó°ªªºÀu¥ý¯Å¡A¦]¦¹­º¥ý°õ¦æ¡C


4.³Ð«Ø¥ô°È«á¡A¨Ï¥Î¥H¤U©R¥O¦bªÅ³]¸m¤¤±Ò°Ê½Õ«×µ{§ÇvTaskStartScheduler()¡FAPI¡C


5.µL®Ä´`Àô()¨ç¼Æ±N«O«ù¬°ªÅ¡A¦]¬°§Ú­Ì¤£·Q¤â°Ê©M¦a¹B¦æ¥ô¦ó¥ô°È¡C¦]¬°¥ô°È°õ¦æ²{¦b¥Ñ½Õ«×µ{§Ç³B²z¡C


6.²{¦b¡A§Ú­Ì¹ê²{¥ô°È¨ç¼Æ¡A¨Ã½s¼g­n¦b³o¨Ç¨ç¼Æ¤¤°õ¦æªºÅÞ¿è¡C¨ç¼Æ¦WÀ³¸Ó»Pªº²Ä¤@­Ó°Ñ¼Æ¬Û¦PxTaskCreate()API¡C

§K³dÁn©ú¡G

AMIKON§Ú­Ì¾P°â·s²£«~©M°±²£²£«~¡A¿W¥ß´ë¹DÁʶR¦¹Ãþ¯S¦â²£«~¡Cªü¦Ì±±¤£¬O¥»ºô¯¸¯S¦â²£«~ªº±ÂÅv¤À¾P°Ó¡B¸g¾P°Ó©Î¥Nªí¡C¥»ºô¯¸¤W¨Ï¥Îªº©Ò¦³²£«~¦WºÙ/²£«~¹Ï¤ù¡B°Ó¼Ð¡B«~µP©MÀ²¼Ð§¡¬°¨ä¦U¦Û©Ò¦³ªÌªº°]²£¡C±a¦³³o¨Ç¦WºÙ,¹Ï¤ù¡B°Ó¼Ð¡B«~µP©MÀ²¼Ðªº²£«~´y­z¡B´y¼g©Î¾P°â¶È¥Î©óÃѧO¥Øªº¡A¨Ã¤£ªí¥Ü»P¥ô¦óÅv§Q«ù¦³¤H¦³¥ô¦óÃöÁp©Î±ÂÅv¡C


BENTLY NEVADA330104-00-22-10-02-05HONEYWELLCC-PAOH01 51405039-175
BENTLY NEVADA330104-00-24-10-02-00HONEYWELLCC-PAOX01 51405039-275
BENTLY NEVADA330104-00-25-10-02-05HONEYWELLCC-PAOX01 51405039-275
BENTLY NEVADA330104-01-05-10-02-00HONEYWELLCC-PCF901 51405047-175
BENTLY NEVADA330104-01-06-10-02-00HONEYWELLCC-PCF901 51405047-176
BENTLY NEVADA330104-03-06-05-02-00HONEYWELLCC-PCNT01 51405046-175
BENTLY NEVADA330104-03-06-10-02-00HONEYWELLCC-PCNT02 51454551-275
BENTLY NEVADA330104-05-13-10-02-00HONEYWELLCC-PDIL01 51405040-176
BENTLY NEVADA330104-05-15-05-02-00HONEYWELLCC-PDOB01 51405043-175
BENTLY NEVADA330104-13-20-10-02-00HONEYWELLCC-PDOB01 51405043-175



Áp«Y¤è¦¡
  • Áp«Y¤H¡G §d¤u ¤k¤h
  • ¹q¸Ü¡G 0592-5085207
  • ¤â¾÷¡G 18030175270
  • ¦a§}¡G ºÖ«Ø¬Ù ·Hªù¥« «ä©ú°Ï´òÀØ«n¸ô388¸¹°ê¶T¤j·H32D³æ¤¸
ÁÙ¨S§ä¨ì¦X¾Aªº²£«~¡H