| C. Digital I/O Command and Function | |||||
| Digital I/O Card | |||||
| Hardware Support: | |||||
| 0. PCI Industrial Card | |||||
| 1. PCI 4 Photo/4 Relay Card | |||||
| 2. PCI 8 Photo/ 8 Relay Card | |||||
| 3. PCI 16 Photo/16 Relay Card | |||||
| Command and Function: | |||||
| Select card module and I/O channel and status. | |||||
| Void set(int card, int port, int line, int state); | |||||
| Int get(int card, int port, int line); | |||||
|
|||||
| port �PCI Industrial
Card: The port number from 0 up to 3Â Â Total post number 4
port PCI 4Photo/4Relay Card:Â The port number only 0 Â Total post number 1 port PCI 8Photo/8Relay Card:Â The port number only 0 Total post number 1 port PCI 16 Photo/8Relay Card:Â The port number from 0 to 1Â Total post number 2 port |
|||||
| line �PCI Industrial
Card: Each port have 16 lines  From 0 up to 15 PCI 4Photo/4Relay Card: Form 0 to 3, Is Relay Output line.Form 4 to 7, Is Isolator Input line. PCI 8Photo/8Relay Card: Form 0 to 7, Is Relay Output line. Form 8 to 15, Is Isolator Input line. PCI 16 Photo/16 Relay Card: 0 Is Relay Output line. 1 Is Isolator Input line. Every port has 16 lines.  state �0: OFF�: ON |
|||||
|
|
|||||
| |