User manual

All channels of the selected Input/Output chip which have been configured as outputs are
cleared. The status of the inputs remain unchanged. The 'IOdata' and 'IO' variables are changed
according to the new status.
Example
BEGIN
ConfigIOchipAsOutput(1);
ClearIOChip(1); // Output channels 9...16 are off
END;
ClearAllIO IO
Syntax
PROCEDURE ClearAllIO;
Result
IOdata:The bits in the 'IOdata' variables that correspond to outputs are set low (0), those of the
inputs remain unchanged.
All outputs are cleared.
Description
All channels of the IO-chips that have been configured as outputs are cleared. The status of the
inputs remain unchanged. The 'IOdata' is changed according to the new status.
Example
BEGIN
ConfigAllIOasOutput;
ConfigIOchannelAsInput(2); // channel 2 configured as input
ClearAllIO;
// All Output channels are off
// Input channel 2 unchanged
END;
SetIOchannel IO
Syntax
PROCEDURE SetIOchannel(Channel_no: Longint);
Parameter
Channel_no: Value between 1 and 64 which corresponds to the Input/Output channel that is to
be set.
Result
IOdata: If the selected channel is an output then the the correct bit in the 'IOdata' variable of
the corresponding chip is set high (1).
The selected output channel is set.
Description
If the selected channel has been configured as an output then it is set. The status of the inputs
remain unchanged. The 'IOdata' is changed according to the new status.
Example