If no job is active, all output parameters must be set to 0. With an edge 0-1 at REQUEST,
with the following approach a job is activated:
1. Check if a job is already active, if necessary terminate job and output error.
ð
Check for DONE = 1 or BUSY = 0
2. Interconnect the input parameters:
n MODE
n COMMAND
n WRITE_LENGTH
n CHANNEL_IN
n CHANNEL_OUT
ð
Terminate job on error, otherwise continue with step 3.
3. Save input parameters internally.
4. Execute the desired command and wait until this has been carried out.
5. Save and output the result of the command execution internally.
6. Set all the output parameter to 0.
12.3.3 FB 321 - ACYC_DS - Acyclic parametrization System SLIO motion module
With this block you can parametrize you motion module motion module by means of your
user program. Here you can store your parameters as Object list in a data block an
transfer them via the acyclic communication channel in your motion module
The following System SLIO modules are supported:
n 054-1BA00: FM 054 motion module - Stepper
n 054-1CB00: FM 054 motion module - 2xDC
n 054-1DA00: FM 054 motion module - Pulse Train RS422
Due to the FB 321 internally calls the FB 320 and both blocks access the
same database, for each channel (if multi-channel) you can use only one
of these blocks in your user program! Also this block must be called per
cycle only once!
Parameters
Parameter Declaration Data type Description
REQUEST IN BOOL The job is started with edge 0-1.
MODE IN BYTE Enter 0x01 for the acyclic protocol.
READ_BACK IN BOOL 0: Written objects are not read back.
1: Written objects are read back immediately after the write opera-
tion and compared.
GROUP IN WORD
0x01...0x7F: Selection of a group in the object list.
0xFF: Section of all the objects in the object list.
OBJECT_DATA IN ANY
Pointer to the UDT.
Ä
Chap. 12.3.4 ‘UDT 321 - ACYC_OBJECT-
DATA - Data structure for FB 321’ page 279
Program structure
Description
VIPA SPEED7
Device Specific
Motion Modules > FB 321 - ACYC_DS - Acyclic parametrization System SLIO motion module
HB00 | OPL_SP7 | Operation list | en | 18-30 276