{"id":6970,"date":"2012-07-22T23:27:45","date_gmt":"2012-07-22T16:27:45","guid":{"rendered":"https:\/\/banbientan.com\/?p=6970"},"modified":"2012-07-22T23:27:45","modified_gmt":"2012-07-22T16:27:45","slug":"omron-sysmac-spu","status":"publish","type":"post","link":"https:\/\/hunglong.banbientan.com\/?p=6970","title":{"rendered":"Omron Sysmac SPU"},"content":{"rendered":"<p><strong>Qu\u1ea3n l\u00fd d\u1eef li\u1ec7u tin c\u1eady h\u01a1n v\u1edbi Omron Sysmac SPU\u00a0<\/strong><br \/>\nHi\u1ec7n nay, nhu c\u1ea7u thu th\u1eadp v\u00e0 l\u01b0u tr\u1eef s\u1ed1 li\u1ec7u c\u1ee7a qu\u00e1 tr\u00ecnh s\u1ea3n xu\u1ea5t r\u1ea5t ph\u1ed5 bi\u1ebfn v\u1edbi c\u00e1c h\u1ec7 \u0111i\u1ec1u khi\u1ec3n v\u1eeba v\u00e0 l\u1edbn. Nh\u00ecn chung, vi\u1ec7c n\u00e0y ph\u1ea3i \u0111\u1ea3m b\u1ea3o \u0111\u01b0\u1ee3c c\u00e1c y\u00eau c\u1ea7u dung l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn, t\u1ed1c \u0111\u1ed9 cao, \u0111\u1ed9 tin c\u1eady (kh\u00f4ng b\u1ecb th\u1ea5t tho\u00e1t ho\u1eb7c sai l\u1ec7ch d\u1eef li\u1ec7u).<br \/>\nTh\u00f4ng th\u01b0\u1eddng ng\u01b0\u1eddi ta c\u00f3 hai gi\u1ea3i ph\u00e1p l\u00e0m vi\u1ec7c n\u00e0y.<br \/>\n&#8211; M\u1ed9t l\u00e0 d\u00f9ng m\u00e1y t\u00ednh (PC) v\u00e0 thu th\u1eadp d\u1eef li\u1ec7u th\u00f4ng qua truy\u1ec1n th\u00f4ng n\u1ed1i ti\u1ebfp (serial communication) ho\u1eb7c Ethernet. Ph\u01b0\u01a1ng ph\u00e1p n\u00e0y kh\u00e1 ph\u1ed5 bi\u1ebfn, song c\u00f3 m\u1ed9t s\u1ed1 nh\u01b0\u1ee3c \u0111i\u1ec3m nh\u01b0 t\u1ed1c \u0111\u1ed9 th\u1ea5p, ch\u1ee7ng lo\u1ea1i d\u1eef li\u1ec7u thu th\u1eadp \u0111\u01b0\u1ee3c \u00edt v\u00e0 c\u00f3 kh\u1ea3 n\u0103ng thi\u1ebfu s\u00f3t d\u1eef li\u1ec7u trong qu\u00e1 tr\u00ecnh thu th\u1eadp.<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6971\" title=\"spu1\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu1-300x104.jpg\" alt=\"\" width=\"300\" height=\"104\" \/><\/a><a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-6972\" title=\"spu2\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu2.jpg\" alt=\"\" width=\"236\" height=\"100\" \/><\/a><br \/>\n&#8211; C\u00e1ch th\u1ee9 hai l\u00e0 d\u00f9ng m\u1ed9t m\u00f4\u0111un thu th\u1eadp d\u1eef li\u1ec7u chuy\u00ean d\u1ee5ng k\u1ebft n\u1ed1i nh\u01b0 l\u00e0 m\u00f4\u0111un m\u1edf r\u1ed9ng v\u1edbi ch\u00ednh CPU c\u1ee7a PLC \u0111i\u1ec1u khi\u1ec3n h\u1ec7 th\u1ed1ng. Ph\u01b0\u01a1ng ph\u00e1p n\u00e0y kh\u1eafc ph\u1ee5c \u0111\u01b0\u1ee3c c\u00e1c\u00a0nh\u01b0\u1ee3c \u0111i\u1ec3m tr\u00ean v\u00e0 lo\u1ea1i b\u1ecf vi\u1ec7c ph\u1ea3i d\u00f9ng<br \/>\nm\u1ed9t PC b\u1ed5 sung. Ngo\u00e0i ra, c\u00f2n c\u00f3 th\u00eam c\u00e1c \u01b0u \u0111i\u1ec3m n\u1eefa nh\u01b0 kh\u1ea3 n\u0103ng ch\u1ecbu \u0111\u1ef1ng m\u00f4i\u00a0tr\u01b0\u1eddng c\u00f4ng nghi\u1ec7p t\u1ed1t h\u01a1n; \u0111\u1ed9 tin c\u1eady cao h\u01a1n do c\u00e1c m\u00f4\u0111un n\u00e0y kh\u00f4ng d\u00f9ng \u1ed5\u00a0c\u1ee9ng v\u00e0 qu\u1ea1t l\u00e0m m\u00e1t th\u00f4ng th\u01b0\u1eddng nh\u01b0 v\u1edbi PC.<br \/>\nC\u00e1c d\u00f2ng PLC m\u1edbi c\u1ee7a Omron nh\u01b0 CS1 v\u00e0 CJ1 \u0111\u1ec1u c\u00f3 c\u00e1c m\u00f4\u0111un chuy\u00ean d\u1ee5ng n\u00e0y (g\u1ecdi t\u1eaft l\u00e0 m\u00f4\u0111un SPU). D\u01b0\u1edbi \u0111\u00e2y l\u00e0 h\u00ecnh \u1ea3nh c\u00e1c m\u00f4\u0111un n\u00e0y. D\u1eef li\u1ec7u t\u1eeb CPU c\u1ee7a PLC truy\u1ec1n tr\u1ef1c ti\u1ebfp qua CS1 \/ CJ1 Bus t\u1ed1c \u0111\u1ed9 cao.<br \/>\n<strong>Ta h\u00e3y xem x\u00e9t m\u1ed9t s\u1ed1 t\u00ednh n\u0103ng \u01b0u vi\u1ec7t c\u1ee7a vi\u1ec7c d\u00f9ng SPU:<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-6974\" title=\"spu3\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu3-300x282.jpg\" alt=\"\" width=\"300\" height=\"282\" \/><\/a><\/strong><br \/>\n1. T\u1ed1c \u0111\u1ed9 thu th\u1eadp d\u1eef li\u1ec7u cao:<br \/>\n&#8211; SPU c\u00f3 th\u1ec3 \u0111\u1ea1t t\u1edbi t\u1ed1c \u0111\u1ed9 t\u1ed1i \u0111a 5ms cho m\u1ed7i l\u1ea7n c\u1eadp nh\u1eadt. Chu tr\u00ecnh c\u1eadp nh\u1eadt n\u1ebfu d\u00f9ng PC th\u00f4ng qua truy\u1ec1n th\u00f4ng s\u1ebd m\u1ea5t t\u1edbi v\u00e0i tr\u0103m ms (mili gi\u00e2y). Trong khi \u0111\u00f3 SPU s\u1ebd ch\u1ec9 m\u1ea5t v\u00e0i ms. 2 \u0111\u1ed3 th\u1ecb d\u01b0\u1edbi \u0111\u00e2y cho ta th\u1ea5y \u0111\u1ed9 m\u1ecbn c\u1ee7a \u0111\u01b0\u1eddng n\u1ed1i c\u00e1c \u0111i\u1ec3m d\u1eef li\u1ec7u thu th\u1eadp d\u00f9ng SPU h\u01a1n h\u1eb3n so v\u1edbi d\u00f9ng PC.<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6975\" title=\"spu4\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu4.jpg\" alt=\"\" width=\"588\" height=\"388\" \/><\/a><br \/>\n<strong>2. Kh\u00f4ng c\u1ea7n ph\u1ea3i l\u1eadp tr\u00ecnh:<\/strong><br \/>\n&#8211; \u0110\u1ec3 thu th\u1eadp d\u1eef li\u1ec7u, ta ch\u1ec9 c\u1ea7n l\u1eafp m\u00f4\u0111un SPU v\u00e0o gi\u00e1 \u0111\u1ee1 PLC, l\u1eadp b\u1ea3ng I\/O cho m\u00f4\u0111un n\u00e0y v\u00e0 \u0111\u1eb7t c\u00e1c th\u00f4ng s\u1ed1 y\u00eau c\u1ea7u. Ho\u00e0n to\u00e0n kh\u00f4ng c\u1ea7n s\u1eeda \u0111\u1ed5i l\u1ea1i ch\u01b0\u01a1ng tr\u00ecnh \u0111ang c\u00f3 s\u1eb5n trong PLC.<br \/>\n&#8211; Kh\u00e1c v\u1edbi tr\u01b0\u1eddng h\u1ee3p thu th\u1eadp d\u1eef li\u1ec7u b\u1eb1ng ch\u00ednh CPU v\u00e0 CPU c\u1ea7n ph\u1ea3i c\u00f3 b\u1ed9 nh\u1edb l\u1edbn \u0111\u1ec3 d\u00e0nh cho vi\u1ec7c l\u01b0u tr\u1eef, SPU cho ph\u00e9p d\u00f9ng CPU v\u1edbi b\u1ed9 nh\u1edb t\u1ed1i thi\u1ec3u cho ch\u01b0\u01a1ng tr\u00ecnh.<br \/>\n<strong>3. C\u1ea5u tr\u00fac linh ho\u1ea1t cho file d\u1eef li\u1ec7u<\/strong><br \/>\n&#8211; Ta c\u00f3 th\u1ec3 thi\u1ebft k\u1ebf linh ho\u1ea1t c\u1ea5u tr\u00fac file l\u01b0u d\u1eef li\u1ec7u ph\u00f9 h\u1ee3p v\u1edbi y\u00eau c\u1ea7u v\u00e0 ti\u1ec7n cho vi\u1ec7c chia s\u1ebb v\u1edbi c\u00e1c ph\u1ea7n m\u1ec1m \u1ee9ng d\u1ee5ng kh\u00e1c. D\u1eef li\u1ec7u c\u00f3 th\u1ec3 l\u01b0u d\u01b0\u1edbi c\u00e1c d\u1ea1ng t\u00f9y \u00fd nh\u01b0 BOOL, REAL, INT, BCD, hay STRING. \u0110\u00e2y c\u0169ng l\u00e0 m\u1ed9t \u01b0u vi\u1ec7t c\u1ee7a SPU Omron so v\u1edbi m\u1ed9t s\u1ed1 nh\u00e0 s\u1ea3n xu\u1ea5t kh\u00e1c.<br \/>\n&#8211; Trong v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y, file l\u01b0u l\u1ea1i ng\u00e0y v\u00e0 th\u1eddi gian, t\u00ecnh tr\u1ea1ng c\u00e1c bit v\u00e0 c\u00e1c word kh\u00e1c nhau.<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6977\" title=\"spu5\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu5.jpg\" alt=\"\" width=\"839\" height=\"176\" \/><\/a><br \/>\n<strong>4. \u0110\u1ea3m b\u1ea3o \u0111\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u thu th\u1eadp<\/strong><br \/>\n&#8211; \u0110\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u c\u00f3 ngh\u0129a l\u00e0 t\u1ea5t c\u1ea3 c\u00e1c s\u1ed1 li\u1ec7u thu \u0111\u01b0\u1ee3c trong m\u1ed9t th\u1eddi \u0111i\u1ec3m cho tr\u01b0\u1edbc, ph\u1ea3i c\u00f3 c\u00f9ng m\u1ed9t th\u1eddi gian, b\u1ea5t k\u1ec3 d\u1eef li\u1ec7u \u0111\u00f3 c\u00f3 th\u1ec3 t\u1eeb nhi\u1ec1u v\u00f9ng, nhi\u1ec1u \u0111\u1ecba ch\u1ec9 kh\u00e1c nhau. Omron SPU cho ph\u00e9p th\u1ef1c hi\u1ec7n \u0111i\u1ec1u n\u00e0y<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu-6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6979\" title=\"spu 6\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu-6.jpg\" alt=\"\" width=\"685\" height=\"323\" \/><\/a><br \/>\n<strong>5. C\u00f3 th\u1ec3 \u0111i\u1ec1u ch\u1ec9nh th\u00f4ng s\u1ed1 c\u00e0i \u0111\u1eb7t cho vi\u1ec7c thu th\u1eadp d\u1eef li\u1ec7u trong l\u00fac \u0111ang ho\u1ea1t\u00a0\u0111\u1ed9ng\u00a0<\/strong><br \/>\n&#8211; Trong khi PLC \u0111ang ho\u1ea1t \u0111\u1ed9ng, ta v\u1eabn c\u00f3 th\u1ec3 thay \u0111\u1ed5i c\u00e0i \u0111\u1eb7t t\u00f9y \u00fd v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i qu\u00e1 tr\u00ecnh ghi d\u1eef li\u1ec7u th\u00f4ng qua ph\u1ea7n m\u1ec1m h\u1ed7 tr\u1ee3 SPU Console. \u0110i\u1ec1u n\u00e0y \u0111\u1eb7c bi\u1ec7t thu\u1eadn ti\u1ec7n cho ng\u01b0\u1eddi s\u1eed d\u1ee5ng. Ch\u1eb3ng h\u1ea1n do y\u00eau c\u1ea7u s\u1ea3n xu\u1ea5t thay \u0111\u1ed5i, ta c\u00f3 th\u1ec3 th\u00eam v\u00e0o c\u00e1c th\u00f4ng s\u1ed1 m\u1edbi c\u1ea7n l\u01b0u nh\u01b0 gi\u00e1 tr\u1ecb nhi\u1ec7t \u0111\u1ed9, \u00e1p su\u1ea5t, t\u00ecnh tr\u1ea1ng \u0111\u00f3ng m\u1edf van, v.v\u2026<br \/>\n<strong>6. Ch\u1ee9c n\u0103ng bi\u1ebfn \u0111\u1ed5i t\u1ec9 l\u1ec7 (scaling) d\u1eef li\u1ec7u:<\/strong><br \/>\nD\u1eef li\u1ec7u trong qu\u00e1 tr\u00ecnh thu th\u1eadp c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c bi\u1ebfn \u0111\u1ed5i t\u1ec9 l\u1ec7 theo 1 trong 3 ph\u01b0\u01a1ng th\u1ee9c:<br \/>\n&#8211; Bi\u1ebfn \u0111\u1ed5i tuy\u1ebfn t\u00ednh (Linear function conversion): K\u1ebft qu\u1ea3 \u0111\u01b0\u1ee3c ghi l\u1ea1i theo ph\u01b0\u01a1ng\u00a0tr\u00ecnh:<br \/>\nK\u1ebft qu\u1ea3 = (Gi\u00e1 tr\u1ecb ban \u0111\u1ea7u) x a + b\u00a0(a v\u00e0 b l\u00e0 c\u00e1c h\u1eb1ng s\u1ed1 \u0111\u1eb7t)<br \/>\n&#8211; Bi\u1ebfn \u0111\u1ed5i c\u1ef1c \u0111\u1ea1i \/ c\u1ef1c ti\u1ec3u (Maximum \/ Minimum Conversion): C\u00e1c gi\u00e1 tr\u1ecb v\u01b0\u1ee3t qu\u00e1\u00a0ng\u01b0\u1ee1ng tr\u00ean \/ d\u01b0\u1edbi \u0111\u1eb7t tr\u01b0\u1edbc s\u1ebd bi\u1ebfn \u0111\u1ed5i theo c\u00e1c ng\u01b0\u1ee1ng \u0111\u00f3 v\u00e0 gi\u00e1 tr\u1ecb m\u1edbi \u0111\u01b0\u1ee3c ghi\u00a0l\u1ea1i<br \/>\n&#8211; Bi\u1ebfn \u0111\u1ed5i v\u1ecb tr\u00ed th\u1eadp ph\u00e2n: v\u1ecb tr\u00ed d\u1ea5u ph\u1ea9y c\u00f3 th\u1ec3 d\u1ecbch chuy\u1ec3n tr\u00e1i, ph\u1ea3i theo y\u00eau c\u1ea7u v\u00e0\u00a0gi\u00e1 tr\u1ecb m\u1edbi \u0111\u01b0\u1ee3c ghi l\u1ea1i.<br \/>\n<span style=\"color: #0000ff;\">\u00a0<strong>\u0083Thay \u0111\u1ed5i th\u00f4ng s\u1ed1 b\u1eb1ng SPU-Console.<\/strong><\/span><br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu-71.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6982\" title=\"spu 7\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu-71.jpg\" alt=\"\" width=\"697\" height=\"315\" \/><\/a><br \/>\n<strong><\/strong>B\u00e2y gi\u1edd ta h\u00e3y xem m\u1ed9t s\u1ed1 c\u00e1c t\u00ednh n\u0103ng quan tr\u1ecdng kh\u00e1c c\u1ee7a SPU:<br \/>\n<strong>1. Hai ch\u1ebf \u0111\u1ed9 thu th\u1eadp d\u1eef li\u1ec7u t\u00f9y ch\u1ecdn:<\/strong><br \/>\n&#8211; Ch\u1ebf \u0111\u1ed9 l\u01b0u tr\u1eef (Data Storage Mode): Ghi d\u1eef li\u1ec7u v\u00e0o m\u1ed9t th\u1eddi \u0111i\u1ec3m \u0111\u1eb7t tr\u01b0\u1edbc ho\u1eb7c khi tr\u1ea1ng th\u00e1i c\u1ee7a 1 d\u1eef li\u1ec7u tham chi\u1ebfu thay \u0111\u1ed5i. \u0110\u00e2y l\u00e0 ch\u1ebf \u0111\u1ed9 m\u1eb7c \u0111\u1ecbnh c\u1ee7a SPU.<br \/>\nCh\u1eb3ng h\u1ea1n ta c\u1ea7n ghi l\u1ea1i gi\u00e1 tr\u1ecb nhi\u1ec7t khi n\u00f3 v\u01b0\u1ee3t qu\u00e1 m\u1ed9t gi\u00e1 tr\u1ecb tham chi\u1ebfu n\u00e0o \u0111\u00f3, ho\u1eb7c l\u01b0u l\u1ea1i gi\u00e1 tr\u1ecb \u00e1p su\u1ea5t n\u1ed3i h\u01a1i trong kho\u1ea3ng th\u1eddi gian 10h-11h h\u00e0ng ng\u00e0y v\u1edbi kho\u1ea3ng c\u00e1ch gi\u1eefa c\u00e1c l\u1ea7n ghi l\u00e0 1 ph\u00fat.<br \/>\nKhi ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c Memory event, ta c\u00f3 th\u1ec3 thi\u1ebft l\u1eadp c\u00e1c l\u1ec7nh v\u00ed d\u1ee5 nh\u01b0:<br \/>\na. Ghi d\u1eef li\u1ec7u 1 l\u1ea7n khi bit A chuy\u1ec3n sang 1 (ON)<br \/>\nb. Ghi d\u1eef li\u1ec7u theo chu tr\u00ecnh nh\u1ea5t \u0111\u1ecbnh khi bit B chuy\u1ec3n sang 1 (ON)<br \/>\nc. D\u1eebng ghi d\u1eef li\u1ec7u theo chu tr\u00ecnh nh\u1ea5t \u0111\u1ecbnh khi bit C chuy\u1ec3n sang 1 (ON)<br \/>\nKhi ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c Schedule Event, ta c\u00f3 th\u1ec3 \u0111\u1eb7t c\u00e1c l\u1ec7nh nh\u01b0:<br \/>\nd. Ghi d\u1eef li\u1ec7u 1 l\u1ea7n v\u00e0o 12:00 tr\u01b0a m\u1ed7i ng\u00e0y<br \/>\ne. B\u1eaft \u0111\u1ea7u ghi d\u1eef li\u1ec7u theo chu tr\u00ecnh l\u00fac 8:00 am v\u00e0 d\u1eebng l\u00fac 5:00 pm<br \/>\nTa c\u00f3 th\u1ec3 ch\u1ecdn c\u00e1c ng\u00e0y l\u00e0m vi\u1ec7c, ghi theo gi\u1edd \/ ph\u00fat, ng\u00e0y, tu\u1ea7n, th\u00e1ng, v.v\u2026; quy \u0111\u1ecbnh ng\u00e0y b\u1eaft \u0111\u1ea7u, \u0111\u1eb7t ng\u00e0y ngh\u1ec9 l\u1ec5\u2026<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6983\" title=\"spu8\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu8.jpg\" alt=\"\" width=\"714\" height=\"298\" \/><\/a><br \/>\n\u1ede ch\u1ebf \u0111\u1ed9 l\u01b0u tr\u1eef (data storage), ta c\u00f3 th\u1ec3 ch\u1ecdn 65 d\u1ea1ng thu th\u1eadp d\u1eef li\u1ec7u kh\u00e1c nhau. C\u00e1c\u00a0d\u1ea1ng n\u00e0y c\u00f3 th\u1ec3 k\u00eat h\u1ee3p v\u1edbi nhi\u1ec1u s\u1ef1 ki\u1ec7n (event) kh\u00e1c nhau v\u00e0 ti\u1ebfn h\u00e0nh \u0111\u1ed3ng th\u1eddi.<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6985\" title=\"spu9\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu9.jpg\" alt=\"\" width=\"575\" height=\"249\" \/><\/a><br \/>\n&#8211; Ch\u1ebf \u0111\u1ed9 l\u1ea5y m\u1eabu (Sampling mode): . ch\u1ebf \u0111\u1ed9 n\u00e0y cho ph\u00e9p l\u01b0u l\u1ea1i d\u1eef li\u1ec7u ch\u00ednh x\u00e1c v\u1edbi t\u1ed1c \u0111\u1ed9 cao. C\u00f3 th\u1ec3 ch\u1ecdn 4 d\u1ea1ng l\u1ea5y m\u1eabus d\u1eef li\u1ec7u kh\u00e1c nhau v\u00e0 ti\u1ebfn h\u00e0nh \u0111\u1ed3ng th\u1eddi.<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6988\" title=\"spu10\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu10.jpg\" alt=\"\" width=\"304\" height=\"244\" \/><\/a><br \/>\n<strong>2. C\u00e0i \u0111\u1eb7t thu\u1eadn ti\u1ec7n b\u1eb1ng ph\u1ea7n m\u1ec1m SPU-Console<\/strong><br \/>\nM\u1ecdi c\u00e0i \u0111\u1eb7t c\u1ea7n thi\u1ebft cho m\u00f4\u0111un SPU c\u00f3 th\u1ec3 th\u1ef1c hi\u1ec7n qua 1 PC c\u00e0i \u0111\u1eb7t ph\u1ea7n m\u1ec1m SPU-Console v\u00e0 k\u1ebft n\u1ed1i v\u1edbi SPU qua m\u1ea1ng LAN. Ta c\u00f3 th\u1ec3 copy and paste b\u1ea3ng t\u00f9y bi\u1ebfn t\u1eeb CX-Programmer (ph\u1ea7n m\u1ec1m l\u1eadp tr\u00ecnh cho PLC) ho\u1eb7c b\u1ea3ng t\u00ednh Excel v\u00e0o Console d\u1ec5 d\u00e0ng<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6989\" title=\"spu12\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu12.jpg\" alt=\"\" width=\"722\" height=\"564\" \/><\/a><br \/>\n<strong>\u00a0B\u1ea3ng t\u00f9y bi\u1ebfn tr\u00ean SPU-Console<\/strong><br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6990\" title=\"spu13\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu13.jpg\" alt=\"\" width=\"798\" height=\"277\" \/><\/a><br \/>\n<strong>3. Chia s\u1ebb file d\u1eef li\u1ec7u thu\u1eadn ti\u1ec7n trong m\u1ea1ng Windows<\/strong><br \/>\nCh\u1ec9 c\u1ea7n 1 m\u00e1y t\u00ednh k\u1ebft n\u1ed1i m\u1ea1ng Ethernet v\u1edbi SPU, ta c\u00f3 th\u1ec3 truy c\u1eadp b\u1eb1ng Windows<br \/>\nExplorer v\u00e0o file l\u01b0u d\u1eef li\u1ec7u \u0111\u1ecbnh d\u1ea1ng Excel l\u01b0u trong th\u1ebb nh\u1edb CF c\u1ee7a SPU. Trong v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y, \u0111\u1ecba ch\u1ec9 IP c\u1ee7a SPU l\u00e0 192.168.0.100<br \/>\n<a href=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu15.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6991\" title=\"spu15\" src=\"https:\/\/banbientan.com\/wp-content\/uploads\/2012\/07\/spu15.jpg\" alt=\"\" width=\"711\" height=\"318\" \/><\/a><br \/>\n<strong>4. Ch\u1ee9c n\u0103ng ghi th\u00f4ng s\u1ed1 v\u00e0o PLC<\/strong><br \/>\nTh\u00f4ng th\u01b0\u1eddng trong v\u00f9ng nh\u1edb m\u1edf r\u1ed9ng c\u1ee7a CPU (PLC) ch\u1ee9a nhi\u1ec1u d\u1eef li\u1ec7u l\u00e0m th\u00f4ng s\u1ed1 y\u00eau c\u1ea7u cho s\u1ea3n xu\u1ea5t. C\u00e1c th\u00f4ng s\u1ed1 n\u00e0y khi c\u1ea7n s\u1ebd \u0111\u01b0\u1ee3c chuy\u1ec3n v\u00e0o c\u00e1c thanh ghi DM. Tuy\u00a0nhi\u00ean, khi s\u1eed d\u1ee5ng SPU, ta kh\u00f4ng c\u1ea7n \u0111\u1ebfn CPU c\u00f3 b\u1ed9 nh\u1edb m\u1edf r\u1ed9ng l\u1edbn. Thay v\u00e0o \u0111\u00f3, c\u00e1c SPU s\u1ebd ch\u1ee9a lu\u00f4n c\u00e1c th\u00f4ng s\u1ed1. Khi c\u00f3 y\u00eau c\u1ea7u t\u1eeb PLC hay PC ngo\u00e0i, c\u00e1c th\u00f4ng s\u1ed1 n\u00e0y s\u1ebd\u0111\u01b0\u1ee3c ghi v\u00e0o b\u1ed9 nh\u1edb c\u1ee7a CPU.<br \/>\n<strong>5. Ch\u1ee9c n\u0103ng copy file v\u00e0o th\u01b0 m\u1ee5c d\u1eef li\u1ec7u \u0111\u1ecbnh tr\u01b0\u1edbc<\/strong><br \/>\nFile d\u1eef li\u1ec7u thu th\u1eadp \u0111\u01b0\u1ee3c s\u1ebd n\u1eb1m trong th\u01b0 m\u1ee5c Journal. C\u00e1c file n\u00e0y, n\u1ebfu \u1edf \u0111\u1ecbnh d\u1ea1ng \u201cring format\u201d s\u1ebd b\u1ecb ghi \u0111\u00e8 b\u1eb1ng c\u00e1c file m\u1edbi sau m\u1ed9t th\u1eddi gian nh\u1ea5t \u0111\u1ecbnh. Tuy nhi\u00ean SPU cho\u00a0ph\u00e9p ta t\u1ef1 \u0111\u1ed9ng copy c\u00e1c file n\u00e0y v\u00e0o m\u1ed9t th\u01b0 m\u1ee5c \u0111\u1ecbnh tr\u01b0\u1edbc \u0111\u1ec3 chia s\u1ebb d\u1eef li\u1ec7u v\u1ec1 sau.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Qu\u1ea3n l\u00fd d\u1eef li\u1ec7u tin c\u1eady h\u01a1n v\u1edbi Omron Sysmac SPU\u00a0 Hi\u1ec7n nay, nhu c\u1ea7u thu th\u1eadp v\u00e0 l\u01b0u tr\u1eef s\u1ed1 li\u1ec7u c\u1ee7a qu\u00e1 tr\u00ecnh s\u1ea3n xu\u1ea5t r\u1ea5t ph\u1ed5 bi\u1ebfn v\u1edbi c\u00e1c h\u1ec7 \u0111i\u1ec1u khi\u1ec3n v\u1eeba v\u00e0 l\u1edbn. Nh\u00ecn chung, vi\u1ec7c n\u00e0y ph\u1ea3i \u0111\u1ea3m b\u1ea3o \u0111\u01b0\u1ee3c c\u00e1c y\u00eau c\u1ea7u dung l\u01b0\u1ee3ng d\u1eef li\u1ec7u l\u1edbn, t\u1ed1c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17733,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10413],"tags":[],"class_list":["post-6970","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thong-tin-va-ung-dung-thiet-bi-omron"],"_links":{"self":[{"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=\/wp\/v2\/posts\/6970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6970"}],"version-history":[{"count":0,"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=\/wp\/v2\/posts\/6970\/revisions"}],"wp:attachment":[{"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hunglong.banbientan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}