EasyManua.ls Logo

Coolmay L02 Series - Freeport Protocol Functions and Examples

Default Icon
116 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Coolmay L02 Series PLC Programming Manual
https://en.coolmay.com/
61
Example of PLC as slave program:
HMI can communicate with PLC by setting BD protocol master station.
8.3.3. Freeport protocol functions and examples
When used as Mitsubishi Freeport protocol function: set M8196=1,
M8125=0; the difference between Mitsubishi protocol 1 and protocol 4 is that
there are end characters 0A 0D (stored in D8124 and D8125 respectively)
For Mitsubishi Freeport Protocol, RS instruction is supported, the D8120
only needs to set the value of the lower 8 bits.
b0
Data length 0: 7 bits 1: 8 bits
b1
b2
Parity (b2,b1)
00: None; 01: Odd; 11: Even
b3
Stop bit
0:1 bit
1: 2 bits
b4
b5
b6
b7
Baud rate (b7,b6,b5,b4)
(0100):600bps (0101):1200bps (0110):2400bps
(0111):4800bps (1000):9600bps (1001):19200bps
(1010):38400bps (1011):57600bps (1101):115200bps

Table of Contents