Using the NetEdit3 I am communicating with the DL06.Hello,
I am having trouble addressing the memory of the DL06.
The Memory_StartAddress seems to be following the AB method of addressing.
How can I address V3000 in the DL06 ?
Hi... I recently purchased a copy of your DLL for interfacing with my PLC. I'm currently trying to get it working and I'm running into a problem. It seems that after I create the custom properties, the IP Address property is being flagged as read only. Here is the code I am trying to get working:
=======================================================================
Dim PLC As vHMIPLCDirectCommLib.CDevice
Dim WithEvents PLCStruct As vHMIPLCDirectCommLib.CPLCDEthernet
Private Sub Command1_Click()
Set PLCStruct = PLC.CreateDevice(PLCD_Ethernet)
With PLCStruct
'.Communications_CommProtocol = IP_plcde
.Communications_PLCIPAddress = "192.168.0.52" 'This is where it fails
.Communications_DeviceID = 1
.Memory_Function = Connect_eth
.Control_Update
End With
End Sub
Public Sub Form_Load()
Set PLC = New vHMIPLCDirectCommLib.CDevice
End Sub
Private Sub Command2_Click()
End
End Sub
=============================================================
Do you have any ideas where I'm going wrong? I'm following the example included with the driver by the letter and it just doesn't seem to work. Thanks in advance for any help you can give!
I am just starting to use your AutomationDirect driver and it looks really good. Could you give me a brief description of the Memory_ReadAsBits property?
another question (about the AutomationDirect Ethernet driver), if you don't mind.
can you tell me about the polling methods (Control_StartPolling and Control_StopPolling) and the Control_UpdateInterval property?
I am trying to do some rapid (~100 readings/second) data acquisition but cannot get more than 4 or 5 per second.
I purchased the vHMI ActiveX probably about 2 years ago. I have only done AB ints, floats, and longs to date. I would like to use it to read counters, timers, etc. I think I should use "sub_element" addressing but I'm not sure how to use it. Could you provide an example of how to read accumulator of a counter (slc500 over Ethernet).
Hi,
I had purchased your plc drivers and hmi package a few years back,
I had done an application with the AB Ethernet with no problems.
I am currently working on a Serial DF1 and am having problems with the Set_Bit and Clr_Bit using a SLC 500
Message that it is not supported?
Is this a problem? Is there a way to set and reset individual bits with this driver and the SLC500?
I have version 1.0.0.0 vHMIABCommLib.dll
Is there an upgrade policy?
Hi Phil...
Thanks for send me the ftp links and passwords.
I installed all .msi files and I started to work...
My hardware is a SLC500 5/03 , 1761-NET-ENI interface and an ethernet switch.
I got communication with RSlinks gateway using fixed IP in my computer 192.168.0.61
and fixed IP in the 1761-NET-ENI interface. I did a test with RSLogix500 to program and
read/write data in 5/03 processor. Everything was running fine... I shut off all Rockwell softwares..
I run your ABEdemo ...just to check the communication...
I filled the IP address field with 1761-NET-ENI IP interface and choose SCL processor.
But I got a socket error at right side...
Do you know what could happend ???
Thanks
I have a question concerning write a Register to my GE FANUC PLC. I create my modbus device in code and can write individual %M bits. But when trying to write to a register and using a double variable, I’m not sure how to implement (.memory_DataFloat) The Problem is that each (double) value takes up two Registers in the PLC. For example if I’m trying to put %R1 to equal 1.504 (A REAL NUMBER) it uses %R1 and %R2 for that value. So the next register I can use is %R3. Using the .Memory_DataInt will only all me to write a INT value. How does the .Memory_DataFloat work and how can I use it to write Double values.
Thanks for you help.
These are my declarations:
Dim dev1 As vHMIModbusMaster.CDevice
Public WithEvents GEmodbus1 As CModbusSerial
Public WithEvents GEmodbus2 As CModbusSerial
Public WithEvents GEmodbus3 As CModbusSerial
Public WithEvents GEmodbus4 As CModbusSerial
Public WithEvents GEmodbus5 As CModbusSerial
Set dev1 = New vHMIModbusMaster.CDevice
Set GEmodbus1 = dev1.CreateDevice(Modbus_Serial_Master)
With GEmodbus1
.Memory_Type = HoldingRegisters_ser
.Memory_StartAddress = 99
.Memory_LengthInWords = 17
.Memory_DataInt(0) = gintSetpoints(2)
.Memory_Function = WriteMemory_ser
.Control_Update
End With
EX:
With GEmodbus1
.memory_Type = HoldingRegisters_ser
.memory_StartAddress = 200
.Memory_LengthInWords = 17
.Memory_DataFloat(0) = gdblSetpoint(1)
.Memory_DataFloat(2) = gdblSetpoint(2)
.Memory_Function = writememory_ser
.Control_Update
End With
Another quick question hopefully.
If I need to start from two different Registers: I'm getting Registers
written over. Is this the right code?
The first part works great. But when I try to write to the PLC starting at
the R219 address it overwrites .Memory_DataFloat(0). I thought that the
data would already be written to the PLC. Hopefully you can help. Thanks
With GEmodbus1
.Memory_Type = HoldingRegisters_ser
.Memory_StartAddress = 170
.Memory_LengthInWords = 14
.Memory_DataFloat(0) = gdblPoints(0)
.Memory_DataFloat(1) = gdblPoints(1)
.Memory_DataFloat(2) = gdblPoints(2)
.Memory_DataFloat(3) = gdblPoints(3)
.Memory_DataFloat(4) = gdblPoints(4)
.Memory_DataFloat(5) = gdblPoints(5)
.Memory_DataFloat(6) = gdblPoints(6)
.Memory_DataFloat(7) = gdblPoints(7)
.Memory_Function = WriteMemory_ser
.Memory_StartAddress = 219
.Memory_LengthInWords = 32
.Memory_DataFloat(0) = gdblPoints(8)
.Memory_DataFloat(1) = gdblPoints(9)
.Memory_DataFloat(2) = gdblPoints(10)
.Memory_DataFloat(3) = gdblPoints(11)
.Memory_DataFloat(4) = gdblPoints(12)
.Memory_DataFloat(5) = gdblPoints(13)
.Memory_DataFloat(6) = gdblPoints(14)
.Memory_DataFloat(7) = gdblPoints(15)
.Memory_DataFloat(8) = gdblPoints(16)
.Memory_DataFloat(9) = gdblPoints(17)
.Memory_DataFloat(10) = gdblPoints(18)
.Memory_DataFloat(11) = gdblPoints(19)
.Memory_DataFloat(12) = gdblPoints(20)
.Memory_DataFloat(13) = gdblPoints(21)
.Memory_DataFloat(14) = gdblPoints(22)
.Memory_DataFloat(15) = gdblPoints(23)
.Memory_Function = WriteMemory_ser
.Control_Update
End With