Peripheral Devices
504 9836 3521 01
8.12.2.1 Using the extended format
The Extended format gives you an alternative method of specifying the targeted type of process data.
When using this method you specify what to read or write to using an address instead of the bits d2..d0 in
the command word. The address is the same as used for the Serial Communication (see its sub chapter:
Accesses from External communication device).
An advantage of using this method is that you in addition of accessing the traditional process data, i.e.
cycle data, trace, and events, also can read and write to the PLC input/output area normally used for the
External communication devices and the API.
The address is specified in the first word of the Process data, i.e. the word following next after the
command word. I.e. Process data should be laid out as below:
The layout of Message Data depends on whether the targeted data is of type "Process Data" (i.e. Cycle
Data, Event Data, Trace Data and Setup Data) or "PLC Data".
Message Data
to/from the PLC
Message Data as
Process Data
The format of Process Data is the very same as used the External communication devices, but the format
of PLC Data is slightly different. For the fieldbus device the first word of the Message Data specifies the
length of data to be read or written. If writing, this is then followed with as many bytes of PLC data that is
specified.
Also, note that if the extended format is used for the command then the target address of the command
will be included in the response as well.