DELTA PLC DIADESIGNER [ COMPING THE OUTPUTS OF MULTIPE WORK STATIONE ( YOUT ) PROGRAMMING
Автор: PLC AND HMI CENTER
Загружено: 2025-12-07
Просмотров: 16
. The instruction cannot be used in the ST programming language, interrupt tasks or function block which is called only once.
2. S1 is for the setting of the high-speed counter. Use the same settings for the high-speed counter as for the high-speed counter for the XCMP instruction.
3. S2 occupies two consecutive 16-bit devices. S2+0 is n (the work station number) and S2+1 is m (the maximum number of objects). The range for n and m is between 1-64. When the value is out of range, the value used is the maximum (32) or the minimum (1). The settings for the operands should be the same as for the XCMP instruction.
4. S3 is first corresponding device for the comparison result in the stack area. S3 occupies 2xn consecutive 16-bit devices and 2xmxn consecutive 32-bit devices (or 4xmxn consecutive 16-bit devices). For information on the functions of each device and the corresponding number for D, refer to the XCMP instruction (API 0709). It is suggested that you use the same variable as you use for the XCMP instruction.
5. There is no limit on the number of times you can execute this instruction. For ES3 CPU firmware V1.06.00 or earlier, only one instruction can be executed at a time. For ES3 CPU firmware V1.08.00 or later and EX3/SV3/SX3 CPU firmware V1.00.00 or later, up to three instructions can be executed at a time.
6. It is suggested that you use with the XCMP instruction, and use the same first corresponding device for the comparison result in the stack area (S3).
7. D is only for the outputs of Y and M devices; Y and M should be the BOOL data type. It occupies a consecutive number of work stations Xn. When used as the output point of Y or the M device, the instruction refreshes the output states.
8. The odd numbered head index values (for example 1, 3, 5,.) are the compared counter results for the object when entering (Compared stack areas for the entering -work-station ones). The even numbered head index values (for example 2, 4, 6,.) are the compared counter result of the object when leaving (Compared stack areas for the entering -work-station ones).
9. When the compared counter result for entering and leaving in the stack area are 0, the actions in this area are not executed and the state of the corresponding output work station is OFF. Add 2 to the value of the tail index and the added value in the tail index should not exceed the value of the head index.
10. When the YOUT instruction is executed, each work station checks the compared value for entering and leaving in the tail index. When the counter value is larger or the same as the compared value for entering, the corresponding output point is ON and adds 1 to the value of the tail index. When the counter value is larger or the same as the compared value for leaving, the corresponding output is OFF and adds 1 to the value of the tail index; but the value of the tail index (after adding 1) does not exceed the value of the head index
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: