SRM1(-V2) Communications Functions
Word
Bit
RS-232C Port Settings
The following settings are effective after transfer to the PC.
DM 6645
00 to 03
Port settings
0: Standard (1 start bit, 7-bit data, 2 stop bits, even parity, 9,600 bps)
1: Settings in DM 6646
04 to 07
CTS control settings
0: Disable; 1: Set
08 to 11
When using a 1:1 PC link: Sets the link words for 1:1 PC Link.
When using a 1:N NT Link: Sets the maximum PT node number.
The 1:N NT Link is supported by SRM1-C02-V2 only.
12 to 15
Communications mode
0: Host Link; 1: No-protocol; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: 1:1 NT
Link; 5: 1:N NT Link
(Any other setting specifies Host Link mode, causes a non-fatal error, and turns ON
AR 1302.)
The 1:N NT Link is supported by SRM1-C02-V2 only.
DM 6646
00 to 07
Baud rate
00: 1.2K, 01: 2.4K, 02: 4.8K, 03: 9.6K, 04: 19.2K
08 to 15
Frame format
00:
01:
02:
03:
04:
05:
06:
07:
08:
09:
10:
11:
DM 6647
00 to 15
Transmission delay (Host Link)
0000 to 9999 (BCD): Set in units of 10 ms, e.g., setting of 0001 equals 10 ms
DM 6648
00 to 07
Node number (Host Link, effective when bits 12 to 15 of DM 6645 are set to 0.)
00 to 31 (BCD)
08 to 11
Start code enable (RS-232C, effective when bits 12 to 15 of DM 6645 are set to 1.)
0: Disable; 1: Set
12 to 15
End code enable (RS-232C, effective when bits 12 to 15 of DM 6645 are set to 1.)
0: Disable (number of bytes received)
1: Set (specified end code)
2: CR, LF
DM 6649
00 to 07
Start code (RS-232C)
00: 256 bytes
01 to FF: 1 to 255 bytes
08 to 15
End code enable (RS-232C)
00 to FF (BIN)
0: LR 00 to LR 15
Not 0: Disable
1 to 7
Start
Length
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
7 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
1 bit
8 bits
Note If an out-of-range value is set, the following communications conditions will re-
sult. In that case, reset the value so that it is within the permissible range.
Communications mode:
Communications format:
Transmission delay:
Function
Stop
Parity
1 bit
Even
1 bit
Odd
1 bit
None
2 bit
Even
2 bit
Odd
2 bit
None
1 bit
Even
1 bit
Odd
1 bit
None
2 bit
Even
2 bit
Odd
2 bit
None
Host Link
Standard settings
(1 start bit, 7-bit data; 2 stop bits, even parity,
9,600 bps)
No
Section
4-4
Setting
As re-
quired
0
1
As re-
quired
As re-
quired
As re-
quired
As re-
quired
As re-
quired
qu ed
275
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?