
Maxiflex T2 CPU User Manual
21
-© Omniflex
UMM124XBR04.pdf
4.4 Configuring the Real-time Clock
To set real-time clock, write the current time and date to the correct Data Interchange Table
Registers. The clock will run immediately from this time.
4.5 Configuring the Serial Port
The serial port on the T2 CPU comes equipped with a number of protocols. The required
protocol including any address selection is made by the correct selection of the switches on
the Serial Port Switch (the right hand switch inside the front cover of the CPU under the
serial port DB9 connector) combined with the Serial Port register settings in the CPU.
Follow the instructions below to set the required protocol mode:
4.5.1 MODBUS Slave Protocol
4.5.1.1.
Default MODBUS (ASCII 9600 baud Slave) Mode
To select this mode, switch 7 to “OFF” and 8 to “ON” on the serial port
address switch.
This port is then configured as a MODBUS slave port operating in MODBUS
ASCII mode at 9600 baud with 7 data bits, no parity and 2 stop bits.
Switches 1 to 5 of the serial port address switch set the Modbus
communications Slave address used to access the T2 CPU through this
serial port.
The internal software settable parameters for this function have no influence
on the operation of the port when switch 8 is on.
This mode allows foolproof communications to be established quickly and
easily.
4.5.1.2.
Standard MODBUS Slave Protocol Mode
The full range of options for the Modbus Slave protocol is settable through
OMNISET/DITview in the “Setup Serial Port” group, including ASCII and
RTU mode, Baud Rate, Parity, number of Data bits and Stop bits etc.
To select this mode, switch SW7 and SW8 of the serial port address switch
to OFF.
Switches 1 to 5 of the DIP switch set the communications address used to
access the T2 CPU through this serial port.
Содержание M124xA
Страница 1: ...Maxiflex T2 CPU s M124xA User s Manual...