Copyright: Created with EasyHelp (Tel: 0973 209667)


5203 M/Reader - RG354376
L5203 M/Reader - RG354376

Description

This block reads a parameter from a Eurotherm Bisync slave device connected to the L5203 module in which the block resides.

In order to execute, the L5203 M/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), Parameter Number (PNO), Read Data Format and Read Gain are specified as configuration parameters in the block.

For example, to read the ramp input from a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 52, the format would be set to ###.## and the gain would be set to 10000.

For example, to read the health store from a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 31 and the format would be set to <ordinal> (a gain of 30000 must be used for ordinals).

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 Read	Returns last data read:  -100% to 100%.

Error Code Bit:

0	(False if a write transaction).

1	Retry count exceeded.

2	Slave refused transaction.

3	Scaling overflowed.

4	Responce 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 block reads a parameter from a Eurotherm Bisync slave device connected to the L5203 module in which the block resides.

In order to execute, the L5203 M/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), Parameter Number (PNO), Read Data Format and Read Gain are specified as configuration parameters in the block.

For example, to read the ramp input from a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 52, the format would be set to ###.## and the gain would be set to 10000.

For example, to read the health store from a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 31 and the format would be set to <ordinal> (a gain of 30000 must be used for ordinals).

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 Read	Returns last data read:  -100% to 100%.

Error Code Bit:

0	(False if a write transaction).

1	Retry count exceeded.

2	Slave refused transaction.

3	Scaling overflowed.

4	Responce 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.