User manual

Description
The channels of the selected IO-chip which have been configured as outputs are updated with
the status of the corresponding bits in the data parameter. A high (1) level means that the
output is set, and a low (0) level means that the output is cleared. The status of the inputs
remains unchanged.
The 'IOdata' and 'IO' variables of the respective IO-chip are likewise updated.
Example
BEGIN
ConfigIOchipAsOutput(1);
IOoutput(1,128);
// Output channels 9..15 are off, Output channel 16 is on
END;
UpdateIOchip IO
Syntax
PROCEDURE UpdateIOchip(Chip_no: Longint);
Parameter
Chip_no: Value between 0 and 7 that corresponds to the address setting of the Input/Output
chip in which the outputs are to be changed.
Result
All outputs of the selected Input/Output chip are changed according to the status of the
corresponding bits in the 'IOdata' variables.
Description
All channels of the selected IO-chip that have been configured as outputs are changed
according to the status of the corresponding bits in the 'IOdata' array. A high (1) level means that
the output is set, a low (0) level means that the output is cleared. The status of the inputs remain
unchanged.
Example
BEGIN
ConfigIOchipAsOutput(1);
UpdateIOdataArray(1,64); // channels 9...14 & 16 off, 15 on
UpdateIOchip(1);
// Output channels 9..14 & 16 are off, Output channel 15 is on
END;
UpdateAllIO IO
Syntax
PROCEDURE UpdateAllIO;
Result
All outputs are changed according to the status of the corresponding bits in the 'IOdata'
variables.
Description