Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Response is NG! endCode: 1005, endCodeDescription:Command Format Error: Header Error." #15

Open
hipsi opened this issue Aug 17, 2022 · 2 comments

Comments

@hipsi
Copy link

hipsi commented Aug 17, 2022

I'm done scratching my head, could you please point me in the right direction.

I am using a CP1L-EM with a built in ethernet port. Currently I'm just using the Read and Write demo flow

image
image
image

@Steve-Mcl
Copy link
Owner

Steve-Mcl commented Aug 17, 2022

  • try enabling auto connect at the bottom of the config settings
  • what is the IP address & mask of the device where nodered is running?
  • Is the device running node red able to ping the PLC?
  • Try entering the value 213 in the node number setting ( power cycle the PLC after adjusting this setting)
  • Does the device running node-red have a firewall? Does it permit UDP communications on port 9600?

@hipsi
Copy link
Author

hipsi commented Aug 31, 2022

IP address of the PC is 192.168.15.13 and mask is 255.255.255.0. I've only just realised however that I can't ping the PLC. I still need to understand what is what but I found that the default address of the built in ethernet is 192.168.250.1. That I can ping, regardless of what I set in the PLC settings (and upload to the PLC). So at this stage I don't know how to change it from 192.168.250.1 but if I use the default address range, I can get these flows to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants