79
-
Enter on location VD+6 max. motion speed as countings*1000/time
units (to have 3 decimals. Example: setting 12345 will give a speed of
12.345 countings/time units).
-
Enter on location VD+8 the duration of accelaration ramp (expressed
as time units; if duration of acceleration ramp must be 1 second and
function GENSET is recalled by an interrupt of 1 ms, enter 1000)
-
Enter on location VD+10 the duration of deceleration ramp.
-
Write “1” on location VD to start the function which will automatically
start to write on location VD+2 the generated setpoint. Location VD will
also be updated with current state of function, while location VD+12will
be updated with instant speed of setpoint, expressed with 3 decimals.
This value may be used to generate action “F” for function POSPID.
-
At end of motion, when location VD+2 will reach value of final setpoint,
the function will automatically enter standby modde, indicated by value
“0” on location VD. This means that function GENSET can be always
active, even when motion is not required
2.2.25 Function CONV
The function CONV provides the conversion of source data in one of the
available formats. Conversion type “TO_7SEG_SIGNED” converts input
data (one word with sign -32768..32767) in a specified number of digits
alredy suitable for a display with 7 segments. The number of digits to
convert, starting from less significant digit, will be sent to the function as
parameter.
The codes will be saved (one digit for each word) starting from destination
word and then in the following words accordino to the required number of
digits.
Coversion type “TO_7SEG_UNSIGNED” is similar to the above described
conversion. The difference is that the source data is considered as
unsigned word (0..65535). the code is composed by one bit set to 1 if the
segment must be ON and by one bit set to if the segment must be Off. The
correspondance between bit and segment is the following:
Summary of Contents for EPL101
Page 1: ...1 PLC P I X S Y S elettronica Manuale Installatore User Manual EPL101...
Page 81: ...81...
Page 82: ...82...
Page 83: ...83...