Mitsumi electronic NZ2GF-ETB ユーザーズマニュアル

ページ / 246
154
9.4.6
Communication using SLMP cannot be performed
(1) Communication from an external device to an Ethernet adapter module
If communication cannot be performed with an external device using SLMP, refer to the troubleshooting section in 
the following manual.
 SLMP Reference Manual
(2) Communication from an Ethernet adapter module to an external device (on-
demand function)
Refer to the following troubleshooting when communication cannot be performed using the on-demand function.
Checking
Action
Is the Ethernet adapter module supporting the on-
demand function?
• Check that bit 0 of Function check area of the own station (buffer memory 
address: 48 (30
H
)) is on.
• Check that the first five digits of the serial No. of the Ethernet adapter module 
is 13012 or later. To perform broadcast communications, check that the first 
five digits of the serial No. is 14022 or later. (
Have the setting data, send data, and send request 
instruction been written in On-demand function data 
sending area (buffer memory address: 1600
H
 to 25FF
H
)?
Check Device of the REMTO instruction completed (D, (D + 1)) that writes data 
in On-demand function data sending area and Completion status ((S1) + 0).
If the REMTO instruction did not complete, find the error cause using the error 
code and take action to correct the problem. (
Is connection being established with the SLMP 
compatible device when TCP/IP is used?
Request for connection from the external device.
To send on-demand data, read Open completion signal (buffer memory 
address: 1500
H
 to 1501
H
) using the REMFR instruction and check if the open 
is completed. Then issue a send request.
Is Send error bit of Send completed flag (buffer memory 
address: 1601
H
, 1A01
H
, 1E01
H
, 2201
H
) on?
Read Send completion flag and Completion code using the REMFR instruction.
If Send error bit (bit 1) is on, find the error cause using the error code stored in 
Completion code (buffer memory address: 1602
H
, 1A02
H
, 1E02
H
, 2202
H
) and 
take action to correct the problem.
When on-demand data was sent the last time, was Send 
request bit of Send request flag turned off?
After writing 1 (ON) to Send request bit of Send request flag (buffer memory 
address: 1600
H
, 1A00
H
, 1E00
H
, 2200
H
) using the REMTO instruction, read the 
following areas:
• Send completed flag (buffer memory address: 1601
H
, 1A01
H
, 1E01
H
, 2201
H
)
• Completion code (buffer memory address: 1602
H
, 1A02
H
, 1E02
H
, 2202
H
)
When Send completed bit or Send error bit of Send completed flag is turned 
on, write 0 (OFF) to Send request flag using the REMTO instruction.
Has the connection for users (1 to 32) been selected for 
Connection No. (buffer memory address: 1603
H
, 1A03
H
1E03
H
, and 2203
H
) upon broadcast communications?
Set "Auto-open UDP Port" for Connection No. (buffer memory address: 1603
H
1A03
H
, 1E03
H
, and 2203
H
) and issue a send request again.
Broadcast communications can be used for UDP only.