AdvancedHMI Software

General Category => Support Questions => Topic started by: Jie on October 17, 2020, 11:58:50 PM

Title: Trigger Coil via ModbusRTUCOM
Post by: Jie on October 17, 2020, 11:58:50 PM
Hi,

I trying to set a condition when user select any combobox contents ,
VB will automatically trigger a coil in Panasonic FP0R PLC to reset a counter.
By using selectorswich,
the address specified works.
However if i am using ModbusRTUCom2.Write(002049, 0)

The below Exception error came out :
MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException: 'Invalid Address 2049 - Invalid first digit in Address'

Can you advise?
Title: Re: Trigger Coil via ModbusRTUCOM
Post by: Godra on October 18, 2020, 12:15:47 AM
Use quotation marks - ("002049", "0") since the Write function is defined as (String, String).