
Appendix B. Instruction 15: Control Port Serial I/O
B-3
06:
4
Number of locations to send
0 = send nothing
xxxx = locations; preamble
xxxx-- = locations; data
07:
4
Input termination character
(0..255)
08:
4
Maximum number of input
characters
09:
4
Time out for CTS and/or
Input (multiples of 0.015)
10:
4
Input start location
11:
FP
Multiplier
12:
FP
Offset
Input Locations altered: determined by input
Intermediate Locations used: preamble size/4 + 1
Execution Time: See Table B-1
Table B-1 Instruction 15 Execution Time
Use
Parameter Value Max. Execution Time (ms)
3
6
8
Input Only
0
0
x
[(param. 9) x 10]
Output Only
<>0
x
0
[(param. 3) x 10] + [8.34ms per output byte]
Output Only
0
x
0
[(param. 9) x 10] + [8.34ms per output byte]
Input & Output
0
<>0
x
[(param. 9) x 10 x 2] + [8.34ms per output byte]
Input & Output
<>0
<>0
x
[(param. 9) x 10] +[(param. 3) x 10] + [8.34ms per o/p byte]
<>0: non-zero
x:
doesn’t matter
NOTE:
Times are shorter if CTS and/or data input is done before parameter 9 time out.
B.2.1 Parameter 1 – Repetitions
Parameter 1 specifies the number of sensors that can be read using the same
Instruction 15 parameter configuration. For example, three repetitions are used for
three identical sensors or three sensors that are satisfied by the same parameter
configuration. Instruction 15 must be entered separately for each sensor or group
of sensors requiring a different configuration.
The CR10X sequentially increments sets of control ports and input locations with
each repetition. The number of control ports used for each repetition (two, three or
four) depends on whether data is to be output and/or input, and the number of
lines used to control the timing (refer to Section B.3, ‘Control Port Configurations
and Sensor Wiring’).
The starting output location specified in parameter 5 is used for all repetitions.
B.2.2 Parameter 2 – Configuration Code
The configuration code is a two-digit number specifying the input format, logic
level and baud rate.