ÀÛ¼ºÀÚ : À¥°ü¸®ÀÚ |
2006-11-27 ¿ÀÈÄ 6:14:03 Á¶È¸¼ö : 7879¹ø |
Á¦¸ñ : AB-PLC[Equal Instruction]-[EQU]
|
[MEQ]´Â Equal Instruction ÀÇ ¾à¾î´Ù
Source A [B3:0]ÀÇ µ¥ÀÌÅÍ¿¡ Mask µ¥ÀÌÅÍ Hex [000F] µ¥ÀÌÅÍ ¿Í Source B µ¥ÀÌÅ͸¦ ºñ±³Çؼ °°À¸¸é [O:2/0] Coil On
´Ù½Ã ¼³¸íÇÏ¸é ¾Æ·¡¿Í °°´Ù.
SOURCE A-[ 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 1 1 1 1 ] - Hex[000F] SOURCE B-[ 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 1 1 1 1 ] - Hex[000F]
Çϳª ´õ ¿¹·Î ¼³¸í Çϸé ŸÀÌ¸Ó T4:0/ACC(¼³Á¤Ä¡)°¡ SOURCE A¿¡ µµ´ÞÇÑ °ªÀÌ °°À¸¸é [O:2/0] Coil On ÇÑ´Ù [SOURCE A] = [SOURCE B]
[-¿øº»±Û-]
¡Ý-Example Problem1
Develop a ladder rung that will cause the output O:2/0 to be true "on" if the binary bit B3:0 is the same as the value of B3:1.
In this example, the EQU command compares the value in Source A, which is stored in element 0 of the bit data file (binary word of 15) and is compared to the value in element 1 of the bit data file (also binary word of 15). If the value of both elements are the same, then the funtion is true and the output becomes true or "on". If the values are not the same then the EQU command function produces a false and the output becomes false or "off".
¡Ý-Example Problem2
Develop a second ladder rung that will cause the output O:2/0 to be true "on" if the value of the accumulator in Time On timer T4:0 has reached a value of 25 seconds.
In the second example the value from the accumulator of the timer T4:0 is compared to a constant value of 25 stored in B3:0. When the timer reaches 25 seconds the EQU command is evaluated as true and the output is true for only that second.
|
|
Add_File-1 : equab.gif( 2 KB )
Add_File-2 : equab(1).gif( 3.5 KB )
|
|
ÀÌÀü±Û º¸±â : AB-PLC[Masked Comparison for Equal]-[MEQ]
´ÙÀ½±Û º¸±â : AB-PLC Not Equal Instruction [NEQ]
|