Chapter 5 Master Module Specifications
5-23
5.8.4 Sample
program
The ladder program which sends and receives Explicit message with HITACHI inverter L100DN is
shown.
The sample program operation outline
The following command is sent to the inverter (MAC ID=1).
Command: It monitors accumulation operation time.
Class = 100(H0064)
Instance = 1(H0001)
Attribute = 115(H73)
Service = H0E(Get_Attribute_Single)
The following command is sent to the inverter (MAC ID=5).
Command: It sets a maximum frequency to 60 Hz.
Class = 101(H0065)
Instance = 1(H0001)
Attribute = 104(H68)
Data = 60(H003C)
Service = H10(Set_Attribute_Sibgle)
EH-150 DeviceNet
Master module
Inverter
L100DN
MAC ID=0
MAC ID=1
Inverter
L100DN
MAC ID=5
MAC ID=0
WR100 = 2
WR101 = 0
ADRIO ( WR102 , R100 )
ADRIO ( WR103 , WR200 )
ADRIO ( WR104 , WR300 )
WR107 = 3
ADRIO ( WR108 , M0 )
ADRIO ( WR109 , WM200 )
ADRIO ( WR10A , WM300 )
FUN 163 ( WR100 )
R7E3
1 scan ON
after RUN
WR100:Number of Master
WR101:Master 1 Slot No.
WR102: Specified R100 to the
control flag
WR103: Specified WR200 to
the top of sending
area
WR104:Specified WR300 to
the top of receiving
area
WR107:Master 2 Slot No.
WR108:Specified M0
to the control flag
WR109:Specified WM200 to
the top of sending
area
WR10A:Specified WM300 to
the top of receiving
area
Initial setting for FUN 162,163