Command Syntax: Ioread; Response Syntax: Ioread - Siemens SIMATIC TI505 386/ATM User Manual

Coprocessor module
Table of Contents

Advertisement

Command Syntax:
The command syntax for performing an IOREAD operation is:
IOREAD
:ir:a:b::<cr>
where:
:
ir
a
b
::
<cr> represents the ASCII character 0D HEX; this character must be
Response Syntax:
After receiving an IOREAD, PCCOMM responds in the following format.
IOREAD
:ir:e:f:g:h:i::<cr>
where:
:
ir
e
f–i
::
<cr> is the ASCII character 0D HEX denoting the end of the response
386/ATM Coprocessor User Manual
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
is a required delimiter for the command string.
is the command for IOREAD (lower or upper case).
is the local point number for the 4 local WY points in the 386/ATM.
The 386/ATM start point is from 5 through 8, inclusive.
is the number of IO points to read. Valid numbers for b are 1, 2, 3,
and 4.
You cannot read beyond the boundary of the 4 WY points, and the
count b is limited by the start point (value of a). For example, if you
use address 5 for a, you can obtain up to 4 points of WY information.
If you use address 6 as the start point for a, then you can read only
up to a total of 3 points from the local WYs.
is the terminating delimiter for the command string; these characters
must be present for the command to operate.
present in order to tell PCCOMM that the command string is
complete.
is the delimiter for the response.
indicates the response is from an IOREAD operation.
is the error code returned from the operation.
if positive, the number represents the number of data items read.
if zero, the number represents an error indicating a bad start point or
a bad count, and no words were read.
are the data values in ASCII/decimal that are returned as the result
of the operation.
is the end delimiter of the response string.
transaction.
PLC Communications
5-5

Advertisement

Table of Contents
loading

Table of Contents