Delta AH500 Programming Manual page 564

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Flag
COM1 COM2
The communication protocol changes in accordance with the setting
values in SR201, SR202, SR209, SR210, SR211, SR212, SR213,
SR214, SR215, SR216, SM210, and SM212
set to ON, the communication protocol of COM1/COM2 changes in
SM209 SM211
accordance with the setting values in SR201, SR202, SR209,
SR210, SR211, SR212, SR213, SR214, SR215, SR216, SM210,
and
SM212.
SM209/SM211 to OFF.
3.
The special data registers related to the instruction RS/MODRW:
Special data
register
COM1 COM2
SR201 SR202 The communication address of COM1/COM2 on the PLC as a slave
Communication timeout
Suppose the setting value is larger than 0. When the instruction RS/MODRW is
executed, SM104/SM105 is set to ON if no data is received after the timeout
period or the intervening time of the two characters exceeds the setting value.
SR210 SR213
After the problem is solved, users have to reset SM104/SM105 to OFF. The
register can be set to 0 in the RS instruction and the communication timeout
monitoring will be disabled. The MODRW instruction should be set between
100~65535 (ms).
The interrupt character used in the instruction RS
SR621
X
If the character received is the low 8-bit data in SR621, I32 will be triggered. If n
is 0, the interrupt task will not be triggered.
The interrupt character used in the instruction RS
X
SR622
If the character received is the low 8-bit data in SR622, I33 will be triggered. If n
is 0, the interrupt task will not be triggered.
4.
SR215, SR216 are used for recording the PLC communication interface. The codes are
shown in the following table.
Code
Communication
Interface
5.
SR209 and SR212: The setting values of the communication protocols RS485/232 are shown
in the following table.
b0
Data length
b1
Parity bits
b2
b3
b4
0001
b5
b6
0010
b7
0011
0100
0101
6 - 3 9 6
Description
Besides,
the
0
RS232
7 (value=0)
00
:
:
01
10
:
1 bit (value=0)
stop bits
(16#1)
(16#2)
(16#3)
(16#4)
(16#5)
. If
SM209/SM211 is
system
automatically
Description
1
RS485
8 (value=1)
00
01
10
2 bits (value=1)
4800
9600
19200
38400
57600
Action
Users set the
flag to ON,
and the
system
automatically
resets it to
resets
OFF.
2
RS422

Advertisement

Table of Contents
loading

Table of Contents