User`s guide

DDE Item Names In PCIS-DDE
35
* To get the value of N th bit of PDI0/PDI1 by using Tag.0N as the item name,
the data type of PDI0/PDI1 have to be set as integer. As mentioned
before, the “integer” is “32-bit signed integer” in InTouch. That means the
range of “integer” is 2147483648 ~ 2147483647. However, to poke or
advise the 32-bit unsigned data, use “PRDI0” or “PRDI1” (the data type is
real) for digital input.
* “PASBIn” and “PBIn” (n is the bit number) commands are both used for
n-th bit digital data in. For signal bit digital data input, the performance of
these two commands is almost the same. However, for multi-bits digital
data input, using “PASBIn” can get much higher performance than “PBIn”.
Hence “PASBIn” command is especially suitable for multi-bits digital data
input.
4.7 PCI-7434
Digital I/O Command Set
Command Item Name
Requested/Poked
value
R/W Data Type
Digital Data Out
in digital format
PDO0 ~ PDO1*
Data: xxxxxxxxxx
Example: 1234567890
21474
83648 ~
2147483647
W Integer
Digital Data Out
in String mode
PSDO0 ~
PSDO1*
Data: xxxxxxxxxx
Example: 1234567890
Range: 0 ~ 4294967295
W String
* There are 64 digital output channels in a PCI-7434 card. Please refer to
the PCI-7434 user’s manual for the details. In PCIS-DDE server, the
digital input ports and their related item names of PCI-7434 are defined as
follows:
Channel Number Port Item Name
0 ~ 31 0 PDO0 / PSDO0
32 ~ 63 1 PDO1 / PSDO1
* For InTouch, the value of Nth bit of PDO0/PDO1 can be poked/ by using
Tag.0N as the item name. For example, to poke the value of the 0th bit of
PDO0, set tagname as Tag.00, or to poke the value of the 1st bit of PDO0,
set tagname as Tag.01.