ABB ACSM1 Firmware Manual page 314

Motion control drives, speed and torque control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

314
Operation
Inputs
Outputs
Standard function blocks
Combines the array (group of variables) (if any) on the EXP input with the values of the
I1...I32 pins to produce an output array. The data type of the arrays can be INT, DINT,
REAL16, REAL24 or Boolean. The output array consists of the data from the EXP input
and the values of the I1...In (in this order).
When input S is 1, data is continuously assembled into the output array. The element
acts as a latch when input S is 0; the latest data assembled then remains at the output.
If S is 0 and L changes state from 0 to 1, the array from the EXP input and the values of
the I1...In inputs are copied to output O during this program cycle. If S or R is 1, L has
no effect.
WR and AWR are used to change individual cells of the output array. AWR indicates the
input whose value is moved to the output array. If AWR is 0, only the array from input
EXP is moved to the output. If AWR is not 0, the corresponding I input is moved to the
output. This is performed when WR goes from 0 to 1.
When input R is 1, the output array is cleared and all further data entry is prevented. R
overrides both S and L. If WR is 1, the address at AWR is checked and if it is illegal
(negative or greater than the number of inputs), the error output (ERR) is set to 2.
Otherwise ERR is 0.
Whenever an error is detected, ERR is set within one cycle. No place in the register is
affected when an error occurs.
Example:
In the diagram, the DATA CONTAINER block includes an array with values [1,2,3,4]. At
start, the output array is [0,0,0,0,0,0,0,0]. When WR changes to 1 and returns to 0, the
AWR value of 0 means that only EXP is moved into the output array, which now reads
[1,2,3,4,0,0,0,0]. After this, AWR is changed to 3, meaning that inputs EXP and I3 are
moved to the output. After a WR switch, the output array is [1,2,3,4,0,0,7,0].
Set (S): Boolean, INT, DINT, REAL, REAL24
Load (L): Boolean, INT, DINT, REAL, REAL24
Write (WR): Boolean, INT, DINT, REAL, REAL24
Write address (AWR): INT
Reset (R): Boolean
Expander (EXP): IArray
Data input (I1...I32): Boolean, INT, DINT, REAL, REAL24
Error (ERR): INT
Array data output (O): OC1

Advertisement

Table of Contents
loading

Table of Contents