186 Creating and Running Algorithms
Chapter 6
Accessing I/O
Channels
In the Algorithm Language, channels are referenced as pre-defined variable
identifiers. Because input channels could be from Remote Signal
Conditioning Units (
RSCU
s), there are two forms of input channel syntax.
The general on-board input channel identifier syntax is "I1
cc
" where
cc
is a
channel number from 00 (channel 0) through 63 (channel 63). The Remote
input channel syntax is "I1
ccrr
" where cc is the SCP channel number (one
of 00, 01, 08, 09, 16, 17, 24, 25, 32, 33, 40, 41, 48, 49, 56, or 57) and
rr
is
the channel (0 through 31) on the RSCU see the heading "Remote Channels"
on page 231 for more information.
For output channels, the syntax is "O1
cc,
" where
cc
is a channel number
from 00 (channel 0) through 63 (channel 63). Like all VT1422A variables,
channel identifier variables always contain 32-bit floating point values even
when the channel is part of a digital I/O SCP. If the digital I/O SCP has 8-bit
channels (like the VT1533A), the channel's identifiers (O1cc and I1cc) can
take on the values 0 through 255. To access individual bit values, ".B
n
" may
be appended to the normal channel syntax; where
n
is the bit number (0
through 7). If the Digital I/O SCP has single-bit channels (like the
VT1534A), its channel identifiers can only take on the values 0 and 1.
Examples:
O100 = 1;
assign value to output chan 0 on
VT1534A.
Inp_val = I108;
from 8-bit channel on VT1533A
Inp_val will be 0 to 255.
np_val will be 0 to 255.
Bit_4 = I109.B4;
assign VT1533A chan 9 bit 4 to
variable Bit_4
Output Channels
Output channels can appear on either or both sides of an assignment
operator. They can appear anywhere other variables can appear. Examples:
O100 = 12.5;
send value to output channel
buffer element 0
O108.B4 = ! O108.B4;
complement value found in
output channel buffer element 8,
bit 4 each time algorithm is
executed.
writecvt(O116,350);
send value of output channel 16
to CVT element 350
Содержание VT1422A
Страница 2: ...This page is blank...
Страница 8: ...8 Notes...
Страница 22: ...22 Support...
Страница 57: ...Field Wiring 57 Chapter 2...
Страница 58: ...58 Field Wiring Chapter 2...
Страница 96: ...94 Programming the VT1422A VT1529A B for Remote Strain Measurement Chapter 3...
Страница 162: ...160 Programming the VT1422A for Data Acquisition and Control Chapter 4...
Страница 224: ...222 Creating and Running Algorithms Chapter 6...
Страница 419: ...VT1422A Command Reference 417 Chapter 7 Notes...
Страница 420: ...418 VT1422A Command Reference Chapter 7 Notes...
Страница 425: ...Specifications 423 Appendix A Thermocouple Type E 200 800 C SCPs VT1501 02 03A...
Страница 426: ...424 Specifications Appendix A Thermocouple Type E 200 800 C SCPs VT1508 09A...
Страница 427: ...Specifications 425 Appendix A Thermocouple Type E 0 800 C SCPs VT1501A 02A 03A...
Страница 428: ...426 Specifications Appendix A Thermocouple Type E 0 800 C SCPs VT1508A 09A...
Страница 429: ...Specifications 427 Appendix A Thermocouple Type E Extended SCPs VT1501A 02A 03A...
Страница 430: ...428 Specifications Appendix A Thermocouple Type E Extended SCPs VT1508A 09A...
Страница 431: ...Specifications 429 Appendix A Thermocouple Type J SCPs VT1501A 02A 03A...
Страница 432: ...430 Specifications Appendix A Thermocouple Type J SCPs VT1508A 09A...
Страница 433: ...Specifications 431 Appendix A Thermocouple Type K SCPs VT1501A 02A 03A...
Страница 434: ...432 Specifications Appendix A Thermocouple Type R SCPs VT1501A 02A 03A...
Страница 435: ...Specifications 433 Appendix A Thermocouple Type R SCPs VT1508A 09A...
Страница 436: ...434 Specifications Appendix A Thermocouple Type S SCPs VT1501A 02A 03A...
Страница 437: ...Specifications 435 Appendix A Thermocouple Type S SCPs VT1508A 09A...
Страница 438: ...436 Specifications Appendix A Thermocouple Type T SCPs VT1501A 02A 03A...
Страница 439: ...Specifications 437 Appendix A Thermocouple Type T SCPs VT1508A 09A...
Страница 440: ...438 Specifications Appendix A 5k Thermistor Reference SCPs VT1501A 02A 03A...
Страница 441: ...Specifications 439 Appendix A 5k Thermistor Reference SCPs VT1508A 09A...
Страница 442: ...440 Specifications Appendix A RTD Reference SCPs VT1501A 02A 03A...
Страница 443: ...Specifications 441 Appendix A RTD SCPs VT1501A 02A 03A...
Страница 444: ...442 Specifications Appendix A RTD SCPs VT1508A 09A...
Страница 445: ...Specifications 443 Appendix A 2250 Thermistor SCPs VT1501A 02A 03A...
Страница 446: ...444 Specifications Appendix A 2250 Thermistor SCPs VT1508A 09A...
Страница 447: ...Specifications 445 Appendix A 5k Thermistor SCPs VT1501A 02A 03A...
Страница 448: ...446 Specifications Appendix A 5k Thermistor SCPs VT1508A 09A...
Страница 449: ...Specifications 447 Appendix A 10k Thermistor SCPs VT1501A 02A 03A...
Страница 450: ...448 Specifications Appendix A 10k Thermistor SCPs VT1508A 09A...
Страница 454: ...452 Specifications Appendix A...
Страница 480: ...478 VT1529A B Verification Calibration Appendix C...
Страница 484: ...482 Glossary Appendix D Notes...