iS7 Ethernet Option Manual
MODBUS Application Protocol Header (MBAP Header)
MBAP Header의 구성 입니다.
Protocol Data Unit (PDU)
실질적인 Modbus TCP의 Data로 Function Code와 Data로 이루어 져 있습니다.
자세한 설명은 아래 “(2) Function Code에 대한 설명”에서 하겠습니다.
고유의 전송 번호로 Client에서 Server로 Data
Frame을 보낼 때 마다 1씩 증가합니다.
Modbus의 Data Frame길이로 MBAP Header에서
Unit Identifier부터의 Byte단위의 길이를 나타냅니
다.
Modbus TCP와 Modbus RTU가 게이트를 통해 연결
되어 있을 경우 Slave번호가 적혀 있게 됩니다.
Modbus TCP만 사용할 경우에는 0xFF로 고정입니
다.