ÆÞ½º ½Ã±×³ÎÀÌ´Ù
MASTER-K ¿¡¼ [D M000] °°Àº ±â´ÉÀÌ´Ù.
MASTER-K ¿¡¼´Â Ãâ·Â¿¡ ÄÚÀÏÀ» ¿¬°áÇÑ´Ù.-----[D M000]
Ãâ·Â Á¶°ÇÀÌ ¼º¸³µÇ¸é M000 --| |-- aÁ¢Á¢À» ¶óÀο¡ ¿¬°á½ÃÄÑ »ç¿ëÇÑ´Ù.
ÇÏÁö¸é AB-PLC´Â Ãâ·ÂÀ» »ç¿ëÇÏÁö ¾Ê¾Æµµ ¸ðµç Á¢Á¡À» Á÷Á¢ »ðÀÔÇÒ ¼ö ÀÖ´Ù
À§ ±×¸²Àº I:1/0 Á¶°ÇÀÌ ON µÇ¸é B3:0/1 Ãâ·Â ÄÚÀÏÀÌ 1SCAN ON µÇ¾î ÀÖ´Ù°¡ 1SCANÀÌ
¿Ï·ÁµÇ¸é B3:0/1Àº OFF µÈ´Ù.
»ç¿ë ÇÒ ¼ö ÀÖ´Â µð¹ÙÀ̽º ¿µ¿ªÀº ¾Æ·¡¿Í °°´Ù.
I, O, S, B, T, C, R, ¿µ¿ªÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù.
[-¿øº»±Û-] The OSR instruction is a retentive input instruction that triggers an event to occur one time. Use the OSR instruction when an event must start based on the change of state of the rung from FALSE-to-TRUE.
The event can be triggered by a pushbutton or some type of sensor. The OSR instrucion is placed in the ladder logic before the output instruction. The output is referenced as the one-shot within the program. A bit address must be entered for the OSR whether it is a binary file or an integer file address. The bit address can not be used anywhere else in your program. The address assigned to the OSR is not the address referenced by the program, nor does it indicate the state of of the OSR. The address only allows the OSR to remember which state the rung was previously in. The way the OSR instrucion works is: When the rung conditions preceeding the OSR go from false-to-true, the OSR instruction goes true also but for only one scan.
Programming Problem
Develop a ladder rung that will cause the output B3:1 to turn on for only one cycle.In this example, a part is in on a conveyor, when the part hits a trigger switch it will cause the part to be ejected.The only problem associated with this is when the switch is hit, it causes what is known as a bounce.
The OSR in the ladder will allow one clear pulse to go the the ejecter and then it will disregard the other pulses being sent associated with the bounce.
|