Download User Manual - LuckinsLive.com

Transcript
Explicit Exchange Language Objects Associated with the Application-Specific
Functions
Introduction
Explicit exchanges are performed at the user program’s request using these instructions:
READ_STS (see Unity Pro, I/O Management, Block Library) (read status words)
 WRITE_PARAM (see Unity Pro, I/O Management, Block Library) (write adjustment parameters)
 READ_PARAM (see Unity Pro, I/O Management, Block Library) (read adjustment parameters)
 SAVE_PARAM (see Unity Pro, I/O Management, Block Library) (save adjustment parameters)
 RESTORE_PARAM (see Unity Pro, I/O Management, Block Library) (restore adjustment
parameters)

These exchanges apply to a set of %MW objects of the same type (status, commands or
parameters) that belong to a channel.
NOTE:
These objects can:
 provide information about the module (for example, type of channel detected error)
 define the module’s operating modes (save and restore adjustment parameters in the process
of application)
NOTE: In order to avoid several simultaneous explicit exchanges for the same channel, it is
necessary to test the value of the word EXCH_STS (%MWr.m.c.0) of the IODDT associated to the
channel before calling any EF addressing this channel.
EIO0000000940 10/2014
69