User manual

All channels of the IO-chips which 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
ConfigAllIOasOutput;
UpdateIOdataArray(0,1); // channel 1 on
UpdateIOdataArray(1,128); // channel 16 on
UpdateAllIO;
// Output channel 1 & 16 are on, Output channels 2..15 are off
END;
ClearIOchannel IO
Syntax
PROCEDURE ClearIOchannel(Channel_no: Longint);
Parameter
Channel_no: Value between 1 and 64 which corresponds to the Input/Output channel that is to
be cleared.
Result
IOdata: If the selected channel is an output then the correct bit in the 'IOdata' variable of the
corresponding chip is set low (0).
Description
If the selected channel has been configured as an output then it is cleared. The status of the
inputs remain unchanged. The 'IOdata' and 'IO' variables are adjusted according to the new
status.
Example
BEGIN
ConfigIOchannelAsOutput(9);
ClearIOchannel(9); // Output channel 9 is off
END;
ClearIOchip IO
Syntax
PROCEDURE ClearIOchip(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 cleared.
Result
IOdata: The bits in the 'IOdata' variable of the selected IO-chip that correspond to outputs are
set low (0) , those of the inputs remain unchanged.
Description