Mitsumi electronic NZ2GF-ETB Network Card User Manual


 
95
CHAPTER 7 COMMUNICATION OF THE ETHERNET ADAPTER MODULE
7
7.2 Communication Using the On-demand Function
7.2.5 Buffer memories used for the on-demand function
(e) Destination IP address (when using the auto-open UDP port)
Set the IP address of the external device where on-demand data is sent from the Ethernet adapter module.
The effective setting values are from 0.0.0.1 to 255.255.255.255.
When 255.255.255.255 is set, on-demand data is sent to all the external devices (all the hosts) with the same
network address (broadcast communications).
If any number other than those described above is set, a destination IP address error (error code: 423
H
)
occurs. ( Page 157, Section 9.5)
When the IP address is 192.168.3.1:
To perform broadcast communications, use the same network address and port number for all the external devices to
receive on-demand data.
When using broadcast communications, set 255.255.255.0 for the subnet mask pattern of the Ethernet adapter module
(Ethernet part).
(f) Destination port No. (when using the auto-open UDP port)
Set the port No. of the external device where on-demand data is sent from the Ethernet adapter module.
The effective setting values are from 1H to FFFFH.
If any number other than those described above is set, a destination port No. error (error code: 424
H
) occurs.
( Page 157, Section 9.5)
(g) Send data format/send data length
Specify the send data format and send data length.
If any number other than those described above is set, a send data format error (error code: 425
H
) or send data
length error (error code: 426
H
) occurs. ( Page 157, Section 9.5)
Send data format Send data length
Setting value Unit specification Data code Setting value
0
H
Byte
Binary code
0 to 1920
1
H
ASCII code
2
H
Word
Binary code
0 to 960
3
H
ASCII code
Ex.
3
(03
H)
1
(01
H)
192
(C0
H)
168
(A8
H)
b0b7
to
b8b15
+4
to
b0b7 tob8b15
+5
to