Example Program
4-2-2 One-to-one NT Link Communications
CPM1 PCs
Programmable Terminal
3. If an out-of-range value is set, the following communications conditions will
result. In that case, reset the value so that it is within the permissible range.
Communications mode:
Communications format:
Transmission delay:
Node number:
This example shows a BASIC program that reads the status of the CPM1's in-
puts in IR 000. For more details, refer to 4-5 Host Link Commands.
An FCS (frame check sequence) check isn't performed on the received re-
sponse data in this program. Be sure that the host computer's RS-232C port is
configured correctly before executing the program.
!
" #
$
%
#
! &
& $ $ '
(
) &
!
"
Using the 1:1 NT Link, the CPM1/CPM1A PC can connected to the Program-
mable Terminal (NT Link Interface) through an RS-232C Adapter.
RS-232C Adapter
RS-232C Cable
Host Link
Standard settings
(1 start bit, 7-bit data; 2 stop bits, even parity,
9,600 bps)
No
00
CPM1 CPU Unit
Section
4-2
CPM1 CPU