Home > Product > DCS control system > ABB YPP109A YT204001-HS DC input card

  • ABB YPP109A YT204001-HS DC input card
ABB YPP109A YT204001-HS DC input card

ABB YPP109A YT204001-HS DC input card

ABB YPP109A YT204001-HS DC input card

The argument “n” enables interrupts for the first 8 general inputs. To enable interrupts for the desired inputs, set bit 15 of the “m” argument, then set the desired inputs using the 8-bit mask for the “n” argument. For example, to enable interrupt on inputs 1-4, set EI32768,15. Note that the input interrupts must be reset for all inputs after any input has caused an interrupt.The DMC-18x2 also provides 16 User Interrupts which can be sent by executing the command UIn to the DMC-18x2, where n is an integer between 0 and 15. The UI command does not require the EI command. UI commands are useful in DMC programs to let the host application know that certain points within the DMC program have occurred.

Servicing Interrupts

 Once an interrupt occurs, the host computer sends an associated Status Byte along with the interrupt vector. The Status Byte returned denotes what condition has occurred, as described in the table below.The recommended method to utilize the interrupts in a host application is to use a pre-defined interrupt service routine. Where the event routine, on interrupt, will automatically execute and return the Status Byte. For example, when using the ActiveX toolkit DMCShell control with VB, the DMCShell1_DMCInterrupt() event procedure (shown below) will automatically execute and return the StatusByte in the argument. This StausByte can then be used in a case structure as the key to notify the host application of a specific event or condition. In this VB example below, the event procedure will display a message box every time the X-axis motion is complete, assuming the command EI1 was sent to the controller. Note: the argument is returned as 208 since the status byte is returned as an integer (i.e. D0 hex = 208 decimal).

Hardware Level Communications for PCI 

This section of the chapter describes in detail the structures used to communicate with the DMC-18x2 controller at the register interface level. The information in this section is intended for advanced programmers with extensive knowledge of PCI bus operation.

                                          

Company product range

----------------------Ruichang Mingsheng Automation Equipment Co., Ltd----------------------

PLC module, programmable controller, CPU module, IO module, DO module, AI module, DI module

Network communication module,

Ethernet module, motion control module, analog input module, analog output module, digital input module, digital output

Module, redundancy module, power module, relay output module, relay input module, processor module

after-sales

Professional sales electric brand products around the world

Products overseas direct purchase, quality goods inventory, price concessions

After-sales warranty, models complete, the same product, different price and service.


Obtain the latest price of ABB YPP109A YT204001-HS DC input card