Command and response
JLIP device is transmitting and receiving 11 bytes data each
other.
It is always that master device tarnsmit command frame at
first. And the slave device makes a response to it.
The slave device never transmit data without receiving command
frame from master device.
So, the master should wait the response from the slave device
after transmitting command frame.
Multiple device control
JLIP system is possible to connect many devices to only one
serial port of master device.
Command frame has 'Command header' data for slave devide
to recognize it.
And 'ID number' data shows which slave device the target
is.
Each device that has each different ID number is possible
to select and control one.
Broadcast command
ID number is normally set to one of number from 1 to 99.
But, if it is set to 127, then its command frame is for all
slave device.
So, 127 is called broadcact ID number, and the command frame
with it is called broadcast command.
If broadcast command is transmitted, there is no response
from any slave devices.
And after a decided time elapsed, the master device can transmit
a new command frame.
|
|