Author Topic: CIP Error - Unknown Code 255  (Read 2811 times)

aduhaime2003

  • Newbie
  • *
  • Posts: 36
    • View Profile
CIP Error - Unknown Code 255
« on: December 01, 2015, 08:20:25 AM »
I have been getting this error a lot lately. It always appears in the code for EthernetIPforCLX.VB when I use the EthernetIPforMicro800Com1.Write command on an address that is a Boolean. I can't find any information on this error, so has anyone else found this error and how to work with it?

I've tried turning the booleans into binary integers using help I got yesterday but after working with it, I started getting the same errors again.


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CIP Error - Unknown Code 255
« Reply #1 on: December 01, 2015, 09:03:27 AM »
There should be additional error codes that go along with the status code of 255. Unfortunately the driver does not bring these code out with the latest release, so the only way to see them would be to use WireShark to capture the packet with the error.

aduhaime2003

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: CIP Error - Unknown Code 255
« Reply #2 on: December 01, 2015, 09:08:09 AM »
Ok that explains it. Thank you for the quick response. Another quick question though: Is it possible to send booleans to a PLC with the EthernetIPforMicro800Com1.Write command or is there another way to send Booleans to the PLC?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CIP Error - Unknown Code 255
« Reply #3 on: December 01, 2015, 04:54:21 PM »
Are you writing to a BOOL, a BOOL array, or a bit within a larger element such as a DINT?

aduhaime2003

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: CIP Error - Unknown Code 255
« Reply #4 on: December 02, 2015, 07:43:55 AM »
I am trying to write to both a Bool and a Bool array.

aduhaime2003

  • Newbie
  • *
  • Posts: 36
    • View Profile
Re: CIP Error - Unknown Code 255
« Reply #5 on: December 04, 2015, 10:16:25 AM »
Is there a way to use the EthernetIPforMicro800Com1.Write command to write Bool values and Boolarrays to a PLC?