User manual

BEGIN
ConfigIOchannelAsOutput(9);
SetIOchannel(9); // Output channel 9 is on
END;
SetIOchip IO
Syntax
PROCEDURE SetIOchip(Chip_no: Longint);
Parameter
Chip_no: Value between 0 and 7 which corresponds to the address setting of the Input/Output
chip in which the outputs are to be set.
Result
IOdata: The bits in the 'IOdata' variable of the selected IO-chip that correspond to outputs are
set high (1), those of the inputs remain unchanged.
Description
All channels of the selected Input/Output chip that have been configured as outputs are set. The
status of the inputs remain unchanged.
Example
BEGIN
ConfigIOchipAsOutput(1);
SetIOchip(1); // Output channels 9...16 are on
END;
SetAllIO IO
Syntax
PROCEDURE SetAllIO;
Result
IOdata: The bits in the 'IOdata' variables that correspond to outputs are set high (1), those of
the inputs remain unchanged.
IO:
The 'IO' variables that correspond to outputs are set high (True). Those of the input channels
remain unchanged.
All outputs are set.
Description
All channels of the IO-chips that have been configured as outputs are set. The status of the
inputs remain unchanged. The 'IOdata' variables are changed according to the new status.
Example
BEGIN
ConfigAllIOasOutput;
ConfigIOchannelAsInput(2); // channel 2 configured as input
SetAllIO;
// All Output channels are on
// Input channel 2 unchanged