Multi Loop Controller
12
3. Run
3.1 Protocol composition
● Overview
- This product supports RS232C/485 communications, basic functions can be tested or operated
such as control, monitoring, and others using operating program provided in the computer.
- Protocols supported include PC-Link, PC-Link with SUM, Modbus, ASCII, Modbus RTU.
3.1.1 PC-LINK protocol
- Communication of product is performed with ASC II character string, defined Register can be read and written.
<Frame structure>
● Communications command
- This product uses following communication Command.
STX Address Command Data CR LF
STX 01 ~ 99 Refer to each Command 0x0D 0x0A
Command Detail
D R S D Register consecutive reading
D R R D Register random reading
D W S D Register consecutive writing
D W R D Register random writing
W H O Indication of own information
● Use of communication Command
⑴ DRS Command
- Use when reading value of consecutive D Register
- On frame, enter number of data to be read and D Register number
<Transmission frame>
EA : 01~32
D Register : start D Register
Byte size
1 2 3 1 2 1 4 1 1
Description STX Address DRS
,
EA
,
D Register CR LF
<Reception frame>
Data: Hexadecimal number Word data string
Byte size
1 2 3 1 2 1 4 1 ... 1 4 1 1
Description STX Address DRS
,
OK
,
Data(1)
,
...
,
Data(n) CR LF