Ïðîãðàììèóåìûå êîíòðîëëåðû SYSMACÑQM1/CPM1/CPM1A/SRM1Ðóêîâîäñòâî ïî ïðîãðàììèðîâàíèþCat No. W228-E1-4 R1.20Ïðîãðàììèðóåìûå êîíòðîëëåðûCQM1/CPM1/CPM1A/SRM1Èíñòðóêöèÿ ïî ïðîãðàììèðîâàíèþÏåðåñìîòðåíà â èþíå 1997 ãîäàCat. No. W228-E1-4 (R1.20)-1—2-Ïåðåä òåì, êàê ÷èòàòü èíñòðóêöèþ:Ïðîäóêöèÿ ôèðìû OMRON ñîçäàíà äëÿ èñïîëüçîâàíèÿ ñîãëàñíî ðàçðåøåííûìïðîöåäóðàìa êâàëèôèöèðîâàííûì îïåðàòîðîì è òîëüêî äëÿ öåëåé, îïèñàííûõ â äàííîéèíñòðóêöèè. äàííîé èíñòðóêöèè ïðèíÿòû ñëåäóþùèå îáîçíà÷åíèÿ äëÿ èíäèêàöèè è êëàññèôèêàöèèïðåäóïðåæäàþùèõ ñîîáùåíèé. Îáÿçàòåëüíî ó÷èòûâàéòå ýòó èíôîðìàöèþ. Åñëèïðåíåáðå÷ü ïðåäóïðåæäåíèÿìè, ýòî ìîæåò ïîâëå÷ü íåñ÷àñòíûå ñëó÷àè ñ ëþäüìè èëèïîâðåæäåíèå îáîðóäîâàíèÿ.Îïàñíîñòü!Ïðåäóïðåæäåíèå!Âíèìàíèå!Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ñ áîëüøîé äîëåéâåðîÿòíîñòè ïîâëå÷åò ñìåðòü èëè òÿæåëûå óâå÷üÿ.Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ìîæåò ïîâëå÷ü ñìåðòüèëè òÿæåëûå óâå÷üÿ (ñ ìåíüøåé ñòåïåíüþ âåðîÿòíîñòè).Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ìîæåò ïîâëå÷üîòíîñèòåëüíî ñåðüåçíûå èëè íåáîëüøèå òðàâìû, ïîâðåæäåíèåîáîðóäîâàíèÿ èëè íåïðàâèëüíóþ ðàáîòó.Ñïðàâî÷íàÿ èíôîðìàöèÿ îá èçäåëèÿõ OMRONÂñå èçäåëèÿ OMRON ïèøóòñÿ â äàííîé èíñòðóêöèè ñ ïðîïèñíîé áóêâû.
Ñëîâî “Áëîê”òàêæå ïèøåòñÿ ñ áîëüøîé áóêâû, êîãäà îíî îòíîñèòñÿ ê ïðîäóêöèè OMRON, íåçàâèñèìîîò òîãî, ïîÿâëÿåòñÿ îíî èëè íåò â ñîáñòâåííîì èìåíè èçäåëèÿ.Ñîêðàùåíèå “Ch”, êîòîðîå ïîÿâëÿåòñÿ â íåêîòîðûõ ðåæèìàõ èíäèêàöèè è íåêîòîðûõïðîäóêòàõ OMRON, ÷àñòî îáîçíà÷àåò “ñëîâî” (word) è â äîêóìåíòàöèè èìååòñîêðàùåííîå îáîçíà÷åíèå “Wd”.Ñîêðàùåíèå “ÏÊ” (PC) îçíà÷àþò Ïðîãðàììèðóåìûé Êîíòðîëëåð (ProgrammableController) è â äðóãèõ ñìûñëàõ íå èñïîëüçóåòñÿ.Ñðåäñòâà âûäåëåíèÿ èíôîðìàöèè ëåâîé êîëîíêå äàííîé èíñòðóêöèè ïîÿâëÿþòñÿ ñëåäóþùèå çàãîëîâêè äëÿ îáëåã÷åíèÿîïðåäåëåíèÿ òèïà èíôîðìàöèè.Çàìå÷àíèå Óêàçûâàåò èíôîðìàöèþ, çàñëóæèâàþùåãî îñîáîãî èíòåðåñà äëÿýôôåêòèâíîé è óäîáíîé ðàáîòû èçäåëèé OMRON.1, 2, 3,…
Óêàçûâàåò íà ïåðå÷èñëåíèÿ òîãî èëè èíîãî ðîäà, òàêèå, êàê ïðîöåäóðû,ñïèñêè è ò.ä.OMRON,1993Âñå ïðàâà ñîõðàíåíû. Íèêàêóþ ÷àñòü äàííîãî äîêóìåíòà íåëüçÿ ðàçìíîæàòü, çàãðóæàòü âèíôîðìàöèîííî-ïîèñêîâûå ñèñòåìû èëè ïåðåäàâàòü â ëþáîé ôîðìå, ìåõàíè÷åñêîé, ýëåêòðè÷åñêîé,ôîòîêîïèðîâàíèåì, ìàãíèòîçàïèñüþ èëè êàêîé-ëèáî äðóãîé, áåç ïèñüìåííîãî ðàçðåøåíèÿ OMRON.Ïàòåíòíîé îòâåòñòâåííîñòè çà èñïîëüçîâàíèå èíôîðìàöèè â äàííîì äîêóìåíòå íå íåñåòñÿ. Áîëåå òîãî,ïîñêîëüêó OMRON ïîñòîÿííî ñòàðàåòñÿ óëó÷øàòü ñâîþ ïðîäóêöèþ, èíôîðìàöèÿ â äàííîé èíñòðóêöèè ìîæåòèçìåíèòüñÿ áåç óâåäîìëåíèÿ. Ïðè ïîäãîòîâêå äàííîé èíñòðóêöèè áûëè ïðèíÿòû âñå ìåðû ïðåäîñòîðîæíîñòè.Îäíàêî OMRON íå ïðèíèìàåò íà ñåáÿ îòâåòñòâåííîñòè çà îøèáêè èëè ïðîïóñêè. Íå ïðèíèìàåòñÿ òàêæåíèêàêàÿ îòâåòñòâåííîñòü çà óùåðá, íàíåñåííûé âñëåäñòâèå ïðèìåíåíèÿ èíôîðìàöèè, ñîäåðæàùåéñÿ âäàííîì äîêóìåíòå.-3-Î äàííîé èíñòðóêöèè: äàííîé èíñòðóêöèè îïèñàíî ïðîãðàììèðîâàíèå ïðîãðàììèðóåìûõ êîíòðîëëåðîâCQM1/CÐÌ1/CPM1A/SRM1, âêëþ÷àÿ ñòðóêòóðó ïàìÿòè, ñîäåðæèìîå ïàìÿòè, êîìàíäûðåëåéíî-êîíòàêòíûõ ñõåì è ò.
ä.Èíôîðìàöèþ îá àïïàðàòíîé ÷àñòè è î ðàáîòå ñ ïðîãðàììàòîðîì ñìîòðèòå Èíñòðóêöèþïî ðàáîòå CQM1 èëè Èíñòðóêöèþ ïî ðàáîòå CÐM1;äëÿ ðàáîòû ñ SSS ñì. Èíñòðóêöèþ ïî ðàáîòå ñ SSS: ÏÊ ñåðèè Ñ.Âíèìàòåëüíî ïðî÷òèòå äàííóþ èíñòðóêöèþ äî ïîëíîãî ïîíèìàíèÿ èçëîæåííûõ ñâåäåíèé,ïðåæäå ÷åì ïûòàòüñÿ ïðîãðàììèðîâàòü è ðàáîòàòü ñ CQM1 è ÑÐÌ1.Ãëàâà 1 îïèñûâàåò Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ è ñâÿçàííûå ñ íèìè ôóíêöèè ÏÊ,âêëþ÷àÿ îáðàáîòêó ïðåðûâàíèé è ñâÿçü.
Óñòàíîâî÷íûå ïàðàìåòðû ñëóæàò äëÿóïðàâëåíèÿ ðàáî÷èìè ïàðàìåòðàìè ÏÊ. Ãëàâå 2 äàíî îïèñàíèå íîâûõ âîçìîæíîñòåé CQM1 è CÐM1, âêëþ÷àÿ íîâûåäîïîëíèòåëüíûå êîìàíäû è íîâûé ðåæèì èíäèêàöèè, íàçûâàåìûé ïðîñìîòðîì ôðîíòîâ, Ãëàâå 3 îïèñàíà ñòðóêòóðà îáëàñòåé ïàìÿòè ÏÊ è èõ èñïîëüçîâàíèå. Òàêæå îïèñàíûîïåðàöèè ñ êàññåòîé ïàìÿòè äëÿ îáìåíà äàííûõ ìåæäó CQM1 è êàññåòîé ïàìÿòè. Ãëàâå 4 îïèñàíû îñíîâíûå äåéñòâèÿ è ïîíÿòèÿ, èñïîëüçóåìûå äëÿ íàïèñàíèÿïðîãðàììû â âèäå ðåëåéíî-êîíòàêòíîé ñõåìû. Îíà çíàêîìèò ñ êîìàíäàìè,èñïîëüçóåìûìè äëÿ ïîñòðîåíèÿ áàçîâîé ñòðóêòóðû ðåëåéíî-êîíòàêòíîé ñõåìû è äëÿóïðàâëåíèÿ åå âûïîëíåíèåì. Ãëàâå 5 îáúÿñíÿåòñÿ èíäèâèäóàëüíî êàæäàÿ êîìàíäà ïðîãðàììèðîâàíèÿ â âèäåðåëåéíî-êîíòàêòíîé ñõåìû, êîòîðûå èñïîëüçóþòñÿ â ÏÊ. Ãëàâå 6 îïèñàíû ìåòîäû è ïðîöåäóðû èñïîëüçîâàíèÿ êîìàíä ñâÿçè ñ âåðõíèìóðîâíåì (HOST LINK), êîòîðûå ñëóæàò äëÿ ñâÿçè HOST LINK ÷åðåç ïîðòû ÏÊ. Ãëàâå 7 îïèñàíû âíóòðåííÿÿ ðàáîòà ÏÊ è âðåìÿ, òðåáóåìîå äëÿ îáðàáîòêè èèñïîëíåíèÿ.
×èòàéòå äàííóþ ãëàâó äëÿ ïîíèìàíèÿ ñèíõðîíèçàöèè îïåðàöèé ÏÊ. Ãëàâå 8 îïèñàíî, êàê äèàãíîñòèðîâàòü è èñïðàâëÿòü îøèáêè àïïàðàòóðû è ïðîãðàììû,êîòîðûå ìîãóò ïðîèçîéòè âî âðåìÿ ðàáîòû ÏÊ.Ïðåäóïðåæäåíèå!Åñëè ïðèñòóïèòü ê ðàáîòå ñ ÏÊ, íå ïðî÷èòàâ è íå ïîíÿâ èíôîðìàöèþ âäàííîé èíñòðóêöèè, ýòî ìîæåò ïðèâåñòè ê íåñ÷àñòíûì ñëó÷àÿì èëè ñìåðòèïåðñîíàëà, ïîâðåæäåíèþ èëè ïîëîìêå èçäåëèÿ.
Ïåðåä òåì, êàê ïûòàòüñÿïðîäåëàòü ëþáóþ ïðîöåäóðó èëè îïåðàöèþ, ïîëíîñòüþ ïðî÷òèòå êàæäóþãëàâó äî ïîëíîãî ïîíèìàíèÿ.-4-Ñîäåðæàí è å1. Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ è ñâÿçàííûå ñ íèìè õàðàêòåðèñòèêè . . . . . . . 131.1 Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ. .
. . . . . . . . . . . . . . . . . . . . . . 141.1.1 Èçìåíåíèå óñòàíîâî÷íûõ ïàðàìåòðîâ ÏÊ . . . . . . . . . . . . . .1.1.2 Óñòàíîâî÷íûå ïàðàìåòðû ïðîãðàììèðóåìîãî êîíòðîëëåðà CQM1.1.1.3 Óñòàíîâî÷íûå ïàðàìåòðû CÐM1/CPM1A . . . . . . . . . . . . . . .1.1.4 Óñòàíîâî÷íûå ïàðàìåòðû SRM1 . . . . . . . . . . . . . . .
. . . ……………………………141420231.2 Áàçîâûå îïåðàöèè ÏÊ è ïðîöåññû âõîäîâ/âûõîäîâ. . . . . . . . . . . . 261.2.1 Ðåæèì ïóñêà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261.2.2 Ñîñòîÿíèå áèòà óäåðæàíèÿ . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 261.2.3 Çàùèòà îò çàïèñè ïàìÿòè ïðîãðàìì (òîëüêî äëÿ CPM1/CPM1A) . . . . . . . . . . 271.2.4 Âðåìÿ îáñëóæèâàíèÿ ïîðòà RS-232C (òîëüêî CQM1/SRM1) . . . . . . . . . . . . 271.2.5 Âðåìÿ îáñëóæèâàíèÿ ïåðèôåðèéíîãî ïîðòà . . . . . . . . . . . . . . . . . .
. . . 281.2.6 Âðåìÿ öèêëà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281.2.7 Êîíñòàíòû âðåìåíè âõîäà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281.2.8 Âûñîêîñêîðîñòíûå òàéìåðû (Òîëüêî CQM1) . . . . . . . .
. . . . . . . . . . . . . 301.2.9 Êîëè÷åñòâî ââîäèìûõ öèôð äëÿ DSW(87) è Ìåòîä îáíîâëåíèÿ âûõîäîâ (Òîëüêî CQM1)311.2.10 Ïàðàìåòðû ïðîòîêîëà îøèáîê . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311.3 Ôóíêöèè âûäà÷è èìïóëüñîâ (òîëüêî CQM1) . . . . . . . . . . . . . . . . 331.3.1 Òèïû âûäà÷è èìïóëüñîâ . . . . . . . . . . .
. . . . . . . . . . . .1.3.2 Âûäà÷à ñòàíäàðòíûõ èìïóëüñîâ ñ ïðîñòîãî âûõîäà. . . . . . . .1.3.3 Âûäà÷à ñòàíäàðòíûõ èìïóëüñîâ ñ ïîðòîâ 1 è 2 . . . . . . . . . .1.3.4 Âûäà÷à èìïóëüñîâ ñ ïåðåìåííûì êîýôôèöèåíòîì çàïîëíåíèÿ ñïîðòîâ 1 è 2. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .1.3.5 Îïðåäåëåíèå ñîñòîÿíèÿ ïîðòîâ 1 è 2 . . . . . . . . . . . . . . .. . . . . . . . . 33. . . . . . . . . 33. . . . . . . . . 35. . . . . . . . . 43. . . . . . . . . 451.4 Ôóíêöèè ïðåðûâàíèé CQM1 . . .
. . . . . . . . . . . . . . . . . . . . . 471.4.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.2 Âõîäíûå ïðåðûâàíèÿ . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.3 Ìàñêèðîâàíèå âñåõ ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . .1.4.4 Ïðåðûâàíèÿ èíòåðâàëüíîãî òàéìåðà . .
. . . . . . . . . . . . . . . . . . .1.4.5 Ïðåðûâàíèÿ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà (ÂÑ÷) 0 . . . . . . . . . . . . . .1.4.6 Ïåðåïîëíåíèå “+”/ Ïåðåïîëíåíèå “- “ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà 0 . . .1.4.7 Ïðåðûâàíèÿ âûñîêîñêîðîñòíûõ ñ÷åò÷èêîâ (ÂÑ÷) 1 è 2 (CQM1-CPU43-Å) .1.4.8 Ïðåðûâàíèÿ àáñîëþòíîãî âûñîêîñêîðîñòíîãî ñ÷åò÷èêà (CQM1-CPU44-Å)……………………………47495454576364711.5 Ôóíêöèè ïðåðûâàíèé CPM1/CPM1A . . . .
. . . . . . . . . . . . . . . . 791.5.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . .1.5.2 Âõîäíûå ïðåðûâàíèÿ . . . . . . . . . . .1.5.3 Ìàñêèðîâàíèå âñåõ ïðåðûâàíèé . . . . .1.5.4 Ïðåðûâàíèÿ èíòåðâàëüíûõ òàéìåðîâ . .1.5.5 Ïðåðûâàíèÿ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà………………………………………………………………………………………………..79808586881.6 Ôóíêöèè ïðåðûâàíèé SRM1 .
. . . . . . . . . . . . . . . . . . . . . . . 961.6.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 961.6.2 Ïðåðûâàíèÿ ïî èíòåðâàëüíîìó òàéìåðó . . . . . . . . . . . . . . . . . . . . . . .
961.7 Ôóíêöèè ðàñïðåäåëåííûõ âõîäîâ/âûõîäîâ CompoBus/S (Òîëüêî SRM1) 981.8 Ôóíêöèè ñâÿçè . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1001.8.1 Óñòàíîâî÷íûå ïàðàìåòðû CQM1 . . . . .1.8.2 Ïîäêëþ÷åíèå ïîðòîâ. . . . . . . . . . . .1.6.3 Ñâÿçü Host Link CQM1 . . . . .
. . . . . .1.8.4 Ñâÿçü Host Link CPM1/CPM1A. . . . . . .1.8.5 Ñâÿçü Host Link SRM1 . . . . . . . . . . .1.8.6 Ñâÿçü ïî RS-232C (òîëüêî CQM1/SRM1) .1.8.7 Ñâÿçü CQM1 1:1 . . . . . . . . . . . . . .1.8.8 Ñâÿçü 1:1 CÐM1/CPM1A . . . . . . . . . .-5-…………………………………………………………………………………………………………………………………………………………..1001031031051071101121141.8.9 Ñâÿçü CÐM1/CPM1A NT LINK . .
. . . . .1.8.10 Ñâÿçü 1:1 SRM1 . . . . . . . . . . . . . .1.8.11 Ñâÿçü NT LINK â SRM1 . . . . . . . . .1.8.12 Ñâîáîäíûé ïðîòîêîë â SRM1 . . . . . .1.8.13 Êîíôèãóðàöèÿ ïåðåäàâàåìûõ äàííûõ. .1.8.14 Ôëàãè ïåðåäà÷è . . . . . . . . . . . . . .1.8.15 Ïðèìåð ïðîãðàììû ñâÿçè áåç ïðîòîêîëà……………………………………………………………………………………………………………………………………….1151161181191211211211.9 Âû÷èñëåíèÿ ñ äâîè÷íûìè äàííûìè ñî çíàêîì . . . .
. . . . . . . . . . 1231.9.1 Çàäàíèå äâîè÷íûõ äàííûõ ñî çíàêîì. . . . . . . . . . . . . . . . . . . . . . .1.9.2 Àðèôìåòè÷åñêèå ôëàãè . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.9.3 Ââîä äâîè÷íûõ ÷èñåë ñî çíàêîì ñ èñïîëüçîâàíèåì äåñÿòè÷íûõ çíà÷åíèé . .1.9.4 Èñïîëüçîâàíèå äîïîëíèòåëüíûõ êîìàíä äâîè÷íûõ ñî çíàêîì (òîëüêî CQM1)1.9.5 Ïðèìåð ïðèìåíåíèÿ äâîè÷íûõ ÷èñåë ñî çíàêîì . .
-
Contents
-
Table of Contents
-
Troubleshooting
-
Bookmarks
Related Manuals for Omron CPM1A
Summary of Contents for Omron CPM1A
-
Page 1
Cat. No. W317-E1-11 SYSMAC CPM1A Programmable Controllers OPERATION MANUAL… -
Page 2
CPM1A Programmable Controllers Operation Manual Revised October 2007… -
Page 4
1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 1997 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permis- sion of OMRON. -
Page 6: Table Of Contents
….Initial System Checks and Test Run Procedure ……. . .
-
Page 7
TABLE OF CONTENTS Appendices A Standard Models ………… -
Page 8
Section 4 describes SSS capabilities, how to connect the Programming Console, and how to perform the various Programming Console operations. Section 5 describes how to perform a test run and how to diagnose and correct the hardware and soft- ware errors that can occur during PC operation. -
Page 9
TABLE OF CONTENTS… -
Page 10
Warranty and Limitations of Liability Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á WARRANTY Á… -
Page 11
Application Considerations Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á SUITABILITY FOR USE Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á… -
Page 12
Disclaimers Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á CHANGE IN SPECIFICATIONS Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á… -
Page 14
This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the Programmable Con- troller. You must read this section and understand the information contained before attempting to set up or operate a PC system. -
Page 15: Intended Audience
WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
-
Page 16: Operating Environment Precautions
When connecting a personal computer or other peripheral device to the CPM1A, either ground the 0 V side of the CPM1A or do not ground at all. Depending on the method of grounding, the 24-V power supply may short-circuit; do not ground the 24-V side as shown in the following diagram.
-
Page 17: Application Precautions
Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury. • Always connect to a ground of 100 Ω or less when installing the Units. Not con- necting to a ground of 100 Ω or less may result in electric shock.
-
Page 18
• Do not place objects on top of the cables. Doing so may break the cables. • When replacing parts, be sure to confirm that the rating of a new part is correct. Not doing so may result in malfunction or burning. -
Page 19
(The PC Setup setting in DM 6601 can be used to back up this data. Refer to details on the PC Setup later in this manual for details.) 2. -
Page 20: Ec Directives
AR 1314 goes ON. • The data stored in flash memory will not be lost even if power remains off for a period exceeding the data backup period, because the data stored in flash memory will be read to the CPU Unit when the CPM1A is turned on.
-
Page 21
EC Directives All Expansion I/O Units except for the CPM1A-20EDR conform to EC Directives. To ensure that the machine or device in which the CPM1A PC is used complies with EC Directives, the PC must be installed as follows: 1, 2, 3… -
Page 22: Revised Specifications
Revised Specifications Manufacturer: Fair Rite Products Corp. Revised Specifications The following table shows the changes that have been made in product specifi- cations beginning with lots produced in January 1998 (December 1997 for some models). Item Previous specifications New specifications…
-
Page 23
CX-Programmer Operation occurred). Manual (W425). The following table shows the changes that have been made in product specifi- cations beginning with the introduction of version-1 Units in May 2001 (April 2001 for some models). Item New specifications (V1 models) EC Directives All products with model numbers ending in “-V1”… -
Page 24
Revised Specifications In this manual, version-1 CPU Units are referred to as V1 CPU Units and the previous CPU Units are referred to as pre-V1 CPU Units. Unless otherwise specified, “CPM1A” refers to both V1 and pre-V1 CPU Units. -
Page 25: Introduction
SECTION 1 Introduction This section describes the CPM1A’s special features and functions and shows the possible system configurations. Refer to the Programming Manual (W353) for details on programming actual operation. CPM1A Features and Functions ……….
-
Page 26: Cpm1A Features And Functions
The CPM1A is equipped with a filter function to prevent incorrect operation caused by chatter or noise in the input signal. The user can select an input time constant of 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. Low-maintenance Design Flash memory provides memory backup without a battery.
-
Page 27
Up to 3 Analog I/O Units can be connected to provide analog inputs and outputs. Each Unit provides 2 analog inputs and 1 analog output, so a maximum of 6 ana- log inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O Units. -
Page 28: Cpm1A Functions
I/O control based on a “PC + remote I/O” configuration. The distributed CPU control makes equipment modular, so designs can be standardized, special needs can be addressed, and modules can be replaced easily in the event of a breakdown. CompoBus/S Master Unit…
-
Page 29: I/O Terminal And Ir Bit Allocation
CPM1A Features and Functions Section 1-1 1-1-2 I/O Terminal and IR Bit Allocation The following table shows which IR bits are allocated to the I/O terminals on the CPM1A’s CPU Units and Expansion I/O Unit. CPU Units No. of I/O termi-…
-
Page 30
IR 251 Input Filter Function The input time constant for the CPM1A’s external inputs can be set to 1, 2, 4, 8, 16, 32, 64, or 128 ms. Increasing the input time constant can reduce the effects of chatter or noise in the input signal. -
Page 31
30CDR-j(-V1)/30CDT-D(-V1)/ 30CDT1-D(-V1)/40CDR-j(-V1)/ 40CDT-D(-V1)/40CDT1-D(-V1) Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006 can be used as normal input terminals. Caution Although IORF(97) can be used in interrupt subroutines, you must be careful of the interval between IORF(97) executions. -
Page 32
CPM1A PCs are equipped with an interval timer which can be set from 0.5 ms to (Scheduled Interrupts) 319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt (one-shot mode) or to trigger scheduled interrupts (scheduled interrupt mode). -
Page 33
CPM1A Features and Functions Section 1-1 The pulse output can be set to either the continuous mode, under which the out- put can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215). -
Page 34: System Configuration
00002: Reset input 65535 subroutine numbers can be registered. Note In incremental mode, this input (00001) can be used as an regular input. System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration CPM1A CPU Units 10 I/O points…
-
Page 35
System Configuration Section 1-2 V1 CPM1A CPU Units 10 I/O points 20 I/O points 30 I/O points 40 I/O points Model number Number Inputs Outputs Power of I/O f I/O supply Relay outputs Transistor outputs terminals terminals Sinking outputs Sourcing outputs… -
Page 36: Cpu Unit And Expansion Unit
Section 1-2 1-2-2 CPU Unit and Expansion Unit Up to 3 Expansion I/O Units or Expansion Units can be connected to a CPU Unit with 30 or 40 I/O points. There are three types of Expansion Units available: Analog I/O Units, Tempera- ture Sensor Units, the CompoBus/S I/O Link Unit, and the DeviceNet I/O Link Unit.
-
Page 37
(Outputs to the Master.) Note Only one CPM1A-TS002/TS102 Temperature Sensor Unit can be connected to the CPU Unit. If a CPM1A-TS002/102 is connected to the CPU Unit, only one additional Expansion Unit (other than a CPM1A-TS002/102) or one Expansion I/O Unit can be connected to the CPU Unit. -
Page 38: Host Link Communications
System Configuration Section 1-2 1-2-3 Host Link Communications Host Link communications which allows up to 32 OMRON PCs to be controlled from a host computer. The computer-PC connections can be made connectors such as RS-232C and RS-422 Adapters. One-to-one Communications The following diagram shows the possible methods for a 1:1 connection between a CPM1A and an IBM PC/AT or compatible computer.
-
Page 39: One-To-One Pc Link Communications
System Configuration Section 1-2 One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/AT or compatible computer. IBM PC/AT or compatible RS-422 CPM1A CPU Units RS-232C Cable Adapters RS-422 Cable 3G2A9-AL004-E Link Adapter OMRON CPM1A PCs (32 PCs max.)
-
Page 40: One-To-One Nt Link Communications
Section 1-2 1-2-4 One-to-one PC Link Communications A data link can be created with a data area in another CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2) or C200HS PC or a C200HX/HG/HE PC. An RS-232C Adapter must be used to make the 1:1 connection.
-
Page 41: Compobus/S I/O Link Connections
1-2-6 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit.
-
Page 42
Section 1-2 1-2-7 DeviceNet I/O Link Connections A DeviceNet I/O Link Unit can be used to create an I/O link (remote I/O) of 32 input points and 32 output points with a DeviceNet master, i.e., the CPM1A oper- ates as a DeviceNet slave. From the standpoint of the CPM1A CPU Unit, the area allocated to the DeviceNet I/O Link Unit can be treated just like the area allocated to an Expansion I/O Unit. -
Page 43
An IBM PC/AT or compatible personal computer running SSS or the SYSMAC- and SYSMAC-CPT Support CPT Support Software can be connected to the CPM1A as shown in the follow- Software ing diagram. Refer to 3-4-7 Host Link Connections for a diagram showing the standard wiring for the RS-232C cable. -
Page 44: Unit Specifications And Components
SECTION 2 Unit Specifications and Components This section provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units. Specifications …………
-
Page 45: Specifications
Grounding Power interrupt time AC type: 10 ms min. DC type: 2 ms min. (A power interruption occurs if power falls below 85% of the rated voltage for longer than the power interrupt time.) CPU Unit AC type 400 g max.
-
Page 46: Characteristics
The program, read-only DM area, and PC Setup area are backed up without a battery. Capacitor backup: The read/write DM area, error log area, HR area, and counter values are backed up by a capacitor for 20 days at 25_C. The capacitor backup time depends on the ambient temperature.
-
Page 47
Can preset the pulse rate (1 to 16,777,215). Input time constant Can be set to 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. Analog controls 2 controls, setting range: 0 to 200 BCD Note 1. -
Page 48: I/O Specifications
(510 Ω) Note Figures in parentheses are for IN00000 to IN00002. Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. When IN00000 through IN00002 are used as high-speed counter inputs, the delays are as shown in the following table.
-
Page 49
Internal 820 Ω Circuits Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. Caution Do not apply voltage in excess of the rated voltage to the input terminal. It may result in damage to the product or fire. -
Page 50
24 VDC: 2 A Note 1. The service life of relay output contacts shown in the table assumes the worst conditions. The following graph shows the results of OMRON’s ser- vice life tests at a switching rate of 1,800 times/hour. -
Page 51
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. -
Page 52
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. -
Page 53: Communications Adapter Specifications
200 g max. RS-422 Adapter Specifications Item Specification Function Converts between the CMOS format (PC CPU Unit side) and the RS-422 format (peripheral device side). Insulation The RS-422 (peripheral device side) is isolated by a DC/DC convertor and photocoupler. Power supply Power is supplied from the PC CPU Unit.
-
Page 54: Unit Components
Unit Components Section 2-2 Unit Components 2-2-1 CPU Unit Components CPU Units with 10 I/O Terminals CPM1A-10CDR-j-V1/10CDT-j-V1/10CDT1-j-V1 3. Protective earth terminal 1. Power supply input terminals 5. Input terminals 8. Input indicators 10. Analog controls 9. Output indicators 11. Peripheral Port 7.
-
Page 55
CPU Unit Component Descriptions 1, 2, 3… 1. Power Supply Input Terminals Connect the power supply (100 to 240 VAC or 24 VDC) to these terminals. 2. Functional Earth Terminal ( ) (Pre-V1 CPU Units only) Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock. -
Page 56: Expansion I/O Unit Components
These indicators are lit when the corresponding output terminal is ON. 10. Analog Controls Setting these controls sets the contents of IR 250 and IR 251 from 0 to 200. 11. Peripheral Port Connects the PC to a Peripheral Device, RS-232C Adapter, or RS-422 Adapter.
-
Page 57
Connects the Expansion I/O Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit. Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity. 6. Expansion Connector Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). -
Page 58: Analog I/O Unit Components
Unit or another Expansion Unit. The cable is connected to the Analog I/O Unit and cannot be removed. Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity. 3. Expansion Connector Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit).
-
Page 59: Temperature Sensor Unit Components
1. Temperature Input Terminals Connect to a thermocouple or a platinum resistance thermometer. 2. DIP Switch Sets the temperature unit (°C or °F), and the number of decimal places used. Number of decimal places used OFF: Normal (0 or 1); ON: 2 Temperature unit OFF: °C;…
-
Page 60: Compobus/S I/O Link Unit Components
Temperature Sensor Unit and cannot be removed. Caution Do not touch the expansion I/O connecting cable while the power is being sup- plied in order to prevent any malfunction due to static electricity. 5. Expansion Connector Connects to an additional Expansion I/O Unit or another Expansion Unit.
-
Page 61: Devicenet I/O Link Unit Components
Connects the CompoBus/S I/O Link Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit. Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity. 5. Expansion Connector Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit).
-
Page 62
PC’s CPU Unit or another Expansion Unit. This cable cannot be removed. Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity. 6. Expansion Connector… -
Page 63: Communications Adapter Components
1, 2, 3… 1. Mode Setting Switch Set this switch to “HOST” when using a Host Link system to connect to a personal computer. Set this switch to “NT” when connecting to a Program- mable Terminal or PC for 1:1 PC Link.
-
Page 64: Installation And Wiring
Installation and Wiring This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply, or wiring I/O.
-
Page 65: Design Precautions
Motor forward CPM1A 01006 Motor reverse In the interlock circuit above, MC1 and MC2 can’t be ON at the same time even if CPM1A outputs 01005 and 01006 are both ON (an incorrect PC operation). 3-1-3 Power Supply Voltage Caution Use the power supply voltages indicated in Section 2 Unit Specifications and Components.
-
Page 66: Selecting An Installation Site
Momentary Power Failure Detection A momentary power failure lasting less than 10 ms with an AC power supply and 2 ms with a DC power supply is not detected and the CPU Unit continues to oper- ate. A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncertain area.
-
Page 67: Panel/Cabinet Installation
• The PC will be easiest to access if the panel or cabinet is installed about 3 to 5 feet off of the floor.
-
Page 68: Installing The Cpm1A
Do not install the CPM1A in either of the following positions. Incorrect Incorrect 3-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track. Surface Installation Use the following pattern when installing a CPM1A on a horizontal surface. CPM1A-10CDR-j(-V1)/10CDT-j(-V1)/10CDT1-j(-V1) and…
-
Page 69
RS-422 Adapter 21 mm Temperature Sensor Unit 76 mm Allow 10 to 15 mm between the Units when installing an Expansion Unit, Expan- sion I/O Unit, or Communications Adapter next to the CPU Unit, as shown below. 21 mm 81 mm… -
Page 70: Connecting An Expansion I/O Unit
Installing the CPM1A Section 3-3 Installation Lower the CPM1A so that the notch on the back of the PC catches the top of the DIN Track. Push the PC forward until the lock snaps into place. Removal Pry the lock down with a standard screwdriver and pivot the PC upward to remove it.
-
Page 71
Expansion I/O Unit Connector. 3. Attach the cover to the CPU Unit’s Expansion I/O Unit Connector by insert- ing the two pins on the inside of the cover into the holes on the case and pressing downward lightly and evenly. -
Page 72
Section 3-3 Pre-V1 Units 1, 2, 3… 1. Remove the cover from the CPU Unit’s or the Expansion I/O Unit’s Expan- sion I/O Unit Connector. Use a flat-blade screwdriver to remove the cover from the Expansion I/O Connector. Expansion I/O Unit connector cover 2. -
Page 73: Wiring And Connections
With pre-V1 Units, attach the dustproof label provided before wiring. With V1 Units, leave the dustproof label in place while wiring. If scraps of wire get inside the Unit, malfunction will result. After completing wiring be sure to remove the label to avoid overheating.
-
Page 74: Ground Wiring
Wiring and Connections Section 3-4 Floor Ducts Leave at least 200 mm between the wiring and the top of the duct, as shown in the following diagram. Control cables and Metal plate (iron) CPM1A I/O lines CPM1A power lines Power cables 200 mm min.
-
Page 75: Power Supply Wiring
Always use crimp connectors for the CPM1A’s power lines and I/O lines or else use a solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the terminal can cause a fire.
-
Page 76
AC power is mistakenly supplied to a CPU Unit that requires a DC power supply. 2. The power supply input terminals are at the top of the CPU Unit; the termi- nals at the bottom of the CPU Unit output 24-VDC power for external de- vices. -
Page 77
Wiring and Connections Section 3-4 Caution Do not perform a withstand voltage test on a CPU Unit with a DC power supply. The test might damage the PC’s internal components. Note 1. Do not conduct a withstand voltage test for the power supply section of the CPU Unit with a DC power supply. -
Page 78: Input Wiring
Section 3-4 3-4-4 Input Wiring Wire the inputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. Do not apply voltages exceeding the rated input voltage to the input terminals.
-
Page 79
Wiring and Connections Section 3-4 CPM1A-8ED Input 24 VDC devices Input devices Note Although the COM terminals are internally connected, be sure to wire them ex- ternally as well. CPM1A-20EDR/20EDR1/EDT/EDT1 Input devices 24 VDC j CH… -
Page 80
Wiring and Connections Section 3-4 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don’t have power supply outputs. Input devices 0 CH 1 CH 10 CH 11 CH 24 VDC at – 0.2 A output External power supply:… -
Page 81
Wiring and Connections Section 3-4 Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output Relay 5 mA/12 mA CPM1A COM (+) NPN open collector Sensor Sensor power supply Output CPM1A 5 mA/12 mA… -
Page 82
00001 01000 Note The SV of TIM 000 can be set to #0001 (0.1 s) to achieve a delay time of 100 ms, but the timer accuracy is 0 to 0.1 s, meaning that the timer’s Completion Flag may turn ON immediately after the timer input. The SV must thus be set to #0002 (0.2 s) or higher to allow for timer accuracy. -
Page 83
Always use crimp connectors for the CPM1A’s power lines and I/O lines or else use a solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the terminal can cause a fire. -
Page 84: Output Wiring
3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. The power supply output terminals can be used with AC-type CPU Units.
-
Page 85
Wiring and Connections Section 3-4 Output Configurations 10 CH CPM1A-10CDR-j(-V1) Common 10 CH CPM1A-20CDR-j(-V1)/CPM1A-20EDR/20EDR1 Common Common CPM1A-30CDR-j(-V1) 10 CH 11 CH Common Common Common CPM1A-40CDR-j(-V1) 10 CH 11 CH Common Common Common Common… -
Page 86
Wiring and Connections Section 3-4 CPM1A-8ER 250 VAC/ 24 VDC 250 VAC/ 24 VDC… -
Page 87
Section 3-4 Transistor Output Wiring (Sinking Outputs) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. -
Page 88
Wiring and Connections Section 3-4 CPM1A-8ET +10% 24 VDC –15% +10% 24 VDC –15% Caution Double-check the polarity of the power supply for the load before turning it on. -
Page 89
Section 3-4 Transistor Output Wiring (Sourcing Outputs) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. -
Page 90
+10% 24 VDC –15% Caution Double-check the polarity of the power supply for the load before turning it on. Output Wiring Precautions Observe the following precautions to protect the PC’s internal components. Output Short Protection The output or internal circuitry might be damaged when the load connected to an output is short-circuited, so it is recommended to install a protective fuse (0.5 to… -
Page 91
Average rectified current must be 1 A. Inrush Current Considerations When switching a load with a high inrush current in the CPM1A relay output or transistor output model, such as an incandescent lamp, suppress the inrush cur- rent as shown below. -
Page 92: Peripheral Device Connection
The CPM1A CPU Unit can be connected to a C200H-PRO27-E Programming Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connect- ing Cable. The CPM1A CPU Unit can be also connected to a CQM1-PRO01-E. The CQM1-PRO01-E is provided with a 2-m Connecting Cable.
-
Page 93
– – – The type of connector used will vary depending on the PT. Check the PT manual to ensure the correct connector is used. Note When the CPM1A is connected to a host computer or OMRON PT, set the RS-232C Adapter’s mode setting switch to “HOST.”… -
Page 94
2. Set the termination resistance switch to “ON” (upper side) for Adapters on both ends of the Host Link system. Always use crimp connectors when wiring the RS-422 Adapters. Use M3 termi- nal screws and tighten the screws securely to the torque of 0.5 N S m. Fork terminal Ring terminal 6.2 mm max. -
Page 95: One-To-One Pc Link Connections
A CPM1A can be linked to a CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC through an RS-232C Adapter. One PC acts as the Master and the other as the Slave to link up to 256 bits in the LR area (LR 0000 to LR 1515).
-
Page 96: One-To-One Nt Link Connections
CPM1A CPU Unit RS-232C Cable RS-232C Adapter Note The 1:1 NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is connected. Set the DIP switch of the RS-232C Adapter (CPM1-CIF01) to the NT (bottom) side. The following diagram shows the wiring in the RS-232C cable used to connect a CPM1A to a Programmable Terminal.
-
Page 97: Compobus/S I/O Link Unit Connections
Section 3-4 3-4-10 CompoBus/S I/O Link Unit Connections A CompoBus/S I/O Link Unit can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit.
-
Page 98: Devicenet I/O Link Unit Connections
Section 3-4 3-4-11 DeviceNet I/O Link Unit Connections A DeviceNet I/O Link Unit can be used to create an I/O link (remote I/O) of 32 input points and 32 output points with a DeviceNet master, i.e., the CPM1A oper- ates as a DeviceNet slave.
-
Page 99
Wiring and Connections Section 3-4 Network Connection Connect the DeviceNet I/O Link Unit to the DeviceNet transmission path as shown in the following diagram. DeviceNet I/O Link Unit (CPM1A-DRT21) Multidrop Connector Connector included with CPM1A-DRT21 (XW4B-05C4-TF-D) (XW4B-05C1-H1-D) Black (V–) Blue (CAN low) -
Page 100: Using Peripheral Devices
This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles. Actual SSS operating procedures are provided in the SSS Operation Manuals: Basics and C-series PCs. Programming Con- sole connection and operating procedures are provided in this section.
-
Page 101: Support Software Capabilities
CPM1A. Programming Check Since the data area of the CQM1 is larger than that of the CPM1A, some parts of the area cannot be checked as the CPM1A PC. Pay careful attention to the usable data area when programming.
-
Page 102: Offline Operations
Connect line Draws a line between two ladder diagram objects. Save program Writes all or part of the user program developed in the system work area to the data disk. Retrieve program Retrieves all or part of the user program stored on a data disk to the system work area.
-
Page 103
Copies the contents of the DM area of the system work area (data memory information). Fill Writes the same data to more than one data word in the system work area data memory area. Print Prints a specified range of DM words. -
Page 104
CVM1: Converts C2000H-family programs to CVM1 programs Create Library Creates a library on a floppy disk or hard disk for use as an LSS data disk. File Time Chart Accesses the time chart monitor data produced online. (C-series PCs only) -
Page 105: Online Operations
Monitor Used to monitor DM area contents in the PC. (C-series PCs only) Go To Page Reads a specified page from the DM list of the DM area in the system work area or PC. (C-series PCs only) I/O Table Transfer I/O Table Transfers and compares the I/O table data between the computer and PC.
-
Page 106: Offline And Online Operations
Group Name Description System Setup PC model Specifies the model of PC that is being programmed or that is connected to the (see note) computer. PC Interface C-series PCs: Specifies whether communications with the PC are performed through a SYSMAC NET Link Unit, peripheral interface, or a Host Link (RS-232C) interface and the computer port (COM1 or COM2) to use.
-
Page 107: Using A Programming Console
CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Pro- gramming Consoles are identical. Press and release the Shift Key to input a letter shown in the upper-left corner of the key or the upper function of a key that has two functions. For example, the CQM1-PRO01-E’s AR/HR Key can specify either the AR or HR Area;…
-
Page 108
RUN or MONITOR but it cannot be removed when the switch is set to PROGRAM. Contrast Control The display contrast can be adjusted with the control on the right side of the Pro- gramming Console. Contrast control Buzzer Volume The C200H-PRO27-E’s buzzer volume can be adjusted with the lever on the… -
Page 109: Changing The Cpm1A’s Mode With The Mode Switch
Programming Console screen. Press CLR to clear the display so that key operations can be performed. • If the SHIFT Key is pressed while the mode switch is turned, the original dis- play will remain on the Programming Console’s screen and the mode display won’t appear.
-
Page 110: Connecting The Programming Console
Note The default setting is 0000. If a Programming Console is not connected, the PC will automatically enter RUN mode. Be sure that it is safe for the PC to operate before turning on the PC without a Programming Console connected.
-
Page 111: Preparation For Operation
The password prevents unauthorized access to the program. The PC prompts you for a password when PC power is turned on or, if PC power is already on, after the Programming Console has been connected to the PC. To gain access to the system when the “Password!”…
-
Page 112
If the Programming Console is connected to the PC when PC power is already on, the first display below will indicate the mode the PC was in before the Pro- gramming Console was connected. Ensure that the PC is in PROGRAM mode before you enter the password. -
Page 113: Programming Console Operations
Checks for programming errors and displays the program address and error when errors are found. Bit, digit, word monitor Monitors the status of up to 16 bits and words, although only 3 can be shown on the display at one time. Multiple address monitor Monitors the status of up to 6 bits and words simultaneously.
-
Page 114: Clearing Memory
MONTR Key is pressed. The HR Key is used to specify both the AR and HR Areas, the CNT Key is used to specify the entire timer/counter area, and the DM Key is used to specify the DM Area.
-
Page 115: Clearing Memory Completely
5. Press the MONTR Key to clear the specified regions of memory. MONTR 4-3-3 Clearing Memory Completely This operation is used to clear all of memory, including the user program, PC Setup, all data areas, and the I/O comment area (set with version 2.0 or later of CX-Programmer). MONITOR PROGRAM The I/O comment function was supported for the CPM1A starting from version 2.0 of CX-Programmer.
-
Page 116: Buzzer Operation
Before inputting a new program, any error messages recorded in memory should be cleared. It is assumed here that the causes of any of the errors for which error messages appear have already been taken care of. If the buzzer sounds when an attempt is made to clear an error message, eliminate the cause of the error, and then clear the error message.
-
Page 117: Setting And Reading A Program Memory Address And Monitoring I/O Bit Status
4-3-7 Setting and Reading a Program Memory Address and Monitoring I/O Bit Status This operation is used to display the specified program memory address and is possible in any mode. In the RUN or MONITOR mode, the I/O bit status of bits in the program will be displayed. MONITOR…
-
Page 118: Entering Or Editing Programs
MONITOR PROGRAM The same procedure is used to either input a program for the first time or to change a program that already exists. In either case, the current contents of Program Memory is overwritten. The program shown in the following diagram will be entered to demonstrate this operation.
-
Page 119
8. Input the third instruction (MOVE) and its operands. First input the instruc- tion by pressing the FUN Key and then the function code (21 in this case). To input the differentiated version of an instruction, press the NOT Key after the function code (FUN 2 1 NOT). -
Page 120
SHIFT Input the value of the operand from 0 to 65535. Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. 14. Restore the hexadecimal display. -
Page 121: Instruction Search
MONITOR PROGRAM The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3… 1. Press the CLR Key to bring up the initial display.
-
Page 122: Inserting And Deleting Instructions
Indicates the amount used by the user program in units of 0.1 Kwords. 4-3-11 Inserting and Deleting Instructions This operation is used to insert or delete instructions from the program. It is pos- sible in PROGRAM mode only. MONITOR PROGRAM…
-
Page 123: Checking The Program
SRCH 3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be displayed. Note Refer to 5-5 Programming Errors for details on check levels and the errors that may be detected when the program is checked.
-
Page 124: Bit, Digit, Word Monitor
MONITOR PROGRAM Program Read then Monitor When a program address is being displayed, the status of the bit or word in that address can be monitored by pressing the MONTR Key. 1, 2, 3… 1. Press the CLR Key to bring up the initial display.
-
Page 125
5. Press the SHIFT and CLR Keys to end monitoring altogether. SHIFT Note Press the SHIFT Key, CLR Key, and then CLR Key again to return to the initial Programming Console display with the multiple address monitoring state unchanged. Press the SHIFT Key and then the MONTR Key from the initial dis- play to return to the multiple address monitoring state. -
Page 126: Differentiation Monitor
Down Arrow Key. The symbols “D@” will appear. ↓ SHIFT 3. The buzzer will sound when the specified bit goes from off to on (for up-dif- ferentiation) or from on to off (for down-differentiation). Note The buzzer will not sound if it has been turned off.
-
Page 127: Three-Word Monitor
2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The ON/OFF status of the selected word’s 16 bits will be shown along the bottom of the display. A 1 indicates a bit is on, and a 0 indicates it is off. SHIFT MONTR…
-
Page 128: Signed Decimal Monitor
MONITOR PROGRAM 1, 2, 3… 1. Monitor the word that is to be used for decimal monitor with sign. During mul- tiple address monitoring, the leftmost word will be converted. (Multiple address monitor) 2. Press the SHIFT and TR Keys to display the leftmost word as signed deci- mal.
-
Page 129: Three-Word Data Modification
Programming Console Operations Section 4-3 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. 4-3-19 Three-word Data Modification This operation is used to change the contents of one or more of the 3 con- secutive words displayed in the Three-word Monitor operation.
-
Page 130: Hexadecimal, Bcd Data Modification
Programming Console Operations Section 4-3 Inputting a New SV This operation can be used to input a new SV constant, as well as to change an Constant SV from a constant to a word address designation and vice versa. The following examples show how to input a new SV constant and how to change the SV from a constant to an address.
-
Page 131: Binary Data Modification
A flashing cursor will appear over bit 15. The cursor indicates which bit can be changed. 3. Three sets of keys are used to move the cursor and change bit status: a) Use the Up and Down Arrow Keys to move the cursor to the left and right. ↓ ↓…
-
Page 132: Signed Decimal Data Modification
Programming Console Operations Section 4-3 b) Use the 1 and 0 Keys to change a bit’s status to on or off. The cursor will move one bit to the right after one of these keys is pressed. c) Use the SHIFT and SET and SHIFT and RESET Keys to force-set or force-reset a bit’s status.
-
Page 133: Unsigned Decimal Data Modification
(Unsigned decimal monitor) 2. Press the CHG Key to begin decimal data modification. 3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the decimal-without-sign monitoring display will return when the WRITE Key is pressed.
-
Page 134: Clear Force Set/Reset
Programming Console Operations Section 4-3 2. Press the SET Key to force the bit ON or press the RESET Key to force the bit OFF. The cursor in the lower left corner of the display indicates that the force set/ reset is in progress.
-
Page 135: Programming Example
(Multiple address monitor) 2. Press the TR Key to switch to ASCII display. The display will toggle between hexadecimal and ASCII displays each time the TR Key is pressed. Note 1.
-
Page 136
Programming Example Section 4-4 3. Clear the CPM1A’s memory by pressing the CLR, SET, NOT, RESET, and then the MONTR Key. Press the CLR Key several times if memory errors are displayed. RESET MONTR 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key. -
Page 137: Example Program
Section 4-4 4-4-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON.
-
Page 138: Programming Procedures
4-4-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 5-4 Programming Console Operation Errors for details on correcting the error. Refer to the relevant Support Software Operation Manual for details on errors that appear when operating the SSS or SYSMAC-CPT Support Software.
-
Page 139
WRITE 4. Input the SV for T001 (#0010 = 1.0 s). WRITE (3) Inputting the The following key operations are used to input the 2-second timer. Two-second Timer 1, 2, 3… 1. Input the normally open condition IR 20000. WRITE 2. -
Page 140
3. Input the OUT instruction IR 01000. (It isn’t necessary to input leading zeroes.) WRITE (6) Inputting the END(001) Input END(01). (The display shows three digits in the function code, but only the Instruction last two digits are input for CPM1A PCs.) WRITE… -
Page 141: Checking The Program
SRCH 3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be displayed. If no errors are found, the following display will appear.
-
Page 142: Test Runs And Error Processing
SECTION 5 Test Runs and Error Processing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. Initial System Checks and Test Run Procedure .
-
Page 143: Initial System Checks And Test Run Procedure
Section 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Points to check…
-
Page 144: Flash Memory Precautions
1, 2, 3… 1. If the power is turned off without changing the mode after having made chan- ges in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM 6600 through DM 6655), the contents of changes will not be written to flash memory.
-
Page 145: The Cpm1A Cycle
Section 5-2 The CPM1A Cycle The overall flow of CPM1A operation is as shown in the following flowchart. The CPM1A is initialized internally when the power is turned on. If no errors are detected, the overseeing processes, program execution, I/O refreshing, and Peripheral Device servicing are executed consecutively (cyclically).
-
Page 146: Self-Diagnosis Functions
An error has been detected in the PC Setup. Check flags AR 1300 to AR 1302, and correct as directed. AR 1300 ON: An incorrect setting was detected in the PC Setup (DM 6600 to DM 6614) when power was turned on.
-
Page 147: Identifying Errors
AR 1310 ON: A checksum error has occurred in read-only DM (DM 6144 to DM 6599). Check and correct the settings in the read-only DM area. AR 1311 ON: A checksum error has occurred in the PC Setup. Initialize all of the PC Setup and reinput.
-
Page 148: Programming Console Operation Errors
3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to SR 25300 to SR 25307. 4. The FALS number and time of occurrence will be recorded in the PC’s error log area if a Memory Cassette with a clock (RTC) is used.
-
Page 149
Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only. -
Page 150: Troubleshooting Flowcharts
Troubleshooting Flowcharts Section 5-6 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Error PWR indicator lit? Check power supply. (See page 128.) Operation stopped. Check for fatal errors. RUN indicator lit? (See page 129.) ERR/ALM indicator Check for non-fatal errors.
-
Page 151
Is PWR indicator lit? Replace the CPU Unit. Note The PWR indicator will go out when there is a short circuit in the external power supply or an overload, only in the CPM1A-10CDR-j and CPM1A-20CDR-j CPU Units. In CPM1A-30CDR-j and CPM1A-40CDR-j… -
Page 152
Fatal Error Check RUN indicator not lit. Is the ERR/ALM indicator lit? Determine the cause Is PC mode displayed of the error with a on Peripheral Device? Peripheral Device. Is PC mode displayed Turn the power on Peripheral Device? supply OFF, and then ON again. -
Page 153
Troubleshooting Flowcharts Section 5-6 Non-fatal Error Check ERR/ALM indicator flashing. Determine the cause of the error with a Peripheral Device. Identify the error, eliminate its Is a non-fatal error indicated? cause, and clear the error. Flashing Is the ERR/ALM indi-… -
Page 154
Troubleshooting Flowcharts Section 5-6 I/O Check The I/O check flowchart is based on the following ladder diagram section. (LS1) (LS2) 00002 00003 01003 SOL1 01003 SOL1 malfunction. Malfunction of SOL1 Is the IR 01003 out- put indicator operat- ing normally? Check the voltage at the Wire correctly. -
Page 155
00003 terminals. screws loose? Operation O.K.? Operation O.K.? Is input wiring correct? Check operation by using a dummy input signal to turn the input ON and OFF. Wire correctly. Tighten the terminal screws Operation O.K.? Replace the CPU Replace the CPU Return to “start.”… -
Page 156
Consider using a temperature fan or cooler. below 55°C? Is the ambient Consider using a temperature above heater. 0°C? Is the ambient humidity Consider using an between 10% and air conditioner. 90%? Install surge pro- tectors or other Is noise being noise-reducing… -
Page 157
AR 1308 ON? errors, and clear the error. Check the error indicated by AR 1310 to Turned ON during the flag that is ON, correct set- AR 1312 ON? startup? tings as required, and write data to the flash memory. -
Page 158: Maintenance Inspections
The standard period for maintenance checks is 6 months to 1 year, but depend- ing on the environment checks may need to be more regular. If the criteria are not met, adjust to within the specified ranges.
-
Page 159: Handling Precautions
Note Before restarting operation, transfer the contents of the DM and HR areas to the CPU Unit that was changed and then start operation. • If a Unit is found to be faulty and is replaced, check the Unit again to ensure there is no error.
-
Page 160
SECTION 6 Expansion Memory Unit This section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and pro- cedures to properly use the Unit. Overview …………. . . -
Page 161: Expansion Memory Unit
• Do not attempt to upload or download data between different types of PC. Do- ing so may result in malfunction. • Do not download when the PC is in RUN or MONITOR mode. If downloading is performed when the PC is running, it will automatically switch to PROGRAM mode and operation will stop.
-
Page 162: Specifications And Nomenclature
DM 6144 to DM 6655 to EEPROM. Indicator DOWNLOAD to PLC Button UPLOAD Button Reads only PC user program to EEPROM. UPLOAD + DM Button UPLOAD Button Note The “PLC” in the “DOWNLOAD TO PLC” Button indicates PCs (Programmable Controllers).
-
Page 163: Handling
1, 2, 3… 1. Lift up the lock lever. 2. Straighten the pins on the EEPROM, line up with the socket and lower into the socket, as shown in the following diagram. If the EEPROM is loose, place it in the center of the socket.
-
Page 164: Pc Connections
CQM1H Pin 5: ON (see note) Pin 7: ON Note If pin 1 on the CPM2C or pin 5 on the CQM1H is OFF, connection is still possible if the peripheral port is set to the defaults. Peripheral Port The peripheral port must be set to the default communications settings shown Communications below.
-
Page 165: Uploading Programs
EEPROM. DM6144 to 6655 Not affected. Note Use a Phillips screwdriver or other tool with a diameter of 3.0 mm max. and a blade length of 10 mm min. to press the upload button. 3.0 dia. max. 10 mm min.
-
Page 166: Downloading Programs
See the note above. Remove the Expansion Memory Unit from the PC. 6-3-4 Downloading Programs Ladder programs and the contents of data memory can be downloaded from the EEPROM to the PC using the procedure given below. When downloading, note the following points.
-
Page 167
Section Caution If the PC is in RUN or MONITOR mode when downloading is started, it will auto- matically switch to PROGRAM mode and operation will stop. Confirm that no adverse effects will occur to the system before downloading. Not doing so may result in unexpected operation. -
Page 168
PC’s peripheral port. before connecting the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is Note If the indicator is not lit at all, lit red or lit green. blinks red, downloading will not be See the note on possible. -
Page 169: A Standard Models
CPU Units V1 Units Model number Description Input Output Power points points supply Relay Transistor outputs outputs Sinking Sourcing CPU Units with 6 points 4 points CPM1A- CPM1A- CPM1A- 10 I/O points 10CDR-A-V1 10CDT-A-V1 10CDT1-A-V1 CPM1A- CPM1A- CPM1A- 10CDR-D-V1 10CDT-D-V1…
-
Page 170
Output signal ranges: 0 to 10 V, –10 to 10 V, or 4 to 20 mA, Resolution of 1/256 Input signal ranges: 0 to V 5, 0 to 10 V, 1 to 5 V, CPM1A-MAD11 –10 to 10 V, 0 to 20 mA, or 4 to 20 mA Output signal ranges: 0 to 10 V, 1 to 5 V, –10 to 10 V, 0 to 20 mA, or 4 to 20 mA… -
Page 171
RS-232C devices. RS-422 Adapter Converts data communications between CPM1-CIF11 the peripheral port and RS-422 devices. The CPM1-CIF01/CIF11 are used with the CPM1A, CPM1 and SRM1 only. Do not use them with a C200HS PC or other PC. -
Page 172
(3.5” disks (2HD) and CDROM) Expansion Memory Unit CPM1-EMU01-V1 Uploads the ladder program and DM 6144 to DM 6655 from the PC to the EEPROM and downloads the ladder program and DM 6144 to DM 6655 from the EEPROM to the PC. -
Page 173: B Dimensions
Appendix B Dimensions All dimensions are in millimeters. CPM1A-10CDR-j-V1/10CDT-j-V1/10CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Two, 4.5 dia. CPM1A-10CDR-j/10CDT-j/10CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 56±0.2 CPM1A-20CDR-j-V1/20CDT-j-V1/20CDT1-j-V1 CPU Unit…
-
Page 174
Dimensions Appendix B CPM1A-20CDR-j/20CDT-j/20CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 76±0.2 CPM1A-30CDR-j-V1/30CDT-j-V1/30CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Four, 4.5 dia. CPM1A-30CDR-j/30CDT-j/30CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 120±0.2… -
Page 175
Dimensions Appendix B CPM1A-40CDR-j-V1/40CDT-j-V1/40CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Four, 4.5 dia. CPM1A-40CDR-j/40CDT-j/40CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 140±0.2 CPM1A-20EDj Expansion I/O Unit Two, 4.5 dia. -
Page 176
Dimensions Appendix B CPM1A-8jjj Expansion I/O Unit Two, 4.5 dia. Analog I/O Unit CPM1A-MAD01 CPM1A-MAD11 76±0.2 Two, 4.5 dia. Two, 4.5 dia. CPM1A-TSjjj Temperature Sensor Unit 76±0.2 Two, 4.5 dia. -
Page 177
Dimensions Appendix B CPM1A-SRT21 CompoBus/S I/O Link Unit Two, 4.5 dia. CPM1A-DRT21DeviceNet I/O Link Unit 56±0.2 Two, 4.5 dia. -
Page 178
Dimensions Appendix B CPM1-CIF01 RS-232C Adapter 90 81 CPM1-CIF11 RS-422 Adapter 90 81… -
Page 179
Dimensions Appendix B Dimensions with Peripheral Devices Attached CPU Unit with DC Power Supply CPU Unit with AC Power Supply Approx. 90 Approx. 125 *110 mm for V1 Units. -
Page 180
AUTOEXEC.BAT An MS-DOS file containing commands automatically executed at startup. back-up A copy made of existing data to ensure that the data will not be lost even if the original data is corrupted or erased. basic instruction A fundamental instruction used in a ladder diagram. See advanced instruction. -
Page 181
Glossary bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit;… -
Page 182
Glossary Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. -
Page 183: Glossary
A unit of storage in memory that consists of four bits. digit designator An operand that is used to designate the digit or digits of a word to be used by an instruction. DIN track A rail designed to fit into grooves on various devices to allow the devices to be quickly and easily mounted to it.
-
Page 184
Processing that is performed in response to an event, e.g., an interrupt signal. exclusive NOR A logic operation whereby the result is true if both of the premises are true or both of the premises are false. In ladder-diagram programming, the premises are usually the ON/OFF states of bits, or the logical combination of such states, called execution conditions. -
Page 185
Each group of four binary bits is numerically equivalent to one hexadecimal digit. host computer A computer that is used to transfer data to or receive data from a PC in a Host Link system. The host computer is used for data management and overall sys- tem control. -
Page 186
I/O Units include Input Units and Output Units, each of which is available in a range of specifications. I/O word A word in the IR area that is allocated to a Unit in the PC System and is used to hold I/O status for that Unit. IBM PC/AT or compatible A computer that has similar architecture to, that is logically compatible with, and that can run software designed for an IBM PC/AT computer. -
Page 187
A type of programming where execution moves directly from one point in a pro- gram to another, without sequentially executing any instructions in between. jump number A definer used with a jump that defines the points from and to which a jump is to be made. ladder diagram (program) A form of program arising out of relay-based control systems that uses circuit- type diagrams to represent the logic flow of programming instructions. -
Page 188
The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer. Also, an output device connected to the PC is called a load. -
Page 189
NOT indicates an AND operation with the opposite of the actual status of the operand bit. The status of an input or output when a signal is said not to be present. The OFF state is generally represented by a low voltage or by non-conductivity, but can be defined as the opposite of either. -
Page 190
Glossary output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. -
Page 191
The portable form of Programming Device for a PC. Programming Device A Peripheral Device used to input a program into a PC or to alter or monitor a program already held in the PC. There are dedicated programming devices, such as Programming Consoles, and there are non-dedicated devices, such as a host computer. -
Page 192
However, the program or data can be read as many times as desired. rotate register A shift register in which the data moved out from one end is placed back into the shift register at the other end. RS-232C interface An industry standard for serial communications. -
Page 193
One or more words in which data is shifted a specified number of units to the right or left in bit, digit, or word units. In a rotate register, data shifted out one end is shifted back into the other end. In other shift registers, new data (either specified data, zero(s) or one(s)) is shifted into one end and the data shifted out at the other end is lost. -
Page 194
The process of moving data from one location to another within the PC, or between the PC and external devices. When data is transferred, generally a copy of the data is sent to the destination, i.e., the content of the source of the transfer is not changed. -
Page 195
A switch used to write-protect the contents of a storage device, e.g., a floppy disk. If the hole on the upper left of a floppy disk is open, the information on this floppy disk cannot be altered. -
Page 196
22 displaying, Programming Console, 112 processing, 122 binary data, modifying, Programming Console, 108 data, modifying, Programming Console, 106, 107, 108, 109, bit status, force-set/reset, Programming Console, 110 bits, searching, Programming Console, 98 data link, 16, 72 buzzer operation, Programming Console, 93 decimal data with sign. -
Page 197
Index ERR/ALM indicator I/O terminals, IR bit allocation, 5 flashing, 123 incremental mode, 9 lit, 123 indicators errors CompoBus/S LED indicators, 38 communications, 123 flashing ERR/ALM indicator, 123 error processing, 119 lit ERR/ALM indicator, 123 fatal, 123 PC status indicators, 33… -
Page 198
NPN current output, connecting, 58 program, programming example, 112 NPN open collector, connecting, 58 program capacity, 23 NT Link, 3 program memory, setting address and reading content, Pro- gramming Console, 94 PROGRAM mode, description, 86 Programmable Terminal, 4 one-shot mode, 8… -
Page 199: Index
58 status, monitoring, Programming Console, 101 weight SV, modifying, Programming Console, 106 CPU Unit, 22 syntax, checking the program, Programming Console, 100 Expansion I/O Unit, 22 Expansion Unit, 22 SYSMAC Support Software, 19 See also SSS wiring, 50…
-
Page 200: Revision History
Page 61: Minor changes to first paragraph. Page 66: Information added to introduction. Pages 73, 80, 81, 83, 86, 87, 88, 89, 90, 93, 95, 97, 98, 104: Minor changes to screen messages. Page 98: Note added to middle graphic.
-
Page 201
Revised content May 2001 Pages xiv, xvii, xviii, 2, 4, 6, 7, 10, 20, 21, 25, 26, 28, 29, 39 to 41, 43, 44, 47, 53, 55, 57, 125, 137, 141, 142, and 145: Changed made for V1 Units. Pages 3, 12, 31, 40, 137, and 143: Information on new Analog I/O Unit added (MAD11).
Download Programming manual of Omron CPM1A Controller, I/O Systems for Free or View it Online on All-Guides.com. This version of Omron CPM1A Manual compatible with such list of devices, as: CPM1A, CPM1 — PROGRAMMING, CQM1, SRM1 — PROGRAMMING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
PROGRAMMING
MANUAL
Programmable Controllers
SYSMAC
CQM1/CPM1/CPM1A/SRM1
Cat. No. W228-E1-08
Loading…
Cat.No. W317–E1–5
SYSMAC
CPM1A
Programmable Controllers
OPERATION MANUAL
CPM1A Programmable Controllers
Operation Manual
Revised February 2000
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
! WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
! Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient operation of the product.
1, 2, 3… 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 1997
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
v
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xi |
|
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
|
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
|
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
|
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xiii |
|
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xiii |
|
6 EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xvii |
|
SECTION 1 |
||
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
1 |
|
1-1 CPM1A Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2 |
|
1-2 |
System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
1-3 |
Revised Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
SECTION 2 |
||
Unit Specifications and Components . . . . . . . . . . . . . . . . |
19 |
|
2-1 |
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
2-2 |
Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
28 |
SECTION 3 |
||
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . |
35 |
|
3-1 |
Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
|
3-3 |
Installing the CPM1A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
39 |
3-4 |
Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
SECTION 4 |
||
Using Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . |
67 |
|
4-1 |
Support Software Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
4-2 Using a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
|
4-3 |
Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
4-4 |
Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
101 |
SECTION 5 |
||
Test Runs and Error Processing . . . . . . . . . . . . . . . . . . . . |
109 |
|
5-1 |
Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
110 |
5-2 |
The CPM1A Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
112 |
5-3 |
Self-diagnosis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
113 |
5-4 Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
115 |
|
5-5 |
Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
115 |
5-6 |
Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
5-7 |
Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
5-8 |
Handling Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
SECTION 6 |
||
Expansion Memory Unit . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
|
6-1 |
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
6-2 |
Specifications and Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
6-3 |
Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
130 |
vii
TABLE OF CONTENTS |
|
Appendices |
|
A Standard Models . . . . . . |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 |
B Dimensions . . . . . . . . . . . . |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 |
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
viii
About this Manual:
The CPM1A is a compact, high-speed Programmable Controller (PC) designed for control operations in systems requiring from 10 to 100 I/O points per PC. There are two manuals describing the setup and operation of the CPM1A: the CPM1A Operation Manual (this manual) and the CPM1/CPM1A/CPM2A/ CPM2C/SRM1(-V2) Programming Manual (W353).
This manual describes the system configuration and installation of the CPM1A and provides a basic explanation of operating procedures for the Programming Consoles. It also introduces the capabilities of the SYSMAC Support Software (SSS). Read this manual first to acquaint yourself with the CPM1A.
The CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) provides detailed descriptions of the CPM1A’s programming functions. The SYSMAC Support Software Operation Manuals: Basics and C-series PCs (W247 and W248) provide descriptions of SSS operations for the CPM1A and other SYSMAC C-series PCs. The SYSMAC-CPT Support Software Quick Start Guide (W332) and
User Manual (W333) provide descriptions of ladder diagram operations in the Windows environment. The
WS02-CXPC1-E CX-Programmer User Manual (W361) and the CX-Server User Manual (W362) provide details of operations for the WS02-CXPC1-E CX-Programmer.
Please read this manual carefully and be sure you understand the information provide before attempting to install and operate the CPM1A.
Section 1 gives a brief overview of the steps involved in developing of a CPM1A System, describes the possible system configurations, and describes the CPM1A’s special features and functions.
Section 2 provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units.
Section 3 describes how to install and wire a CPM1A PC.
Section 4 describes SSS capabilities, how to connect the Programming Console, and how to perform the various Programming Console operations.
Section 5 describes how to perform a test run and how to diagnose and correct the hardware and software errors that can occur during PC operation.
Section 6 describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and procedures to properly use the Unit.
Appendix A provides tables of CPM1A Units and related products.
Appendix B provides the dimensions of CPM1A Units.
! WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
ix
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PC) and related devices.
The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a PC system.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
|
2 |
General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
3 |
Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xii |
4 |
Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xiii |
5 |
Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xiii |
6 |
EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
xvii |
xi
Application Precautions |
5 |
1 Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
•Personnel in charge of installing FA systems.
•Personnel in charge of designing FA systems.
•Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation.
! WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
3Safety Precautions
!WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so
may result in electric shock.
! WARNING Do not touch any of the terminals or terminal blocks while the power is being supplied. Doing so may result in electric shock.
! WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so may result in malfunction, fire, or electric shock.
! WARNING Provide safety measures in external circuits (i.e., not in the Programmable Controller), including the following items, in order to ensure safety in the system if an abnormality occurs due to malfunction of the PC or another external factor affecting the PC operation. Not doing so may result in serious accidents.
•Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.
•The PC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
xii
Application Precautions |
5 |
•The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
•When the 24-VDC output (service power supply to the PC) is overloaded or short-circuited, the voltage may drop and result in the outputs being turned OFF. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
!WARNING When transferring programs to other nodes, or when making changes to I/O
memory, confirm the safety of the destination node before transfer. Not doing so may result in injury.
! Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time. Otherwise, the input signals may not be readable.
! Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the operation manual. The loose screws may result in burning or malfunction.
4Operating Environment Precautions
!Caution Do not operate the control system in the following places:
•Locations subject to direct sunlight.
•Locations subject to temperatures or humidity outside the range specified in the specifications.
•Locations subject to condensation as the result of severe changes in temperature.
•Locations subject to corrosive or flammable gases.
•Locations subject to dust (especially iron dust) or salts.
•Locations subject to exposure to water, oil, or chemicals.
•Locations subject to shock or vibration.
!Caution Take appropriate and sufficient countermeasures when installing systems in the
following locations:
•Locations subject to static electricity or other forms of noise.
•Locations subject to strong electromagnetic fields.
•Locations subject to possible exposure to radioactivity.
•Locations close to power supplies.
!Caution The operating environment of the PC System can have a large effect on the lon-
gevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PC System. Be sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.
5 Application Precautions
Observe the following precautions when using the PC System.
! WARNING Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury.
xiii
Application Precautions |
5 |
|
• |
Always connect to a class-3 ground (to 100 Ω or less) when installing the Units. |
|
Not connecting to a class-3 ground may result in electric shock. |
•Always turn off the power supply to the PC before attempting any of the following. Not turning off the power supply may result in malfunction or electric shock.
•Mounting or dismounting I/O Units, CPU Units, or any other Units.
•Assembling the Units.
•Connecting or wiring the cables.
•Connecting or disconnecting the connectors.
!Caution Failure to abide by the following precautions could lead to faulty operation of the
PC or the system, or could damage the PC or PC Units. Always heed these precautions.
•Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
•Construct a control circuit so that power supply for the I/O circuits does not come ON before power supply for the Unit. If power supply for the I/O circuits comes ON before power supply for the Unit, normal operation may be temporarily interrupted.
•If the operating mode is changed from RUN or MONITOR mode to PROGRAM mode, with the IOM Hold Bit ON, the output will hold the most recent status. In such a case, ensure that the external load does not exceed specifications. (If operation is stopped because of an operation error (including FALS instructions), the values in the internal memory of the CPU Unit will be saved, but the outputs will all turn OFF.)
•Always use the power supply voltage specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
•Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
•Install external breakers and take other safety measures against short-circuit- ing in external wiring. Insufficient safety measures against short-circuiting may result in burning.
•Do not apply voltages to the Input Units in excess of the rated input voltage. Excess voltages may result in burning.
•Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity. Excess voltage or loads may result in burning.
•Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning.
•Install the Unit properly as specified in the operation manual. Improper installation of the Unit may result in malfunction.
•Be sure that all the mounting screws, terminal screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
•Be sure to attach the supplied labels when wiring in order to prevent wiring cuttings from entering in the Unit.
•Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
•Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.
•Double-check all the wiring before turning on the power supply. Incorrect wiring may result in burning.
xiv
Application Precautions |
5 |
•Be sure that the terminal blocks, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
•Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation.
•Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
•Changing the operating mode of the PC.
•Force-setting/force-resetting any bit in memory.
•Changing the present value of any word or any set value in memory.
•Resume operation only after transferring to the new CPU Unit the contents of the DM and HR Areas required for resuming operation. Not doing so may result in an unexpected operation.
•Do not pull on the cables or bend the cables beyond their natural limit. Doing either of these may break the cables.
•Do not place objects on top of the cables. Doing so may break the cables.
•When replacing parts, be sure to confirm that the rating of a new part is correct. Not doing so may result in malfunction or burning.
•Before touching the Unit, be sure to first touch a grounded metallic object in order to discharge any static built-up. Not doing so may result in malfunction or damage.
•Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity.
•When using a thermocouple-input type Temperature Sensor Unit, observe the following precautions:
•Do not remove the cold junction compensator attached at the time of delivery. If the cold junction compensator is removed the Unit will not be able to measure temperatures correctly.
•Each of the input circuits is calibrated with the cold junction compensator attached to the Unit. If the Unit is used with the cold junction compensator from other Units, the Unit will not be able to measure temperatures correctly.
•Do not touch the cold junction compensator. Doing so may result in incorrect temperature measurement.
!Caution Always clear memory before beginning to program the CPM1A. Although
memory is cleared before the CPU Unit is shipped (except for bits with specific functions), AR 1314, which turns ON when the internal capacitor cannot back up memory, may have turned ON during shipment.
! Caution If the CPM1A will be turned off for periods exceeding the data backup period of the internal capacitor, design the system so that it will not be influenced if data in the DM, HR, and CNT areas is cleared when power is turned off.
! Caution Either switch the CPM1A to RUN or MONITOR mode, or turn off and on power to the CPM1A after changing from a Programming Device any data that is backed up in flash memory. This data includes the user program, read-only DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655).
xv
Application Precautions |
5 |
•The user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table.
Backup method |
Data |
Internal capacitor |
Read/write DM area (DM 0000 to DM 0999, DM 1022, and |
DM 1023) |
|
Error log area (DM 1000 to DM 1021) |
|
HR area (HR 00 to HR 19) |
|
Counter area (CNT 000 to CNT 127) |
|
Flash memory |
User program |
Read-only DM area (DM 6144 to DM 6599) |
|
PC Setup (DM 6600 to DM 6655) |
Note 1. The IR, TR, LR, and timer areas are not normally backed up when power is turned off and all contents will be cleared the next time power is turned on. (The PC Setup setting in DM 6601 can be used to back up this data. Refer to details on the PC Setup later in this manual for details.)
2.The bits in the AR and SR areas have special functions and are set according to these functions when power is turned on.
•The capacitor backup time depends on the ambient temperature, as shown in the following graph. The backup time, however, assumes that the capacitor is fully charged, which requires that power be supplied to the CPU Unit continuously for at least 15 minutes.
Backup time (days)
20
10
7
Ambient temperature (_C)
If the power remains off for a period exceeding the data backup period, AR 1314 will turn ON to indicate that the capacitor can no longer back up data and the data backed up by the capacitor will be cleared. AR 1314 will remain ON unless it is turned OFF using I/O monitor operations, using memory clear operations, or from the user program.
If desired, the PC Setup setting in DM 6604 can be set to create a fatal error and thus stop the system when AR 1314 goes ON.
•The data stored in flash memory will not be lost even if power remains off for a period exceeding the data backup period, because the data stored in flash memory will be read to the CPU Unit when the CPM1A is turned on.
•If the power is turned off without changing the mode from PROGRAM mode to RUN or MONITOR mode after having made changes in the data that is backed up in flash memory, the changes will not be written to flash memory. If the power is then left off for more than 20 days (at 25_C), the changes (i.e., the contents of the RAM) will be erased and the data values will become undefined.
xvi
Application Precautions |
5 |
6 EC Directives
6-1 Applicable Directives
•EMC Directives
•Low Voltage Directive
6-2 Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer.
EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN61131-2
EMI (Electromagnetic Interference): EN50081-2
(Radiated emission: 10-m regulations)
Low Voltage Directive
Always ensure that devices operating at voltages of 50 to 1,000 VAC and 75 to 1,500 VDC meet the required safety standards for the PC (EN61131-2).
6-3 Conformance to EC Directives
The CPM1A PCs (transistor output models) comply with EC Directives. Relay output models do not conform to the EC Directives. To ensure that the machine or device in which the CPM1A PC is used complies with EC directives, the PC must be installed as follows:
1, 2, 3… 1. The CPM1A PC must be installed within a control panel.
2.Reinforced insulation or double insulation must be used for the DC power supplies used for the communications and I/O power supplies.
3.CPM1A PCs complying with EC Directives also conform to the Common Emission Standard (EN50081-2). Radiated emission characteristics (10-m regulations) may vary depending on the configuration of the control panel used, other devices connected to the control panel, wiring, and other conditions. You must therefore confirm that the overall machine or equipment complies with EC Directives.
4.The CPM1A with relay output does not conform to the EC Directives. For devices for use in the EC, use the CPM1, which meets the CE marking requirements. Further information is available at any of the OMRON offices or OMRON sales representatives listed on the inside back cover of this manual.
6-4 CPM1A-MAD01 Conformance to EMC Directives
Immunity testing conditions when using the current I/O of the CPM1A-MAD01 are as follows.
•Total accuracy: +10%/-1%
•Insert the following core in each line as shown below.
xvii
Application Precautions |
5 |
Recommended core: 2643-002402
Manufacturer: Fair Rite Products Corp.
xviii
SECTION 1
Introduction
This section describes the CPM1A’s special features and functions and shows the possible system configurations. Refer to the Programming Manual (W353) for details on programming actual operation.
1-1 |
CPM1A Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2 |
|
1-1-1 |
CPM1A Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2 |
|
1-1-2 I/O Terminal and IR Bit Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
4 |
||
1-1-3 |
CPM1A Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|
1-2 |
System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
|
1-2-1 CPU Unit and Expansion I/O Unit Configuration . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
||
1-2-2 CPU Unit and Expansion Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
10 |
||
1-2-3 |
Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
1-2-4 One-to-one PC Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
||
1-2-5 One-to-one NT Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
||
1-2-6 CompoBus/S I/O Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
||
1-2-7 |
Peripheral Device Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
1-3 |
Revised Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
1
CPM1A Features and Functions |
Section 1-1 |
|
1-1 CPM1A Features and Functions
1-1-1 CPM1A Features
One-piece Construction The CPM1A CPU Units feature a one-piece construction including 10, 20, 30, or 40 built-in I/O terminals. The following three model groups are available: relay output models, sink-type transistor output models, and source-type transistor output models.
CPM1A-10CDR-j/10CDT-D/10CDT1-D CPM1A-20CDR-j/20CDT-D/20CDT1-D (10 I/O terminals) (20 I/O terminals)
CPM1A-30CDR-j/30CDT-D/30CDT1-D CPM1A-40CDR-j/40CDT-D/40CDT1-D
(30 I/O terminals) (40 I/O terminals)
Extra I/O Capacity |
Up to three Expansion I/O Units can be connected to a CPM1A-30CDR-j/ |
30CDT-D/30CDT1-D or CPM1A-40CDR-j/40CDT-D/40CDT1-D CPU Unit to |
|
add an extra 8 or 20 I/O points for each, for a maximum of up to 100 I/O points. |
|
Input Filter Function |
The CPM1A is equipped with a filter function to prevent incorrect operation |
caused by chatter or noise in the input signal. The user can select an input time |
|
constant of 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. |
|
Low-maintenance Design |
Flash memory provides memory backup without a battery. |
Input Interrupts |
The CPM1A-10CDR-j/10CDT-D/10CDT1-D CPU Units can handle 2 interrupt |
inputs; the CPM1A-20CDR-j/20CDT-D/20CDT1-D, CPM1A-30CDR-j/ |
|
30CDT-D/30CDT1-D, and CPM1A-40CDR-j/40CDT-D/40CDT1-D CPU Units |
|
can handle 4 interrupt inputs. In addition to normal input interrupts, the CPM1A |
|
has a counter mode that counts high-speed input signals and triggers interrupts |
|
at fixed count multiples. |
|
Quick-response Inputs |
Quick-response inputs can detect input signals with a pulse width as short as |
0.2 ms regardless of their timing during the PC cycle. Quick-response inputs |
|
and interrupt inputs use the same input terminals. |
|
Interval Timer |
CPM1A PCs have a high-speed interval timer which can be set from 0.5 ms to |
319,968 ms. The timer can be set to trigger a single interrupt (one-shot mode) or |
|
repeat scheduled interrupts (scheduled interrupt mode). |
|
High-speed Counter |
CPM1A PCs have a high-speed counter that can be used in incremental mode |
or up/down mode. The high-speed counter can be combined with input inter- |
|
rupts to perform target value control or zone comparison control that isn’t |
|
affected by the PC’s cycle time. |
|
Pulse Output Function |
The CPM1A transistor output models have an output function capable of output- |
ting a pulse of 20 Hz to 2 kHz (single-phase output). |
|
Analog Setting Function |
The CPM1A PCs have 2 analog volume controls that can be used to make |
manual analog settings. |
2
CPM1A Features and Functions |
Section 1-1 |
|
Analog I/O Units
Temperature Sensor
Units
Host Link Communications
One-to-one PC Link
Up to 3 Analog I/O Units can be connected to provide analog inputs and outputs. Each Unit provides 2 analog inputs and 1 analog output, so a maximum of 6 analog inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O Units.
The analog input range can be set to 0 to 10 VDC, 1 to 5 VDC, or 4 to 20 mA with a resolution of 1/256. (The open-circuit detection function can be used with the 1 to 5 VDC and 4 to 20 mA settings.)
The analog output range can be set to 0 to 10 VDC, –10 to 10 VDC, or 4 to 20 mA with a resolution of 1/256.
A Temperature Sensor Unit can be connected to provide up to 6 inputs for temperature input from sensors, such as thermocouples or platinum resistance thermometers.
The CPM1A PCs are compatible with the Host Link, which allows communications with personal computers. The CPM1A using the Host Link can also communicate with Programmable Terminal using host link commands.
An RS-232C Adapter is used for 1:1 communications and an RS-422 Adapter is used for 1:N communications.
A data link can be created with a data area in another CPM1A, CQM1, CPM1, SRM1 or C200HS or C200HX/HE/HG PC. An RS-232C Adapter is used to make the 1:1 connection.
NT Link Communications
CompoBus/S I/O Link
Units
High-speed operations can be achieved by providing a direct access by connecting the CPM1A to the OMRON Programmable Terminal through the NT Link Interface. An RS-232C Adapter is used for this connection.
Up to 3 CompoBus/S I/O Link Units can be connected to make the CPM1A a Slave Device in a CompoBus/S Network. The I/O Link Unit has 8 input bits (internal) and 8 output bits (internal).
The CompoBus/S Network provides distributed CPU control based on a “PC + compact PC” configuration, which is an improvement on the earlier distributed I/O control based on a “PC + remote I/O” configuration. The distributed CPU control makes equipment modular, so designs can be standardized, special needs can be addressed, and modules can be replaced easily in the event of a breakdown.
CompoBus/S Master Unit
Master PC (or SRM1 CompoBus/S Master Control Unit)
CPM1A (Slave) CompoBus/S I/O Link Unit
CompoBus/S
Distributed CPU control
Standard Peripheral Devices |
The CPM1A uses the same Programming Consoles and SYSMAC Support |
Software (SSS) as the C200H/HS, C200HX/HE/HG, CPM1, SRM1, and CQM1 |
|
PCs. |
|
Programming is Possible |
Programming operation is possible through the PT screen by using an OMRON |
Using the PT |
PT that has a built-in Programming Console function. |
3
CPM1A Features and Functions |
Section 1-1 |
|
Expansion Memory Unit The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for smallsize or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory is possible with PLCs.
EEPROM
SYSMAC
1-1-2 I/O Terminal and IR Bit Allocation
The following table shows which IR bits are allocated to the I/O terminals on the
CPM1A’s CPU Units and Expansion I/O Unit.
CPU Units
Number of I/O terminals on |
10 |
20 |
30 |
40 |
||||||
the CPU Unit |
||||||||||
Power supply |
AC |
DC |
AC |
DC |
AC |
DC |
AC |
DC |
||
Model |
Relay output |
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
|
number |
10CDR-A |
10CDR-D |
20CDR-A |
20CDR-D |
30CDR-A |
30CDR-D |
40CDR-A |
40CDR-D |
||
Tran- |
Sink |
— |
CPM1A- |
— |
CPM1A- |
— |
CPM1A- |
— |
CPM1A- |
|
sistor |
type |
10CDT-D |
20CDT-D |
30CDT-D |
40CDT-D |
|||||
output |
||||||||||
Source |
— |
CPM1A- |
— |
CPM1A- |
— |
CPM1A- |
— |
CPM1A- |
||
type |
10CDT1-D |
20CDT1-D |
30CDT1-D |
40CDT1-D |
||||||
CPU Unit |
Inputs |
6 points: |
12 points: |
18 points: |
24 points: |
|||||
terminals |
00000 to 00005 |
00000 to 00011 |
00000 to 00011 |
00000 to 00011 |
||||||
00100 to 00105 |
00100 to 00111 |
|||||||||
Outputs |
4 points: |
8 points: |
12 points: |
16 points: |
||||||
01000 to 01003 |
01000 to 01007 |
01000 to 01007 |
01000 to 01007 |
|||||||
01100 to 01103 |
01100 to 01107 |
|||||||||
Expansion I/O Units
Unit |
I/O |
Relay output |
Transistor output |
||
Sink type |
Source type |
||||
20 I/O |
12 inputs |
CPM1A-20EDR |
CPM1A-20EDT |
CPM1A-20EDT1 |
|
points |
8 outputs |
CPM1A-20EDR1 |
|||
8 inputs |
8 inputs |
CPM1A-8ED |
|||
8 outputs |
8 outputs |
CPM1A-8ER |
CPM1A-8ET |
CPM1A-8ET1 |
4
CPM1A Features and Functions |
Section 1-1 |
|
1-1-3 CPM1A Functions
Analog Setting Function CPM1A PCs have 2 variable-resistor adjustment knobs used to control analog timer and counter settings manually. When one of the adjustments is turned, the content of the corresponding IR word is set automatically between 0 and 200 (BCD).
Turn the adjustment knob with a Phillips screwdriver.
Analog adjustment 0
Analog adjustment 1
24 VDC 0.2 A OUT PUT
The following table shows which IR words are allocated to the analog adjustments on the CPM1A’s CPU Unit.
Control |
Corresponding IR word |
Setting range (BCD) |
|
Analog adjustment 0 |
IR 250 |
0000 to 0200 |
|
Analog adjustment 1 |
IR 251 |
||
Input Filter Function |
The input time constant for the CPM1A’s external inputs can be set to 1, 2, 4, 8, |
||
16, 32, 64, or 128 ms. Increasing the input time constant can reduce the effects |
|||
of chatter or noise in the input signal. |
Input from an input device such as a limit switch
Input bit status
t |
t Input time constant |
|||
With the CPM1A, actual response time for each set input time constant for word 000 is different from that for word 001 or later.
Set value |
Word 000 |
Word 001 or later |
1 ms |
1 to 1.5 ms |
0.1 to 0.3 ms |
2 ms |
2 to 2.5 ms |
0.7 to 1.5 ms |
4 ms |
4 to 4.5 ms |
1.5 to 2.5 ms |
8 ms |
8 to 8.5 ms |
3 to 4.5 ms |
16 ms |
16 to 16.5 ms |
6 to 9 ms |
32 ms |
32 to 32.5 ms |
12 to 18 ms |
64 ms |
64 to 64.5 ms |
24 to 35 ms |
128 ms |
128 to 128.5 ms |
50 to 70 ms |
The input response time of the CPM1A is obtained with the following:
2 ms max. (hardware performance) + input time constant (see above table) + cycle time
5
CPM1A Features and Functions |
Section 1-1 |
||
Input Interrupts |
The CPM1A-10CDR-j/10CDT-D/10CDT1-D PCs have 2 interrupt input termi- |
||
nals and the CPM1A-20CDR-j/20CDT-D/20CDT1-D, CPM1A-30CDR-j/ |
|||
30CDT-D/30CDT1-D, and CPM1A-40CDR-j/40CDT-D/40CDT1-D PCs have |
|||
4 interrupt input terminals. There are two modes for input interrupts: input inter- |
|||
rupt mode and counter mode. |
|||
1, 2, 3… |
1. When an interrupt occurs in Input Interrupt Mode, the main program is inter- |
||
rupted and the interrupt program is executed immediately, regardless of the |
|||
cycle time. |
2.In Counter Mode, external input signals are counted at high speed (up to 1 kHz) and an interrupt is generated each time the count reaches the set value. When an interrupt occurs, the main program is interrupted and the interrupt program is executed. The set value can be set from 0 to 65,535.
The following diagram shows the program execution when an interrupt occurs.
Main program
MOV |
Input interrupt |
ADD |
Interrupt program |
SBN00 |
MOV
END |
RET |
|||||||||||||
PC model |
Input bits |
Response time |
CPM1A-10CDR-j/10CDT-D/ |
IR 00003 to IR 00004 |
0.3 ms |
10CDT1-D |
(1 kHz in Counter Mode) |
|
CPM1A-20CDR-j/20CDT-D/ |
IR 00003 to IR 00006 |
|
20CDT1-D/30CDR-j/ |
||
30CDT-D/30CDT1-D/ |
||
40CDR-j/40CDT-D/ |
||
40CDT1-D |
Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006 can be used as normal input terminals.
! Caution Although IORF(97) can be used in interrupt subroutines, you must be careful of the interval between IORF(97) executions. If IORF(97) is executed too frequently, a fatal system error may occur (FALS 9F), stopping operation. The interval between executions of IORF(97) should be at least 1.3 ms + total execution time of the interrupt subroutine.
6
CPM1A Features and Functions |
Section 1-1 |
|
Quick-response Inputs
Interval Timer Function
(Scheduled Interrupts)
The CPM1A-10CDR-j/10CDT-D/10CDT1-D PCs have 2 quick-response input terminals and the CPM1A-20CDR-j/20CDT-D/20CDT1-D, CPM1A- 30CDR-j/30CDT-D/30CDT1-D and CPM1A-40CDR-j/40CDT-D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used for quick-response inputs and interrupt inputs.)
Quick-response inputs have an internal buffer, so input signals shorter than one cycle can be detected.
Overseeing |
Program |
I/O |
Overseeing |
Program |
I/O |
||
processes |
execution |
refreshing |
processes |
execution |
refreshing |
||
Input signal
(00003)
IR 00003
One cycle
PC model |
Input bits |
Min. input pulse width |
CPM1A-10CDR-j/10CDT-D/ |
IR 00003 to IR 00004 |
0.2 ms |
10CDT1-D |
||
CPM1A-20CDR-j/20CDT-D/ |
IR 00003 to IR 00006 |
|
20CDT1-D/30CDR-j/ |
||
30CDT-D/30CDT1-D/ |
||
40CDR-j/40CDT-D/ |
||
40CDT1-D |
CPM1A PCs are equipped with an interval timer which can be set from 0.5 ms to 319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt (one-shot mode) or to trigger scheduled interrupts (scheduled interrupt mode).
Main program
MOV |
Interval timer time-out |
ADD
Interrupt program
SBN00
MOV
END |
RET |
|||||||||||||
Mode |
Function |
One-shot |
Generates a single interrupt the first time that the timer times |
out. |
|
Scheduled interrupt |
Generates an interrupt each time that the timer times out. |
Pulse Output Function |
Since the CPM1A with transistor output has a pulse output function capable of |
outputting a pulse of 20 Hz to 2kHz (single-phase output), a stepping motor can |
|
be controlled by the CPU Unit alone. |
7
CPM1A Features and Functions |
Section 1-1 |
|
Pulse output (single-phase output)
The pulse output can be set to either the continuous mode, under which the output can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215).
Stepping motor
Stepping motor
Control input
Motor controller
CW/CCW control output
High-speed Counter |
CPM1A PCs have a high-speed counter that can be used in incremental mode |
||||||||
or up/down mode. The high-speed counter can be combined with input inter- |
|||||||||
rupts to perform target value control or zone comparison control that isn’t |
|||||||||
affected by the PC’s cycle time. |
|||||||||
Count input |
|||||||||
Reset input |
|||||||||
00000 |
00001 |
00002 |
|||||||
Solenoid |
Sensor |
Rotary encoder |
|||||||
Motor controller
8
CPM1A Features and Functions |
Section 1-1 |
||||||
Mode |
Input functions |
Input method |
Count |
Count |
Control methods |
||
frequency |
range |
||||||
Up/Down |
00000: A-phase input |
Phase-difference, |
2.5 kHz |
–32767 |
Target value control: |
||
00001: B-phase input |
4× inputs |
to |
Up to 16 target values and interrupt |
||||
00002: Z-phase input |
32767 |
subroutine numbers can be |
|||||
registered. |
|||||||
Zone comparison control: |
|||||||
Incremental |
00000: Count input |
Individual inputs |
5.0 kHz |
0 |
|||
Up to 8 sets of upper limit values, |
|||||||
00001: See note. |
to |
||||||
lower limit values, and interrupt |
|||||||
00002: Reset input |
65535 |
||||||
subroutine numbers can be |
|||||||
registered. |
|||||||
Note In incremental mode, this input (00001) can be used as an regular input.
Expansion Unit Functions
Analog I/O Unit Functions (CPM1A-MAD01)
Two analog inputs: input range 0 to 10 V, 1 to 5 V, or 4 to 20 mA
One analog output: output range 0 to 10 V, –10 to 10 V, or 4 to 20 mA
Temperature Sensor Unit Functions
Thermocouple input (CPM1A-TS001/002; 2/4 input points):
K:–200° to 1,300° C (–300° to 2,300° F)
0.0° to 500.0° C (0.0° to 900.0° F)
J:–100° to 850° C (–100° to 1,500° F) 0.0° to 400.0° C (0.0° to 750.0° F)
Platinum resistance thermometer input (CPM1A-TS101/102; 2/4 input points):
Pt100: –200.0° to 650.0° C (–300.0° to 1,200.0° F)
JPt100: –200.0° to 650.0° C (–300.0° to 1,200.0° F)
CompoBus/S Slave Functions (CPM1A-SRT21)
Exchanges 8 input bits and 8 output bits of data with the Master Unit.
9
System Configuration |
Section 1-2 |
|
1-2 System Configuration
1-2-1 CPU Unit and Expansion I/O Unit Configuration
CPM1A CPU Units
10 I/O points CPM1A-10CDR-j CPM1A-10CDT-D CPM1A-10CDT1-D
Not possible to add Expansion I/O Units or Expansion Units.
20 I/O points CPM1A-20CDR-j CPM1A-20CDT-D CPM1A-20CDT1-D
Expansion I/O Units/Expansion Units
30 I/O points CPM1A-30CDR-j CPM1A-30CDT-D CPM1A-30CDT1-D
40 I/O points CPM1A-40CDR-j CPM1A-40CDT-D CPM1A-40CDT1-D
CPM1A CPU Units
Number of |
Inputs |
Outputs |
Power |
Model number |
||
I/O |
supply |
|||||
Relay output |
Transistor output |
|||||
terminals |
||||||
Sink type |
Source type |
|||||
10 |
6 points |
4 points |
AC |
CPM1A-10CDR-A |
— |
— |
DC |
CPM1A-10CDR-D |
CPM1A-10CDT-D |
CPM1A-10CDT1-D |
|||
20 |
12 points |
8 points |
AC |
CPM1A-20CDR-A |
— |
— |
DC |
CPM1A-20CDR-D |
CPM1A-20CDT-D |
CPM1A-20CDT1-D |
|||
30 |
18 points |
12 points |
AC |
CPM1A-30CDR-A |
— |
— |
DC |
CPM1A-30CDR-D |
CPM1A-30CDT-D |
CPM1A-30CDT1-D |
|||
40 |
24 points |
16 points |
AC |
CPM1A-40CDR-A |
— |
— |
DC |
CPM1A-40CDR-D |
CPM1A-40CDT-D |
CPM1A-40CDT1-D |
1-2-2 CPU Unit and Expansion Unit
Up to 3 Expansion I/O Units or Expansion Units can be connected to a CPU Unit with 30 or 40 I/O points.
10
System Configuration |
Section 1-2 |
|
There are three models of Expansion Units available: the Analog I/O Unit, CompoBus/S I/O Link Unit, and Temperature Sensor Units.
Expansion Connector
Expansion I/O Unit, Analog I/O Unit, CompoBus/S I/O Link Unit, or Temperature Sensor Unit)
Expansion I/O Connecting Cable
A PC with 100 I/O points (the maximum) can be assembled by connecting three
Expansion I/O Units.
CPM1A-40CDR-A |
× 1 Unit |
+ |
CPM1A-20EDR1 |
× 3 Units = 60 inputs, 40 outputs |
(24 inputs, 16 outputs) |
(12 inputs, 8 outputs) |
A PC with 6 analog inputs and 3 analog outputs (the maximum) can be assembled by connecting three Analog I/O Units.
A PC with up to 6 temperature inputs for input from thermocouples or platinum resistance thermometers can be assembled by connecting Temperature Sensor Units.
CompoBus/S I/O Link Units (Slave Units) can be connected to a CPU Unit. I/O data (8 inputs and 8 outputs) is transferred between the CPU Unit and the area allocated to the CompoBus/S Slave. (The I/O data exchanged with the Slave is internal data; there are no external input or output terminals.)
Note Different types of Expansion Units can be connected at the same time. For example, an Expansion I/O Unit, Analog I/O Unit, and CompoBus/S I/O Link Unit, or an Expansion I/O Unit, Analog I/O Unit, and Temperature Sensor Unit can be connected to the CPU Unit.
Expansion I/O Units
20-point I/O Unit |
8-point Input Unit |
8-point Output Unit |
Unit |
Max. number |
Inputs |
Outputs |
Model |
|
of Units |
|||||
20 I/O points |
3 Units max. |
24 VDC |
Relays |
CPM1A-20EDR1 |
|
(See note.) |
|||||
12 inputs |
24 VDC |
Sinking transistors |
CPM1A-20EDT |
||
8 outputs |
24 VDC |
Sourcing transistors |
CPM1A-20EDT1 |
||
8 inputs |
24 VDC |
— |
CPM1A-8ED |
||
8 outputs |
— |
Relays |
CPM1A-8ER |
||
— |
Sinking Transistors |
CPM1A-8ET |
|||
— |
Sourcing Transistors |
CPM1A-8ET1 |
11
System Configuration |
Section 1-2 |
||
Expansion Units |
|||
Analog I/O Unit |
Temperature Sensor Unit |
CompoBus/S I/O Link Unit |
Unit |
Max. number |
Inputs |
Outputs |
Model |
|||
of Units |
|||||||
Analog I/O Unit |
3 |
Units max. |
2 analog inputs |
1 analog output |
CPM1A-MAD01 |
||
2 analog inputs (2 words) |
|||||||
1 analog output (1 word) |
|||||||
Temperature |
Thermocouple |
3 |
Units max. |
2 inputs (K, J) |
— |
CPM1A-TS001 |
|
Sensor Unit |
inputs |
||||||
1 |
Unit max. |
4 inputs (K, J) |
CPM1A-TS002 |
||||
(See note.) |
|||||||
Platinum |
3 |
Units max. |
2 inputs (Pt100, JPt100) |
CPM1A-TS101 |
|||
resistance |
|||||||
thermometer |
|||||||
1 |
Unit max. |
4 inputs (Pt100, JPt100) |
CPM1A-TS102 |
||||
inputs |
|||||||
(See note.) |
|||||||
CompoBus/S I/O Link Unit |
3 |
Units max. |
8 bits |
8 bits |
CPM1A-SRT21 |
||
8 inputs and 8 outputs |
(Inputs from the Master.) |
(Outputs to the Master.) |
|||||
Note Only one CPM1A-TS002/TS102 Temperature Sensor Unit can be connected to the CPU Unit. If a CPM1A-TS002/102 is connected to the CPU Unit, only one additional Expansion Unit (other than a CPM1A-TS002/102) or one Expansion I/O Unit can be connected to the CPU Unit.
1-2-3 Host Link Communications
Host Link communications which allows up to 32 OMRON PCs to be controlled from a host computer. The computer-PC connections can be made connectors such as RS-232C and RS-422 Adapters.
One-to-one Communications The following diagram shows the possible methods for a 1:1 connection between a CPM1A and an IBM PC/AT or compatible computer.
RS-232C Adapter
CPM1A CPU Unit
IBM PC/AT or |
|
compatible |
RS-232C Cable |
CQM1-CIF02
12
System Configuration |
Section 1-2 |
|
Connecting to a |
The following diagram shows the possible methods for a connection between a |
|
Programmable Terminal |
CPM1A PC and an OMRON Programmable Terminal (a operator interface |
|
device). |
OMRON Programmable Terminal
RS-232C Adapter |
CPM1A CPU Unit |
||
RS-232C Cable |
|||
One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/AT or compatible computer.
IBM PC/AT or compatible |
||
RS-232C Cable |
RS-422 |
CPM1A CPU Units |
Adapters |
||
RS-422 Cable
3G2A9-AL004-E
Link Adapter
OMRON CPM1A PCs |
|
The maximum cable length of RS-422 should be 500 m. |
(32 PCs max.) |
13
System Configuration |
Section 1-2 |
|||
Adapters and Cables |
The following table lists some of the Adapters and Cables used in Host Link com- |
|||
munications. |
||||
Name |
Usage |
Model number |
||
RS-232C Adapter |
Converts to peripheral port-level |
CPM1-CIF01 |
||
communications. |
||||
RS-422 Adapter |
CPM1-CIF11 |
|||
Connecting Cables |
Used to connect IBM PC/AT or |
CQM1-CIF02 |
||
compatible computers. |
||||
(Cable length: 3.3 m) |
||||
Link Adapter |
Converts between the RS-232C and |
3G2A9-AL004-E |
||
RS-422 formats. |
1-2-4 One-to-one PC Link Communications
A data link can be created with a data area in another CPM1A, CQM1, CPM1,
CPM2A, CPM2C, SRM1(-V2) or C200HS PC or a C200HX/HE/HG PC. An
RS-232C Adapter must be used to make the 1:1 connection.
RS-232C Adapters CPM1A CPU Units
RS-232C Cable
CQM1 |
CPM1 + RS-232C Adapter |
C200HS/C200HX/HG/HE
Name |
Usage |
Model number |
RS-232C Adapter |
Converts to the Peripheral Port format. |
CPM1-CIF01 |
14
System Configuration |
Section 1-2 |
|
1-2-5 One-to-one NT Link Communications
Using the NT Link, the CPM1A PC can connected to the Programmable Terminal (NT Link Interface) through an RS-232C Adapter.
OMRON Programmable Terminal |
RS-232C |
CPM1A CPU Unit |
Adapter |
RS-232C Cable
WX2Z-200T (2 m)
WX2Z-500T (5 m)
Name |
Usage |
Model number |
RS-232C Adapter |
Converts to peripheral port-level |
CPM1-CIF01 |
communications. |
1-2-6 CompoBus/S I/O Link Connections
A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit.
From the standpoint of the CPM1A CPU Unit, the area allocated to the Compo-
Bus/S I/O Link Unit can be treated just like the area allocated to an Expansion I/O
Unit. The difference is that the bits are not actual I/O points, but I/O bits in the
Master Unit.
CompoBus/S Master Unit (or SRM1 PC)
SYSMAC CS1-series PC
CPM1A CPU Unit |
CompoBus/S I/O Link Unit |
(Slave) |
Cables
Use special flat cable or VCTF cable to connect the nodes in the CompoBus/S I/O Link. (Special flat cables and VCTF cables cannot be combined in the same system.)
Name |
Specifications |
Flat cable |
4-core flat cable, 0.75 mm2 |
VCTF cable |
2-core x 0.75 mm2 |
1-2-7 Peripheral Device Connections
CPM1A programs can be created or edited with a Programming Console or a personal computer running SYSMAC Support Software (SSS).
15
System Configuration |
Section 1-2 |
|
Programming Consoles A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be connected to the CPM1A as shown in the following diagram.
CPM1A CPU Unit
C200H-CN222/422
CQM1-PRO01-E C200H-PRO27-E
SYSMAC Support Software
and SYSMAC-CPT Support
Software
Name |
Model number |
|
CQM1 Programming Console |
CQM1-PRO01-E |
|
(The Connecting Cable is included.) |
||
C200H/HS and C200HX/HE/HG Programming Console |
C200H-PRO27-E |
|
C200H-series Connecting Cables |
Cable length: 2 m |
C200H-CN222 |
Cable length: 4 m |
C200H-CN422 |
An IBM PC/AT or compatible personal computer running SSS or the SYSMACCPT Support Software can be connected to the CPM1A as shown in the following diagram. Refer to 3-4-7 Host Link Connections for a diagram showing the standard wiring for the RS-232C cable.
Any version of the Support Software may be used. Refer to 4-1 Support Software Capabilities for further details on installing and using Support Software.
RS-232C Adapter
CPM1A CPU Unit
IBM PC/AT or compatible
RS-232C Cable
CQM1-CIF02
SSS,
SYSMAC-CPT
Name |
Usage |
Model number |
RS-232C Adapter |
Converts to Peripheral Port format level communications. |
CPM1-CIF01 |
Connecting Cable |
Used to connect IBM PC/AT or compatible computers. (Length: 3.3 m) |
CQM1-CIF02 |
SYSMAC Support Software |
For IBM PC/AT or compatible computers (3.5” disks, 2HD) |
C500-ZL3AT1-E |
SYSMAC-CPT Support |
For IBM PC/AT or compatible computers |
WS01-CPTB1-E |
Software |
(3.5” disks (2HD) and CDROM) |
16
Revised Specifications Section 1-3
1-3 |
Revised Specifications |
|||
The following table shows the changes that have been made in product specifi- |
||||
cations beginning with lots produced in January 1998 (December 1997 for some |
||||
models). |
||||
Item |
Previous specifications |
New specifications |
Relevant pages |
|
Input indicator operation |
The input indicators will |
The input indicators will |
Item 8., Input Indicators, on |
|
when an error occurs |
maintain the current status |
change with the status of |
page 29. |
|
and will not change with the |
the input signal when a |
|||
status of the input signal |
memory error, no END |
|||
when a memory error, no |
instruction error, or system |
|||
END instruction error, or |
error occurs. |
|||
system error occurs. |
||||
Memory holding operation |
If the power remains OFF |
If the power remains OFF |
Pages xiii to xvi under 5 |
|
of built-in capacitor |
for a period exceeding the |
for a period exceeding the |
Application Precautions. |
|
data backup period, the |
data backup period, |
Page 22 under 2-1-2 |
||
capacitor will not be able to |
AR 1314 will turn ON to |
|||
Characteristics. |
||||
back up data and the |
indicate that the capacitor |
|||
See also information on the |
||||
status of the data backed |
can no longer back up data |
|||
up by the capacitor |
and the data backed up by |
PC Setup in the |
||
(Read/write DM area, Error |
the capacitor (Read/write |
CPM1/CPM1A/CPM2A/CPM2 |
||
log area, HR area, and |
DM area, Error log area, |
C/SRM1(-V2) Programmable |
||
Counter area) will become |
HR area, and Counter |
Controllers Programming |
||
unstable. |
area) will be cleared. The |
Manual (W353). |
||
PC Setup setting in |
||||
DM 6604 can be set to |
||||
create a fatal error and thus |
||||
stop the system when |
||||
AR 1314 goes ON. |
||||
Online editing and changing |
If unsupported addresses |
If unsupported addresses |
4-1-2 CPM1A Restrictions and |
|
set values from the SSS |
are set in the program for |
are set in the program for |
Precautions |
|
operands or for set values |
operands or for set values |
|||
for timers or counters from |
for timers or counters from |
|||
the SSS during online |
the SSS during online |
|||
editing, the values will be |
editing, error messages will |
|||
accepted, but a memory |
be displayed and the |
|||
error will occur in |
values will not be accepted. |
|||
MONITOR or RUN mode. |
||||
Communications |
Communications are not |
Communications are |
See information on the PC |
|
parameters for the |
possible if unsupported |
possible using the following |
Setup in the |
|
peripheral port |
settings are made for the |
parameters if unsupported |
CPM1/CPM1A/CPM2A/CPM2 |
|
peripheral port’s |
settings are made for the |
C/SRM1(-V2) Programmable |
||
communications |
peripheral port’s |
Controllers Programming |
||
parameters. |
communications |
Manual (W353). |
||
parameters. |
||||
Mode: Host Link |
||||
Standard format |
||||
1 start bit |
||||
7-bit data |
||||
Even parity |
||||
2 stop bits |
||||
9,600 bps baud |
||||
Transmission delay: None |
||||
Unit number: 0 |
17
SECTION 2
Unit Specifications and Components
This section provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units.
2-1 |
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
|
2-1-1 |
General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
|
2-1-2 |
Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
2-1-3 |
I/O Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
2-1-4 |
Communications Adapter Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
27 |
|
2-2 |
Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
28 |
|
2-2-1 |
CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
28 |
|
2-2-2 Expansion I/O Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
||
2-2-3 Analog I/O Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
||
2-2-4 Temperature Sensor Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
||
2-2-5 CompoBus/S I/O Link Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
||
2-2-6 |
Communications Adapter Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
34 |
19
Specifications Section 2-1
2-1 |
Specifications |
|||||||
2-1-1 |
General Specifications |
|||||||
Item |
CPM1A-10CDR-j |
CPM1A-20CDR-j |
CPM1A-30CDR-j |
CPM1A-40CDR-j |
||||
CPM1A-10CDT-D |
CPM1A-20CDT-D |
CPM1A-30CDT-D |
CPM1A-40CDT-D |
|||||
CPM1A-10CDT1-D |
CPM1A-20CDT1-D |
CPM1A-30CDT1-D |
CPM1A-40CDT1-D |
|||||
Supply voltage |
AC type |
100 to 240 VAC, 50/60 Hz |
||||||
DC type |
24 VDC |
|||||||
Operating |
AC type |
85 to 264 VAC |
||||||
voltage range |
||||||||
DC type |
20.4 to 26.4 VDC |
|||||||
Power |
AC type |
30 VA max. |
60 VA max. |
|||||
consumption |
||||||||
DC type |
6 W max. |
20 W max. |
||||||
Inrush current |
30 A max. |
38 A max. |
||||||
External power |
Supply voltage |
24 VDC |
||||||
supply |
||||||||
(AC type only) |
Output capacity |
200 mA |
300 mA |
|||||
(see note) |
||||||||
Insulation resistance |
20 MΩ min. (at 500 VDC) between the external AC terminals and protective earth |
|||||||
terminals |
||||||||
Dielectric strength |
2,300 VAC 50/60 Hz for 1 min between the external AC and protective earth |
|||||||
terminals, leakage current: 10 mA max. |
||||||||
Noise immunity |
Conforms to IEC6100-4-4; 2 kV (power lines) |
|||||||
Vibration resistance |
10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z |
|||||||
directions for 80 minutes each |
||||||||
(Time coefficient; 8 minutes × |
coefficient factor 10 = total time 80 minutes) |
|||||||
Shock resistance |
147 m/s2 three times each in X, Y, and Z directions |
|||||||
Ambient temperature |
Operating: 0° to 55° C |
|||||||
Storage: –20° |
to 75° C |
|||||||
Humidity |
10% to 90% (with no condensation) |
|||||||
Atmosphere |
Must be free from corrosive gas |
|||||||
Terminal screw size |
M3 |
|||||||
Grounding |
Less than 100 W |
|||||||
Power interrupt time |
AC type: 10 ms min. |
|||||||
DC type: 2 ms min. |
||||||||
(A power interruption occurs if power falls below 85% of the rated voltage for longer |
||||||||
than the power interrupt time.) |
||||||||
CPU Unit |
AC type |
400 g max. |
500 g max. |
600 g max. |
700 g max. |
|||
weight |
||||||||
DC type |
300 g max. |
400 g max. |
500 g max. |
600 g max. |
||||
Expansion I/O Unit weight |
Units with 20 I/O points: |
300 g max. |
||||||
Units with 8 output points: |
250 g max. |
|||||||
Units with 8 input points: |
200 g max. |
|||||||
Expansion Unit weight |
Analog I/O Unit: |
150 g max. |
||||||
Temperature Sensor Units: 250 g max. |
||||||||
CompoBus/S I/O Link Unit:200 g max. |
Note Use the external power supply as the service power supply of input devices. The power supply cannot be used for driving output devices.
20
Specifications |
Section 2-1 |
||||||
2-1-2 |
Characteristics |
||||||
Item |
CPM1A-10CDR-j |
CPM1A-20CDR-j |
CPM1A-30CDR-j |
CPM1A-40CDR-j |
|||
CPM1A-10CDT-D |
CPM1A-20CDT-D |
CPM1A-30CDT-D |
CPM1A-40CDT-D |
||||
CPM1A-10CDT1-D |
CPM1A-20CDT1-D |
CPM1A-30CDT1-D |
CPM1A-40CDT1-D |
||||
Control method |
Stored program method |
||||||
I/O control method |
Cyclic scan with direct output; immediate refresh processing |
||||||
Programming language |
Ladder diagram |
||||||
Instruction length |
1 step per instruction, 1 to 5 words per instruction |
||||||
Types of instructions |
Basic instructions: |
14 |
|||||
Special instructions: |
77 types, 135 instructions |
||||||
Execution time |
Basic instructions: |
0.72 to 16.2 s |
|||||
Special instructions: 16.3 s (MOV instruction) |
|||||||
Program capacity |
2,048 words |
||||||
Max. I/O |
CPU Unit only |
10 points |
20 points |
30 points |
40 points |
||
capacity |
|||||||
With |
— |
— |
50, 70, or 90 points |
60, 80, or 100 points |
|||
Expansion I/O |
|||||||
Units |
|||||||
Input bits |
00000 to 00915 |
Words not used for input or output bits can |
|||||
be used for work bits. |
|||||||
Output bits |
01000 to 01915 |
||||||
Work bits |
512 bits: 20000 to 23115 (Words IR 200 to IR 231) |
||||||
Special bits (SR area) |
384 bits: 23200 to 25515 (Words IR 232 to IR 255) |
||||||
Temporary bits (TR area) |
8 bits (TR0 to TR7) |
||||||
Holding bits (HR area) |
320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19) |
||||||
Auxiliary bits (AR area) |
256 bits: AR 0000 to AR 1515 (Words AR 00 to AR 15) |
||||||
Link bits (LR area) |
256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15) |
||||||
Timers/Counters |
128 timers/counters (TIM/CNT 000 to TIM/CNT 127) |
||||||
100-ms timers: TIM 000 to TIM 127 |
|||||||
10-ms timers (high-speed counter): TIM 000 to TIM 127 (see note 1) |
|||||||
(the timer numbers used are the same as for the 100-ms timers) |
|||||||
Decrementing counters and reversible counters |
|||||||
Data memory |
Read/Write: 1,024 words (DM 0000 to DM 1023) |
||||||
Read-only: 512 words (DM 6144 to DM 6655) |
|||||||
Interrupt processing |
External interrupts: 2 |
External interrupts: 4 |
|||||
(see note 2) |
|||||||
Interval timer interrupts |
1 (0.5 to 319,968 ms in Scheduled Interrupt Mode or Single Interrupt Mode) |
||||||
Memory protection |
HR and read/write DM area contents; and counter values maintained during power |
||||||
interruptions. |
|||||||
Memory backup |
Flash memory: |
||||||
The program, read-only DM area, and PC Setup area are backed up without a battery. |
|||||||
Capacitor backup: |
|||||||
The read/write DM area, error log area, HR area, and counter values are backed up by a |
|||||||
capacitor for 20 days at 25_C. The capacitor backup time depends on the ambient |
|||||||
temperature. See the graph on the following page for details. |
|||||||
Self-diagnostic functions |
CPU Unit failure (watchdog timer), I/O bus error, and memory failure |
||||||
Program checks |
No END instruction, programming errors (continuously checked during operation) |
||||||
High-speed counter |
One high-speed counter: 5 kHz single-phase or 2.5 kHz two-phase (linear count method) |
||||||
Increment mode: 0 to 65,535 (16 bits) |
|||||||
Up/Down mode: –32,767 to 32,767 (16 bits) |
|||||||
Quick-response inputs |
The same inputs are used for quick-response inputs and external interrupt inputs. |
||||||
(Min. input pulse width: 0.2 ms) |
|||||||
Pulse output |
One point, 20 Hz to 2 kHz (single-phase output) |
||||||
Can preset the pulse rate (1 to 16,777,215). |
|||||||
Input time constant |
Can be set to 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. |
||||||
Analog controls |
2 controls, setting range: 0 to 200 BCD |
21
Specifications |
Section 2-1 |
|||
Note 1. Use TIM 000 to TIM 003 when creating a timer using the high-speed timer |
||||
instruction to perform interrupt processing. |
||||
2. The input interrupt response time is 0.3 ms max. |
||||
Memory Backup |
The user program and memory area data in the CPM1A are backed up either by |
|||
an internal capacitor or in flash memory as shown in the following table. |
||||
Backup method |
Data |
|||
Internal capacitor |
Read/write DM area (DM 0000 to DM 0999, DM 1022, and |
|||
DM 1023) |
||||
Error log area (DM 1000 to DM 1021) |
||||
HR area (HR 00 to HR 19) |
||||
Counter area (CNT 000 to CNT 127) |
||||
Flash memory |
User program |
|||
Read-only DM area (DM 6144 to DM 6599) |
||||
PC Setup (DM 6600 to DM 6655) |
Note 1. The IR, TR, LR, and timer areas are not normally backed up when power is turned off and all contents will be cleared the next time power is turned on. (The PC Setup setting in DM 6601 can be used to back up this data. Refer to details on the PC Setup later in this manual for details.)
2.The bits in the AR and SR areas have special functions and are set according to these functions when power is turned on.
The capacitor backup time depends on the ambient temperature, as shown in the following graph. The backup time, however, assumes that the capacitor is fully charged, which requires that power be supplied to the CPU Unit continuously for at least 15 minutes.
Backup time (days)
20
10
7
Ambient temperature (_C)
If the power remains off for a period exceeding the data backup period, AR 1314 will turn ON to indicate that the capacitor can no longer back up data and the data backed up by the capacitor will be cleared. AR 1314 will remain ON unless it is turned OFF using I/O monitor operations, using memory clear operations, or from the user program.
If desired, the PC Setup setting in DM 6604 can be set to create a fatal error and thus stop the system when AR 1314 goes ON.
The data stored in flash memory will not be lost even if power remains off for a period exceeding the data backup period, because the data stored in flash memory will be read to the CPU Unit when the CPM1A is turned on.
If the power is turned off without changing the mode from PROGRAM mode to RUN or MONITOR mode after having made changes in the data that is backed up in flash memory, the changes will not be written to flash memory. If the power is then left off for more than 20 days (at 25_C), the changes (i.e., the contents of the RAM) will be erased and the data values will become undefined.
22
Specifications |
Section 2-1 |
|
Either switch the CPM1A to RUN or MONITOR mode, or turn off and on power to the CPM1A after changing from a Programming Device any data that is backed up in flash memory. This data includes the user program, read-only DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655).
2-1-3 I/O Specifications
CPU Unit Input Specifications
Item |
Specification |
||||||||||
Input voltage |
24 VDC +10%/–15% |
||||||||||
Input impedance |
IN00000 to IN00002: 2 kΩ ; other inputs: 4.7 kΩ |
||||||||||
Input current |
IN00000 to IN00002: 12 mA typical; other inputs: 5 mA typical |
||||||||||
ON voltage |
14.4 VDC min. |
||||||||||
OFF voltage |
5.0 VDC max. |
||||||||||
ON delay |
1 to 128 ms max. Default: 8 ms (see note.) |
||||||||||
OFF delay |
1 to 128 ms max. Default: 8 ms (see note.) |
||||||||||
Circuit configuration |
IN |
Input |
|||||||||
4.7 kΩ |
LED |
||||||||||
IN (2 kΩ ) |
|||||||||||
820 Ω |
Internal |
||
Circuits |
|||
COM |
(510 Ω ) |
||
Note Figures in parentheses are for IN00000 to IN00002.
Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. When IN00000 through IN00002 are used as high-speed counter inputs, the delays are as shown in the following table.
Input |
Increment mode |
Differential phase mode |
IN00000 (A-phase) |
5 kHz |
2.5 kHz |
IN00001 (B-phase) |
Normal input |
|
IN00002 (Z-phase) |
ON: 100 µ s min.; OFF delay: 500 µ s min. |
The minimum delay is as follows.
Increment Mode (5 kHz Max.)
200 µ s min.
90 µ s min.
ON A phase
min.
23
Specifications |
Section 2-1 |
|||
Differential Phase Mode (2.5 kHz Max.) IN00000 (A phase), IN00001 (B |
||||
phase) |
||||
400 µ s min. |
||||
ON |
||||
Phase A |
||||
OFF |
||||
ON |
||||
Phase B |
||||
OFF |
T1 |
T2 T3 |
T4 |
|
T1 T2 T3 T4 : 90 µ s min.
IN00002 (Z phase)
100 µ s min.
ON Phase Z
OFF
500 µ s min.
When IN00003 through IN00006 are used as interrupt inputs, the delay is 0.3 ms max. The delay is measured from the time that the input goes ON until the interrupt subroutine is executed.
Expansion I/O Unit Input Specifications
Item |
Specification |
||||||||||
Input voltage |
24 VDC +10%/–15% |
||||||||||
Input impedance |
4.7 kΩ |
||||||||||
Input current |
5 mA typical |
||||||||||
ON voltage |
14.4 VDC min. |
||||||||||
OFF voltage |
5.0 VDC max. |
||||||||||
ON delay |
1 to 128 ms max. Default: 8 ms (see note.) |
||||||||||
OFF delay |
1 to 128 ms max. Default: 8 ms (see note.) |
||||||||||
Circuit configuration |
IN |
||||||||||
Input |
|||||||||||
LED |
|||||||||||
IN 4.7 kΩ |
|||||||||||
820 Ω |
Internal |
Circuits |
|
COM |
Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected.
! Caution Do not apply voltage in excess of the rated voltage to the input terminal. It may result in damage to the product or fire.
24
Specifications |
Section 2-1 |
||||||||||||||||||||
CPU Unit and Expansion I/O Unit Output Specifications |
|||||||||||||||||||||
Relay Output |
|||||||||||||||||||||
Item |
Specification |
||||||||||||||||||||
Max. switching capacity |
2 A, 250 VAC (cosφ = 1) |
||||||||||||||||||||
2 A, 24 VDC |
|||||||||||||||||||||
(4 A/common) |
|||||||||||||||||||||
Min. switching capacity |
10 mA, 5 VDC |
||||||||||||||||||||
Service life of relay |
Electrical: 150,000 operations (resistive load, 24 VDC) 100,000 operations (inductive |
||||||||||||||||||||
load, 220 VAC, cos φ =0.4) |
|||||||||||||||||||||
Mechanical: 10,000,000 operations |
|||||||||||||||||||||
ON delay |
15 ms max. |
||||||||||||||||||||
OFF delay |
15 ms max. |
||||||||||||||||||||
Circuit configuration |
Output |
OUT |
|||||||||||||||||||
LED |
|||||||||||||||||||||
Internal |
OUT |
||||||||||||||||||||
Circuits |
|||||||||||||||||||||
COM Maximum |
|||||||||||||||||||||
250 VAC: 2 A |
|||||||||||||||||||||
24 VDC: 2 A |
|||||||||||||||||||||
Note The service life of relay output contacts shown in the table assumes the worst conditions. The following graph shows the results of OMRON’s service life tests at a switching rate of 1,800 times/hour.
Life (x 104 )
500
300
200
100
50
30
20
10
5
3
2
120 VAC, resistive load
24 VDC, τ = 7 ms
120 VAC, cosφ = 0.4
240 VAC, cosφ = 0.4
24 VDC/240 VAC, resistive load
Switching rate: 1,800 times/hour
0.1 |
0.2 |
0.3 |
0.5 |
0.7 |
1 |
2 |
3 |
5 |
Contact current (A)
25
Specifications |
Section 2-1 |
||||||||||||||||||||||||||
Transistor Output (Sink Type) |
|||||||||||||||||||||||||||
Item |
Specification |
||||||||||||||||||||||||||
CPM1A-10CDT-D |
CPM1A-20CDT-D |
CPM1A-30CDT-D |
CPM1A-40CDT-D |
||||||||||||||||||||||||
/-20EDT |
|||||||||||||||||||||||||||
/-8ET |
|||||||||||||||||||||||||||
Max. switching capacity |
24 VDC +10%/ |
–15% |
, 0.3 A/point (see note) |
||||||||||||||||||||||||
0.9 A/Unit |
0.9 A/common |
0.9 A/common |
0.9 A/common |
||||||||||||||||||||||||
1.8 A/Unit |
2.7 A/Unit |
3.6 A/Unit |
|||||||||||||||||||||||||
Leakage current |
0.1 mA max. |
||||||||||||||||||||||||||
Residual voltage |
1.5 V max. |
||||||||||||||||||||||||||
ON delay |
0.1 ms max. |
||||||||||||||||||||||||||
OFF delay |
OUT01000/01001: |
0.2 ms max. (load current: 100 to 300 mA) |
|||||||||||||||||||||||||
0.5 ms max. (load current: 5 to 100 mA) |
|||||||||||||||||||||||||||
Other than OUT01000/01001: 1 ms max. (load current: 5 to 300 mA) |
|||||||||||||||||||||||||||
Fuse |
1.25 A/common (cannot be replaced by the user) |
||||||||||||||||||||||||||
Circuit configuration |
Output LED |
OUT |
|||||||||||||||||||||||||
Internal |
|||||||||||||||||||||||||||
OUT |
24 VDC |
||||||||||||||||||||||||||
Circuits |
COM (–) |
||||||||||||||||||||||||||
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. On the other hand, if the load current is above 0.2 A, the transistor may generate heat and components may be damaged.
Transistor Output (Source Type)
Item |
Specification |
||||||||||||||||||||||||
CPM1A- |
CPM1A- |
CPM1A- |
CPM1A- |
||||||||||||||||||||||
10CDT1-D |
20CDT1-D |
30CDT1-D |
40CDT1-D |
||||||||||||||||||||||
/-20EDT1 |
|||||||||||||||||||||||||
/-8ET1 |
|||||||||||||||||||||||||
Max. switching capacity |
24 VDC +10%/ |
–15% |
, 0.3 A/point (see note) |
||||||||||||||||||||||
0.9 A/Unit |
0.9 A/common |
0.9 A/common |
0.9 A/common |
||||||||||||||||||||||
1.8 A/Unit |
2.7 A/Unit |
3.6 A/Unit |
|||||||||||||||||||||||
Leakage current |
0.1 mA max. |
||||||||||||||||||||||||
Residual voltage |
1.5 V max. |
||||||||||||||||||||||||
ON delay |
0.1 ms max. |
||||||||||||||||||||||||
OFF delay |
OUT01000/01001: |
0.2 ms max. (load current: 100 to 300 mA) |
|||||||||||||||||||||||
0.5 ms max. (load current: 5 to 100 mA) |
|||||||||||||||||||||||||
Other than OUT01000/01001: 1 ms max. (load current: 5 to 300 mA) |
|||||||||||||||||||||||||
Fuse |
1.25 A/common (cannot be replaced by the user) |
||||||||||||||||||||||||
Circuit configuration |
Output LED |
||||||||||||||||||||||||
COM (+) |
|||||||||||||||||||||||||
Internal |
OUT |
24 VDC |
|||||||||||||||||||||||
Circuits |
|||||||||||||||||||||||||
OUT |
|||||||||||||||||||||||||
26
Specifications |
Section 2-1 |
|
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. On the other hand, if the load current is above 0.2 A, the transistor may generate heat and components may be damaged.
! Caution Do not apply voltage in excess of the maximum switching capacity to an output terminal. It may result in damage to the product or fire.
2-1-4 Communications Adapter Specifications
RS-232C Adapter Specifications
Item |
Specification |
|
Function |
Converts between the CMOS format (PC CPU Unit side) and the RS-232C format |
|
(peripheral device side). |
||
Insulation |
The RS-232C (peripheral device side) is isolated by a DC/DC convertor and photocoupler. |
|
Power supply |
Power is supplied from the PC CPU Unit. |
|
Power consumption |
0.3 A max. |
|
Baud rate |
38,400 bps max. |
|
Transmission distance |
Total length:15 m max. |
|
Vibration resistance |
10 to 57 Hz: 0.075-mm amplitude |
|
57 to 150 Hz: 9.8 m/s2 acceleration in X, Y, and Z directions for 80 minutes each |
||
(Time coefficient; 8 minutes × coefficient factor 10 = total time 80 minutes) |
||
Shock resistance |
147 m/s2 three times each in X, Y, and Z directions |
|
Ambient temperature |
Operating: 0° |
to 55° C |
Storage: –20° |
to 75° C |
|
Humidity |
10% to 90% (with no condensation) |
|
Atmosphere |
Must be free from corrosive gas |
|
Weight |
200 g max. |
RS-422 Adapter Specifications
Item |
Specification |
|
Function |
Converts between the CMOS format (PC CPU Unit side) and the RS-422 format (peripheral |
|
device side). |
||
Insulation |
The RS-422 (peripheral device side) is isolated by a DC/DC convertor and photocoupler. |
|
Power supply |
Power is supplied from the PC CPU Unit. |
|
Power consumption |
0.3 A max. |
|
Baud rate |
38,400 bps max. |
|
Transmission distance |
Total length: 500 m max. |
|
Vibration resistance |
10 to 57 Hz: 0.075-mm amplitude |
|
57 to 150 Hz: 9.8 m/s2 acceleration in X, Y, and Z directions for 80 minutes each |
||
(Time coefficient; 8 minutes × coefficient factor 10 = total time 80 minutes) |
||
Shock resistance |
147 m/s2 three times each in X, Y, and Z directions |
|
Ambient temperature |
Operating: 0° |
to 55° C |
Storage: –20° |
to 75° C |
|
Humidity |
10% to 90% (with no condensation) |
|
Atmosphere |
Must be free from corrosive gas |
|
Weight |
200 g max. |
27
Unit Components |
Section 2-2 |
|
2-2 Unit Components
2-2-1 CPU Unit Components
CPM1A-10CDR-j/10CDT-D/10CDT1-D: 10 I/O Terminals
2. Functional earth terminal |
3. Protective earth terminal |
|
(AC power supplies only) |
||
1. Power supply input terminals |
5. Input terminals |
10. Analog controls |
8. |
Input indicators |
11. Peripheral Port |
7. |
PC status indicators |
9. |
Output indicators |
4. Power supply output terminals |
6. Output terminals |
(AC power supplies only) |
CPM1A-20CDR-j/20CDT-D/20CDT1-D: 20 I/O Terminals
CPM1A-30CDR-j/30CDT-D/30CDT1-D: 30 I/O Terminals
12. Expansion I/O Unit connector
CPM1A-40CDR-j/40CDT-D/40CDT1-D: 40 I/O Terminals
12. Expansion I/O Unit connector
28
Unit Components |
Section 2-2 |
|
CPU Unit Component Descriptions
1, 2, 3… 1. Power Supply Input Terminals
Connect the power supply (100 to 240 VAC or 24 VDC) to these terminals.
2.Functional Earth Terminal ( )
Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock.
3.Protective Earth Terminal ( )
Be sure to ground this terminal to reduce the risk of electric shock.
4.Power Supply Output Terminals
CPM1A PCs are equipped with these 24-VDC power output terminals to supply power to input devices. (AC-type PCs only.)
5.Input Terminals
Connect the Unit to external input devices.
6.Output Terminals
Connect the Unit to external output devices.
7.PC Status Indicators
These indicators show the operating status of the PC, as shown in the following table.
Indicator |
Status |
Meaning |
|
PWR (green) |
ON |
Power is being supplied to the PC. |
|
OFF |
Power isn’t being supplied to the PC. |
||
RUN (green) |
ON |
The PC is operating in RUN or MONITOR mode. |
|
OFF |
The PC is in PROGRAM mode or a fatal error |
||
has occurred. |
|||
ERR/ALARM |
ON |
A fatal error has occurred. (PC operation stops.) |
|
(red) |
|||
Flashing |
A non-fatal error has occurred. (PC operation |
||
continues.) |
|||
OFF |
Indicates normal operation. |
||
COMM (orange) |
ON |
Data is being transferred via the Peripheral Port. |
|
OFF |
Data isn’t being transferred via the Peripheral |
||
Port. |
8.Input Indicators
These indicators are lit when the corresponding input terminal is ON. When a fatal error occurs, the input indicators change as follows:
Fatal error |
Input indicators |
CPU Unit error or I/O bus error |
Turn OFF. |
Memory error, no END instruction |
The indicators will change with the |
error, or system error |
status of the input signal, but input |
status will not be updated in memory. |
|
9.Output Indicators
These indicators are lit when the corresponding output terminal is ON.
10.Analog Controls
Setting these controls sets the contents of IR 250 and IR 251 from 0 to 200.
11.Peripheral Port
Connects the PC to a Peripheral Device, RS-232C Adapter, or RS-422 Adapter.
12.Expansion I/O Unit Connector
Connects the PC’s CPU Unit to an Expansion I/O Unit to add another 12 input points and 8 output points. Up to 3 Expansion I/O Units can be connected.
29
Unit Components |
Section 2-2 |
|
2-2-2 Expansion I/O Unit Components
Expansion I/O Unit with 20 I/O Terminals
1. Input terminals
3. Input indicators
6. Expansion connector
4. Output indicators
5. Expansion I/O Unit Connecting Cable
2. Output terminals
Expansion I/O Unit with 8 Input Terminals
1. |
Input terminals |
|
3. |
Input indicators |
|
6. |
Expansion connector |
|
5. Expansion I/O Unit Connecting Cable |
1. |
Input terminals |
Expansion I/O Unit with 8 Output Terminals
2. Output terminals
4. Output indicators
6. Expansion connector
2. Output terminals
5. Expansion I/O Unit Connecting Cable
1, 2, 3… 1. Input Terminals
Connects the Unit to external input devices.
2.Output Terminals
Connects the Unit to external output devices.
3.Input Indicators
The input indicators are lit when the corresponding input terminal is ON.
4.Output Indicators
The output indicators are lit when the corresponding output terminal is ON.
5.Expansion I/O Unit Connecting Cable
Connects the Expansion I/O Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit.
30
Unit Components |
Section 2-2 |
|
! Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity.
6.Expansion Connector
Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a CPU Unit.
2-2-3 Analog I/O Unit Components
3. Expansion connector
2. Expansion I/O Unit Connecting Cable
1. Analog I/O terminals
1, 2, 3… 1. Analog I/O Terminals
Connects the Unit to analog input devices and analog output devices.
2.Expansion I/O Unit Connecting Cable
Connects the Analog I/O Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit. The cable is connected to the Analog I/O Unit and cannot be removed.
!Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being
supplied in order to prevent any malfunction due to static electricity.
3.Expansion Connector
Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a CPU Unit.
2-2-4 Temperature Sensor Unit Components
3. Rotary switch |
|||||||
5. Expansion connector |
|||||||
4. Expansion |
1. Temperature input terminals |
||||||
1, 2, 3… |
1. Temperature Input Terminals |
||||||
Connect to a thermocouple or a platinum resistance thermometer. |
31
Unit Components |
Section 2-2 |
|
2.DIP Switch
Sets the temperature unit (° C or ° F), and the number of decimal places used.
ON
12
Number of decimal places used
OFF: Normal (0 or 1); ON: 2
Temperature unit
OFF: ° C; ON: ° F
3.Rotary Switch
Sets the temperature range. Set the range in accordance with the specifications of the temperature sensor used.
CPM1A-TS001/002
Set value |
Thermocouple |
Range (° C) |
Range (° F) |
0 |
K |
–200 to 1,300 |
–300 to 2,300 |
1 |
0.0 to 500.0 |
0.0 to 900.0 |
|
2 |
J |
–100 to 850 |
–100 to 1,500 |
3 |
0.0 to 400.0 |
0.0 to 750.0 |
|
4 to F |
— |
Setting not possible |
CPM1A-TS101/102
Set value |
Platinum resistance |
Range (° C) |
Range (° F) |
thermometer |
|||
0 |
Pt100 |
–200.0 to 650.0 |
–300.0 to 1,200.0 |
1 |
JPt100 |
–200.0 to 650.0 |
–300.0 to 1,200.0 |
2 to F |
— |
Setting not possible |
4.Expansion I/O Connecting Cable
Connects the Temperature Sensor Unit to the expansion connector on the PC’s CPU Unit, an Expansion I/O Unit, or another Expansion Unit. The cable is connected to the Temperature Sensor Unit and cannot be removed.
!Caution Do not touch the expansion I/O connecting cable while the power is being sup-
plied in order to prevent any malfunction due to static electricity.
5.Expansion Connector
Connects to an additional Expansion I/O Unit or another Expansion Unit.
32
Unit Components |
Section 2-2 |
|
2-2-5 CompoBus/S I/O Link Unit Components
2. |
DIP switch |
|
3. |
LED indicators |
|
5. |
Expansion connector |
|
4. Expansion I/O Unit Connecting Cable |
1. CompoBus/S terminals |
1, 2, 3… 1. CompoBus/S Terminals
Include the CompoBus/S communications data high/low terminal, communications power supply +/– terminals, and NC terminals. Power is supplied to the Unit internally, so the power supply terminals can be used as relay terminals.
2.DIP Switch
The DIP switch sets the Unit’s node address, sets the communications mode, and determines whether or not the outputs will be cleared in the event of a communications error.
NODE ADDRESS |
HOLD |
Pin(s) |
Function |
|||||||
1 |
2 |
4 8 |
DR |
1 to 4 |
These pins set the Unit’s node address using the DIP switch pins as |
|||||
(labeled |
binary digits. (1 = ON) |
|||||||||
ON |
1, 2, 4, |
0: 0000 |
1: 0001 |
2: 0010 |
3: 0011 |
|||||
and |
||||||||||
4: 0100 |
5: 0101 |
6: 0110 |
7: 0111 |
|||||||
SW1 |
8: 1000 |
9: 1001 |
10: 1010 |
11: 1011 |
||||||
12: 1100 |
13: 1101 |
14: 1110 |
15: 1111 |
|||||||
DR |
ON: Long-distance Communications Mode |
|||||||||
OFF: High-speed Communications Mode |
||||||||||
(See note.) |
||||||||||
HOLD |
ON: Retain outputs when a communications error occurs. |
|||||||||
OFF: Clear outputs when a communications error occurs. |
Note The Long-distance Communications Mode can be used only when connected to one of the following Master Units: C200HW-SRM21-V1, CQM1-SRM21-V1, or SRM1-C0j-V2.
3.LED Indicators
These indicators show the status of CompoBus/S communications.
Indicator |
Status |
Meaning |
|
COMM |
ON |
Communications in progress. |
|
(yellow) |
|||
OFF |
Communications error or stopped. |
||
ERR |
ON |
A communications error has occurred. |
|
(red) |
|||
OFF |
Indicates normal or no communications. |
||
4.Expansion I/O Unit Connecting Cable
Connects the CompoBus/S I/O Link Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit.
!Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being
supplied in order to prevent any malfunction due to static electricity.
5.Expansion Connector
Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a CPU Unit.
33
Unit Components |
Section 2-2 |
|
2-2-6 Communications Adapter Components
RS-232C Adapter
1. Mode Setting Switch
3. RS-232C port
RS-232C Port Pin Allocation
FG |
1 |
6 DCD |
|||||
SD |
2 |
||||||
7 DSR |
|||||||
RD |
3 |
||||||
8 DTR |
|||||||
RTS 4 |
|||||||
2. Connector |
9 SG |
||||||
CTS 5 |
|||||||
1, 2, 3… 1. Mode Setting Switch
Set this switch to “HOST” when using a Host Link system to connect to a personal computer. Set this switch to “NT” when connecting to a Programmable Terminal or PC for 1:1 PC Link.
2.Connector
Connects to the CPU Unit’s Peripheral Port.
3.RS-232C Port
Connects to the RS-232C cable from the other device such as a personal computer, Peripheral Device, or Programmable Terminal.
RS-422 Adapter
1. Termination Resistance Switch
RS-422 Port Pin Allocation
3. RS-422 port
FG
SG
SDB
SDA
RDB
RDA
2. Connector
1, 2, 3… 1. Termination Resistance Switch
Set the termination resistance switch to “ON” (upper side) for the Link
Adapters on both ends of the Host Link system and for the RS-422 Adapter.
2.Connector
Connects to the CPU Unit’s Peripheral Port.
3.RS-422 Port
Connects to the Host Link network.
34
SECTION 3
Installation and Wiring
This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply, or wiring I/O.
3-1 |
Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
|
3-1-1 |
Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
|
3-1-2 |
Interlock and Limit Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
|
3-1-3 |
Power Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
|
3-1-4 |
CPM1A Power Interruptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
36 |
|
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
||
3-2-1 |
Installation Site Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
37 |
|
3-2-2 |
Panel/Cabinet Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
38 |
|
3-3 |
Installing the CPM1A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
39 |
|
3-3-1 |
CPM1A Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
39 |
|
3-3-2 |
CPM1A Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
39 |
|
3-3-3 |
Connecting an Expansion I/O Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
3-4 |
Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
3-4-1 |
General Precautions for Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
3-4-2 |
Ground Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
3-4-3 |
Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
45 |
|
3-4-4 |
Input Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
47 |
|
3-4-5 |
Output Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
3-4-6 |
Peripheral Device Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
3-4-7 |
Host Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
3-4-8 |
One-to-one PC Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
63 |
|
3-4-9 |
One-to-one NT Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
3-4-10 |
CompoBus/S I/O Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
35
Design Precautions |
Section 3-1 |
|
3-1 Design Precautions
Observe the following precautions when designing a system incorporating a
CPM1A PC.
3-1-1 Power Supply Wiring
Separate the power supply wiring from the control system, CPM1A system, and
DC I/O system wiring. Separate the control circuits that supply power to the main
Unit from the main circuits using dedicated circuit protectors and fuses.
3-1-2 Interlock and Limit Circuits
! WARNING Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits (i.e., not in the Programmable Controller) to ensure safety in the system if an abnormality occurs due to malfunction of the PC or another external factor affecting the PC operation. Not providing proper safety measures may result in serious accidents.
Construct an external interlock circuit if CPM1A outputs are used to perform reciprocal operations such as controlling the forward and reverse operation of a motor or if incorrect PC operation could cause accidents or mechanical damage. Also, construct an external limit circuit to prevent run-away movement in systems such as position control.
The following diagram shows an example of an interlock circuit.
Interlock Circuit
01005 MC2
MC1 Motor forward
CPM1A
01006 MC1
MC2 Motor reverse
In the interlock circuit above, MC1 and MC2 can’t be ON at the same time even if
CPM1A outputs 01005 and 01006 are both ON (an incorrect PC operation).
3-1-3 Power Supply Voltage
! Caution Use the power supply voltages indicated in Section 2 Unit Specifications and Components. Failure to adhere to the specifications may result in fire. In places where power supply conditions are poor, take steps to ensure that power is supplied at the rated voltage. Be sure to adhere to safety precautions, such as providing breakers to prevent short circuits in external wiring. When conducting any of the following operations, turn OFF the power to the PC. Electric shock, product damage and malfunction may result.
•Connecting or disconnecting Expansion I/O Units and CPU Units.
•Assembling Units
•Connecting cables and wiring.
3-1-4 CPM1A Power Interruptions
Supply Voltage Drop
When the supply voltage falls below 85% of the rated value, the PC will stop and the outputs will go OFF.
36
Selecting an Installation Site |
Section 3-2 |
|
Momentary Power Failure Detection
A momentary power failure lasting less than 10 ms with an AC power supply and 2 ms with a DC power supply is not detected and the CPU Unit continues to operate.
A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncertain area.
When a momentary power failure is detected, the CPU Unit stops operating and the output goes OFF.
Automatic Restart
When the supply voltage recovers to a value higher than 85% of the rated value, operations resumes automatically.
Under |
10 ms (2 ms) |
Over |
||||||
Duration of power interrupt |
||||||||
(Below 85% of rated voltage) |
||||||||
Normal operation |
Operation may stop. |
|||||||
All outputs go OFF when operations stop.
Note The CPM1A may repeat stop/start operations if the supply voltage of less than 85% of the rated value gradually goes up or down.
If this affects the equipment, etc., provide a protection circuit which shuts off the output if the supply voltage is not above the rated value.
Time Up to the Start of Operation
The time from when the power supply is turned on to when the operation starts varies depending on the operation conditions such as power supply voltage, configuration, ambient temperature, etc. The minimum time is approximately 300 ms.
3-2 Selecting an Installation Site
The CPM1A is resistant to harsh conditions and highly reliable, but installing the
PC in a favorable site will maximize its reliability and operating lifetime.
! Caution Be sure to install the CPM1A correctly, as outlined in this manual. Failure to do so may result in Unit malfunction.
3-2-1 Installation Site Conditions
Note Do not install the CPM1A under any of the following conditions.
• Locations subject to direct sunlight.
• Locations subject to a temperature below 0° C or over 55° C.
•Locations subject to a humidity below 10% or over 90%.
•Locations subject to condensation as the result of severe changes in temperature.
•Locations subject to corrosive or flammable gases.
•Locations subject to dust (especially iron dust) or salts.
•Locations subject to shock or vibration.
•Locations subject to exposure to water, oil, or chemicals.
Be sure that the conditions at the installation site conform to the CPM1A’s general specifications. Refer to 2-1-1 General Specifications for details.
37