This Special Function, 310, enables you to change the serial communication port default settings for M91 controllers. M90 models do not support this function.
In Jazz controllers, use Function 310 to modify the default settings of an Add-on Port.
Since there are no Ladder elements for Special Functions, you perform them by storing values into SIs in accordance with the tables and figures shown below.
After the parameters below have been stored into the appropriate SIs, initialize the COM port by storing 310 into SI 140.
SB 141 indicates whether the COM port has been successfully initialized with the new parameters successfully: 1 = success, 0 =fail.
Parameter |
Store to SI |
M91 |
Jazz: MJ20-RS |
Jazz: MJ20-PRG |
Baud Rate |
141 |
Legal Baud rates |
||
|
|
|
|
|
Data bits |
142 |
|
||
Parity |
143 |
|
||
Hardware Flow Control |
144 |
|
RS232:
Note that in order to implement RS485, you must write 2 to SI144 |
Always write 0 |
Time out |
145 |
Time out units: 10 msecs; a Time out value of 100 is equal to 1 second. Legal values:
|
||
Stop bits |
146 |
|
2 stop bits is not supported |
|
COM Init |
140 |
This must be the final parameter stored. Storing the value 310 into SI 140 initializes the COM port with the new parameters. |