User manual

variable of the respective IO chip. The status of the IO-channel can only be determined by an
external signal that is fed to it.
Example
BEGIN
ConfigIOchannelAsInput(1);
// IO channel 1 is now configured as input');
END;
ConfigAllIOasOutput IO
Syntax
PROCEDURE ConfigAllIOasOutput;
Result
IOconfig: The 'IOconfig' variables for all Input/Output ports are set low (0).
Description
All digital Input/Output channels (1...64) are configured as outputs. Each IO chip (0...7) contains
a variable in which the configuration of each IO pin is returned in the form of a data bit which is
not necessarily high. If this bit is low (0) it means an output. The status of the IO-channels are
determined by the value written to them.
Example
BEGIN
ConfigAllIOasOutput;
// All IO channels are now configured as outputs
END;
ConfigIOchipAsOutput IO
Syntax
PROCEDURE ConfigIOchipAsOutput(Chip_no: Longint);
Parameter
Chip_no: Value between 0 and 7 which corresponds to the address setting of the Input/Output
chip in which all channels are to be configured as outputs.
Result
IOconfig: The 'IOconfig variable of the respective Input/Output chip is set low (0).
Description
The 8 digital Input/Output channels of the selected IO chip are configured as outputs. Each IO
chip (0...7) contains a variable in which the configuration of each IO pin is returned in the form
of a data bit which is not necessarily high. If this bit is low (0) then it means an output. The status
of these IO-channels are determined by the value written to them.
Example
BEGIN
ConfigIOchipAsOutput(1);
// The 8 channels from IO Chip 1 are now configured as outputs
END;