Once it is configured, the weighing module is fitted with sensors and linked to a TSX XBT display. The TSX ISP Y101 can operate autonomously (without a program). These outputs may be controlled without the intervention of the PLC program.
Programming at the level of the PLC makes it possible to:
For the exchange objects of the IODDT of types T_WEIGHING_ISPY101 and T_WEIGHING_ISPY101_2, use them as follows:
The numerical values of the ( or ) weights and flow rate are stored in 2 double word input registers (%ID). They are completed by 1 measurement Status word (%W), 1 tare value double word (%ID) and 1 calibration memory double word (%ID) (offset from zero).
i.e. a variable IODDT_VAR1 IODDT T_WEIGHING_ISPY101.
The table below lists the weighing numerical values transmitted by the weighing function.
Symbol
|
Register Address
|
Meaning of the Register
|
IODDT_VAR1.WEIGHT
|
%IDr.m.0.0
|
Weight value (GROSS or NET)
|
IODDT_VAR1.FLOW_RATE
|
%IDr.m.0.2
|
Flow
|
IODDT_VAR1.MEASURE_DATA
|
%IWr.m.0.4
|
Measurement state: stability, zero ...
|
IODDT_VAR1.TARE
|
Premium/Atrium: %IDr.m.0.5
M580: %IDr.m.0.6
|
Tare value
|
IODDT_VAR1.OFFSET_MEM_VAL
|
Premium/Atrium: %IDr.m.0.7
M580: %IDr.m.0.8
|
Recalibration memory (zero offset)
|
These data are returned automatically to the processing unit at the start of the task associated with the channel, whether the task is in Run or in Stop mode. The data are directly accessible by the:
Dynamic Modification of the Parameters
The preset adjustment parameters may be modified automatically during the operation of the program with the explicit exchange instruction WRITE_PARAM.
Example: modification of the SO high flow and SI low flow cut-off-points