DeviceNet Slave Communication Module IFD9502
4.
I/O data mapping (default)
PLC → DeviceNet master
PLC→DeviceNet
DeviceNet master → PLC
DeviceNet→PLC
Explanation
12
Format of messages responded
Byte position
0
Frag [0]+XID+MAC ID
1
R/R [1]+Service code [0x32]
2 ~ 7
Response data
If error occurs during the communication, IFD9502 will send the error code to the master.
See the table below for the definitions of error codes.
Error code
Byte 1
Byte 2
0x08
0xFF
0x16
0xFF
0x20
0x01
0x20
0x02
0x20
0x03
0x20
0x04
0x20
0x07
Start address of
Project
I/O data mapping
D408 (H'1198)
M256 (H'0900)
Start address of
Project
I/O data mapping
D500 (H'11F4)
M512 (H'0A00)
When the equipment connected to IFD9502 is PLC, the length of data downloaded from
IFD9502 to PLC is preset as 7 words at addresses D500 ~ D505 and M512 ~ M521.
IFD9502 is able to download maximum 128 words to the word device D, T, and C and 256
bits to bit devices M, Y, and S in PLC, but the total data length downloaded to M and D
should be no more than 256 bytes. The length of data uploaded from the PLC to IFD9502 is
preset as 7 words at addresses D408 ~ D413 and M256 ~ M265. IFD9502 is able to be
uploaded maximum 128 words from the word device D, T, and C and 256 bits to bit devices
M, Y, and S in PLC but the total data length uploaded from M and D should be no more than
256 bytes.
The length of I/O data to be exchanged and address for mapping can be modified through
changing Class 0x97 as listed below. The modification will be valid after IFD9502 is
re-powered. Maximum 16 words are allowed for I/O data exchange.
If you are to return the I/O mapping to default setting, change Attribute1 of Instance1 of
Class 0x97 into H0001 and re-power IFD9502. Please note that doing so can only recover
Data read from PLC
Service not supported (Invalid service code)
Object polled does not exist (Illegal instance ID or class ID)
Communication instruction is illegal
The register address is illegal
The register No. in PLC exceeds the range
Cannot respond to the inquiry
IFD9502 and PLC communication error
Default length of
Max. Length of
I/O data mapping
I/O data mapping
6
10
Default length of
Max. Length of
I/O data mapping
I/O data mapping
6
10
Data written into PLC
Frag [0]+XID+MAC ID
R/R [1]+Service code [0x33]
N/A
Definition
Unit
Description
128
word
(M/8)+(D*2)<=Max
size (256 bytes)
256
bit
Unit
Description
128
word
(M/8)+(D*2)<=Max
size (256 bytes)
256
bit
DVP-PLC Application Manual
Need help?
Do you have a question about the DeviceNet IFD9502 and is the answer not in the manual?