8
« on: July 16, 2020, 06:54:52 PM »
This topics is a common topics might have discussed hundreds of time in the forum. However, I could not find any discussion here. I apologize, if I am raising this again.
Anyway, I am having issue communicating with PLC. Getting this message,"Failed to write value. No response from PLC". Here are my steps:
I downloaded the program successfully on PLC ("Do you go to Online". I clicked "No")
Closed the RSLinx
Went to bin folder of the Advanced HMI and open the AdvancedHMI.exe.
As I try to enter value, I get that message.
The PLC is connected in Com4. Below is the code setup,
'SerialDF1forSLCMicroCom1
'
Me.SerialDF1forSLCMicroCom1.BaudRate = "Auto"
Me.SerialDF1forSLCMicroCom1.CheckSumType = MfgControl.AdvancedHMI.Drivers.DF1Transport.ChecksumOption.Crc
Me.SerialDF1forSLCMicroCom1.ComPort = "COM4"
Me.SerialDF1forSLCMicroCom1.DisableSubscriptions = False
Me.SerialDF1forSLCMicroCom1.EnableLogging = False
Me.SerialDF1forSLCMicroCom1.IniFileName = ""
Me.SerialDF1forSLCMicroCom1.IniFileSection = Nothing
Me.SerialDF1forSLCMicroCom1.IsPLC5 = False
Me.SerialDF1forSLCMicroCom1.MaxPCCCPacketSize = 236
Me.SerialDF1forSLCMicroCom1.MyNode = 0
Me.SerialDF1forSLCMicroCom1.Parity = System.IO.Ports.Parity.None
Me.SerialDF1forSLCMicroCom1.PollRateOverride = 500
Me.SerialDF1forSLCMicroCom1.TargetNode = 0
Am I missing any steps? Would appreciate your help.