Copyright: Created with EasyHelp (Tel: 0973 209667)


L5203 M/Value Writer - RG354377

Description

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

In order to execute, the L5203 M/Value Writer must be referenced in the step list of an L5203M/Sequencer II function block; information is written when the step is performed.

The Instrument Number (INO), Parameter Number (PNO), Write Data Format, Write Gain and Input Preset are specified as configuration parameters in the block.

For example, to write to the Speed Loop P Gain in a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 37, the format would be set to ###.## and the gain would be set to 20000.

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

Input	Data to be written.  Expects -100% to +100%.

Get Error	Returns last error code (see below).

Get Input	Returns:  -100% to 100%.

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

In order to execute, the L5203 M/Value Writer must be referenced in the step list of an L5203M/Sequencer II function block; information is written when the step is performed.

The Instrument Number (INO), Parameter Number (PNO), Write Data Format, Write Gain and Input Preset are specified as configuration parameters in the block.

For example, to write to the Speed Loop P Gain in a 590 drive, the INO would be set to match the drives INO, the PNO would be set to 37, the format would be set to ###.## and the gain would be set to 20000.

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

Input	Data to be written.  Expects -100% to +100%.

Get Error	Returns last error code (see below).

Get Input	Returns:  -100% to 100%.

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.