XRIO
Operating Manual XCx 300 / 500 / 540 Version 09/08
69
6.4
The XRIO Driver
The XRIO I/O driver interfaces connected RIO modules via the X4
XRIO connector, provides corresponding input and output maps, and
refreshes them.
Attention!
The XRIO driver must be called exactly once per "XRIO connection".
The I/O range of an XRIO connection must not be shared among
different tasks as this would lead to malfunctions.
In order to obtain consistent data over the task runtime the XRIO
driver has to be called in the task in which the I/Os are processed.
(The input map is read at the start of the task, and the output map is
written at the end of the task.)
The task interval can be between 1 and 80 ms. The watchdog for the
RIO modules triggers if task interval > 80 ms.
The following table provides an overview of the user parameters
currently supported by the XRIO driver.
XRIO user parameter:
DRIVER_PARAMETER
Code
Content
DRIVER_PAR1
0 = default
Process data (outputs) zeroed automatically on PLC-
STOP
One I/O refresh carried out per task cycle
DRIVER_PAR1
Bit 0
Not used
DRIVER_PAR1
Bit 1
Not used
DRIVER_PAR1
Bit 2
Ignore differences between configured and real
number of I/O bytes.
DRIVER_PAR1
Bit 3
Additional process data refresh
(configure the IN driver section)
Note:
Function is not released at present.
DRIVER_PAR1
Bit 6
2 stop bits if set
(configure the IN driver section)
DRIVER_PAR1
Bit 7
Force the XRIO normal mode (500 kBit/s)
(configure the IN driver section)
DRIVER_PAR2
Bit 0
Not used
DRIVER_PAR2
Bit 1:
Prevents task change during process data update
DRIVER_PAR2
Bit 2
Not used
6.5
Calculating Estimated Transmission Time
The transmission times on the XRIO bus are largely determined by
the number of bytes to be sent.
4 Mbaud and 1 stop bit:
((
I/O-bytes je 4 ) x 2,75 µs/byte + (no. of ECs)x 4 µs/EC + (no. of IO modules) x 1µs/ 10 µs
4 Mbaud and 2 stop bits
((
I/O-bytes pro 4 ) x 3,00 µs/byte + (no. of ECs)x 4 µs/EC + (no. of IO modules) x 1µs/ 10 µs
500 kbaud and 1 stop bit
((
I/O-bytes pro 3 ) x 22 µs/byte
500 kbaud and 2 stop bits
((
I/O-bytes pro 3 ) x 24 µs/byte