|
Page
Contents:
DIP
Switch Settings
|
Switch
|
OFF State
|
ON State
|
Description
|
|
1
|
RAM |
EEPROM or UVPROM |
This switch should match
the type of chip in the memory socket.
You must set the jumpers also to properly configure the memory type. |
|
2
|
Non-Retentive |
Retentive |
This switch determines
if the internal relays 340-373 are set retentive. |
|
3, 4, 5
|
BAUD SW3 SW4 SW5
300 OFF ON ON
600 OFF OFF ON
1200 ON ON OFF
2400 ON OFF OFF
4800 OFF ON OFF
9600 OFF OFF OFF
19200 ON ON ON
38400 ON OFF ON
|
These switches determine
the baud rate for Port 1. |
|
6, 7
|
MODE SW6 SW7
DirectNet Slave OFF OFF
DirectNet Master OFF ON
DirectNet Peer ON OFF
Modbus® RTU Slave ON ON
|
These switches determine
the protocol mode for Port 2. |
|
8
|
|
NOT USED |
Memory
Type Selection Jumpers
|
Jumper
Position
|
Memory
Type
|
|
1
|
no chip (using RAM only)
or
EEPROM (write Protected)
|
|
2
|
EEPROM (write enabled)
|
|
3
|
UVPROM
|
Register
Settings
|
Register
|
Function
|
|
R771
|
Port 2 Secondary Address
(MSB) |
|
R772
|
Port 2 Secondary Address
(LSB) |
|
R773
|
Port 2 baud rate.
BAUD R773
300 1
600 2
1200 3
2400 4
4800 5
9600 6
19200 7
38400 8
9600 any other value
|
|
R774
|
Port 2 RTS Lead Time (x20ms) |
|
R775
|
Port 2 RTS Lag Time (x20ms) |
|
R776
|
Port 1 RTS Lead Time (x20ms) |
|
R777
|
Port 2 RTS Lag Time (x20ms) |
Special
Relays
|
Special
Relay
|
OFF Function
|
ON Function
|
|
C1072
|
Port 2 Parity NONE |
Port 2 Parity ODD |
|
C1076
|
Port 2 HEX Mode |
Port 2 ASCII Mode |
|
C1077
|
Port 1 HEX Mode |
Port 1 ASCII Mode |
SW3 is closest to the DIP
switches.
When the FIXED/USER switch
on the front of the CPU is set to FIXED then the address is set to 1.
NOTES
To set the
address and baud rate of port 2 use the following code which sets the address=5
and the speed=9600.
STR C374
DSTR K6
DOUT1 R773
DSTR K0
DOUT1 R771
DSTR K5
DOUT1 R772
|
When setting
the MODBUS® address on Port 2, the address is entered in its DECIMAL form, with
the two low order digits in R772 and the high order digits in R771. For example,
to set the address to 24 (18 HEX) use the following code:
STR C374
DSTR K0
DOUT1 R771
DSTR K24
DOUT1 R772
|
MODBUS® is
a registered trademark of Modicon, Inc.
|