Copyright: Created with EasyHelp (Tel: 0973 209667)


L5203 M/Block Reader - RG354379

Description

This function block reads a block of eight parameters from a Eurotherm Bisync slave device connected to the L5203 module in which it resides.

In order to execute, the L5203 M/Block Reader must be referenced in the step list of an L5203 M/Sequencer II function block; information is read when the step is performed.

The Instrument Number (INO) and Block Number are specified as configuration parameters in the block along with the Parameter Formats and Parameter Gains for the first seven parameters in each block (the eighth parameter is always an ordinal).

If an error is encountered, an error code (a bit field, described below) is stored in the function block until read or overwritten by another error.

Parameters

Get Error	Returns last error code (see below).

Get Last P0	Returns last data read:  -100% to 100%.

Get Last P1	Returns last data read:  -100% to 100%.

Get Last P2	Returns last data read:  -100% to 100%.

Get Last P3	Returns last data read:  -100% to 100%.

Get Last P4	Returns last data read:  -100% to 100%.

Get Last P5	Returns last data read:  -100% to 100%.

Get Last P6	Returns last data read:  -100% to 100%.

Get Last P7	Returns last data read:  0 to 65535.

Error Code Bit:

0	(False if a write transaction).

1	Retry count exceeded.

2	Slave refused transaction.

3	Scaling overflowed.

4	Response PNO did not match requested PNO.

5	Bad format number encountered.

6	(Unused).

7	Internal state machine error.

8	Bad or unexpected character received.

9	Transmit buffer overflowed.

10	Receive buffer overflowed.

11	(Receive buffer empty).

12	Character parity error.

13	Character overrun.

14	Character framing error.

15	Break detected and cleared.


Description

This function block reads a block of eight parameters from a Eurotherm Bisync slave device connected to the L5203 module in which it resides.

In order to execute, the L5203 M/Block Reader must be referenced in the step list of an L5203 M/Sequencer II function block; information is read when the step is performed.

The Instrument Number (INO) and Block Number are specified as configuration parameters in the block along with the Parameter Formats and Parameter Gains for the first seven parameters in each block (the eighth parameter is always an ordinal).

If an error is encountered, an error code (a bit field, described below) is stored in the function block until read or overwritten by another error.


Parameters

Get Error	Returns last error code (see below).

Get Last P0	Returns last data read:  -100% to 100%.

Get Last P1	Returns last data read:  -100% to 100%.

Get Last P2	Returns last data read:  -100% to 100%.

Get Last P3	Returns last data read:  -100% to 100%.

Get Last P4	Returns last data read:  -100% to 100%.

Get Last P5	Returns last data read:  -100% to 100%.

Get Last P6	Returns last data read:  -100% to 100%.

Get Last P7	Returns last data read:  0 to 65535.

Error Code Bit:

0	(False if a write transaction).

1	Retry count exceeded.

2	Slave refused transaction.

3	Scaling overflowed.

4	Response PNO did not match requested PNO.

5	Bad format number encountered.

6	(Unused).

7	Internal state machine error.

8	Bad or unexpected character received.

9	Transmit buffer overflowed.

10	Receive buffer overflowed.

11	(Receive buffer empty).

12	Character parity error.

13	Character overrun.

14	Character framing error.

15	Break detected and cleared.