4-4
Section
SRM1(-V2) Communications Functions
277
Reception Complete:
When either the end code, the specified no. of bytes, or 256 bytes are received.
The following program example is for no-protocol communication conducted
through a RS-232C port using TXD(48) and RXD(47) instructions.
If AR 0805 (Transmission Enable Flag) is ON when 00100 is ON, then data from
DM0100 to DM0104 is transmitted from higher to lower values. When AR 0806
(Reception Enable Flag) turns ON, 256 bytes of received data are read and writ-
ten to DM 0200 from higher to lower values.
First word holding send data.
10 bytes transmitted
Using the RS-232C port data is
stored from higher to lower values
No-protocol communications start
00100
AR0806
AR0805
DIFU(13)
00101
@TXD
DM0100
00100
#0000
#0010
@RXD
DM0200
#0000
256
First word to store receive data.
256 bytes transmitted
Using the RS-232C port data is
stored from higher to lower values
4-4-3 One-to-one NT Link Communications
Using the 1:1 NT Link, the SRM1(-V2) PC can be connected to the Program-
mable Terminal (NT Link Interface.) The RS-232C port can be used for the 1:1
NT Link.
OMRON Programmable Terminal
SRM1
The 1:1 NT Link is possible only with the SRM1-C02-V1/-V2 PCs, which have an
RS-232C port.
PC Setup Settings
The settings relating to 1:1 NT Link PC communications must be set as shown in
the following table.
Word
Bit
Function
Setting
DM 6645
00 to 03
Port settings
1
00: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps)
01: Settings in DM 6646
00 or 01
04 to 07
CTS control settings
0: Disable
1: Set
0 or 1
Program Example