Webbs

MrPLC Member
  • Content count

    43
  • Joined

  • Last visited

Everything posted by Webbs

  1. I have the IODD file for a Banner for a S15C-MGN-KQ and when adding it to the IO Link ILM400 it has the message below which means it wont populate the IO table with the variables setout and named.  The data is all there but it is broken into arrays of 2 bytes.  I have had this issue with some ifm sensors as well but it is only a couple of words so not to hard to deal with.  This one is 16 words out and 15 words back so I would like it work.   I have had a look at the xml files between working and non working and the structures are all different.  Does anyone know if there is anything I can modify in the xml file to get the IO map to be automatically setup? I have included the working ifm file IODD_DF_IO-Link-10.11.zip and non working Banner 217165 - S15C-MGN-KQ.zip. 217165 - S15C-MGN-KQ.zip IODD_DF_IO-Link-10-11.zip
  2. Omron Serial to G9SP

    I have managed to get a rough/crude programing working.  There is error checking to add, card status before sending etc.along with tiding up.  This was just to test that this concept worked so in the future this will be an option for our machine upgrades to keep a G9SP and use an NX1P2.  I will carry out the code tidy up when the project kicks off later in the year. I had a simple program in my G9SP that looked at the Optional Communication Transmission Data with the first bit turning off and output and the 2nd bit turning on an output. Any suggestions for error checking etc would be welcomed.  I will chase my Omron support to see if they can find the sample file or similar.   G9SP.smc2
  3. I am trying to get a G9SP taking over serial to a NX1P2 using a NX1W-CIF01.  I have the details in Manual P545-E1 and it uses a example file which i am unable to locate OMRON_G9SP_SERI232_LD_EV100.SMC I have got the coms working with a CP1L using the example in Manual Z922-E1.  I was wondering if anyone has the example file or a working example they can share for Sysmac Studio. The serial comms will take a little bit to get going but it is the code for the checksum for the sending data that i would rather not have to translate from CX Programer fort he CP1L to Sysmac Studio...... P545-E1-01.pdf.lnk Z922-E1-07.pdf.lnk
  4. Omron Serial to G9SP

    I have managed to write to the G9SP and am now working on reading from it.  Once i have the reading working i will tidy up the code and load my example.
  5. NS Runtime 1.30 v 8.1

    I have NS Runtime working with a CS1 and and NX1P2 on my Windows 7 64bit machine with CX One, Sysmac Studio and NS Runtime V1.3. The Runtime Project needs to be the latest version 8.1. The Serial A Host needs to be removed - this causes the initial error when runtime starts. The NX1P2 needs to be setup with as SYSMAC-CS1/CJ1/CP1 with Ethernet/IP as the Protocol and the PLC's IP address.  I am using the CIO addressing so this needs to be enabled in the NX1P2 Memory settings.  If you set the NX1P2 as a CJ2 it will timeout. I also setup a CS1 PLC with the same settings.
  6. I am trying to set up a ifm AL1322 EtherNet/IP IO Link Master to communicate with a NX1P2 or CS1 PLC. When using Network Configurator I have added the EDS file and added the AL1322 to the network and set its IP address.  It shows all the parameters in the device but if you make a change it says it has downloaded but nothing on the unit changes.  If you make a change to a parameter and then verify it says there are no difference even though there are.  I have set up the communication with the PLC but there is an error  Establishing a tag data link connection failed. This is the same for both the CS1 and NX1P2. I have also tried setting it up using Sysmacstudio for the NX1P2 and get the same result.   I have had the unit back to ifm and there is no issue with it running with an AB PLC.  I can also communicate with the unit using the ifm LR software. Any ideas why the Omron software is unable to read from or write to the unit? ifm_IOL_Master_AL1322.eds
  7. NS Runtime 1.30 v 8.1

    I have spoken with the Omron Engineer and after trying a few things i uninstalled CX One and Sysmac Studio, ran the clean up tool and then reinstalled both and the updates and still had the same issue. I then created a new project in CX Designer and removed the Serial A Connection and then this time it worked (it tried it before the reinstall and there was still an issue).  It could have been a miss match of CX Server versions. I am yet to try it on a standard machine without any other Omron software installed so will let you know how that goes when i get onto that task.
  8. ifm AL1322 Ethernet/IP

    Yes pturmel your are correct, I needed to expand on the code used and how..... I used the Molex-ODVA software I downloaded from the ifm website. https://www.ifm.com/nz/en/product/AL1322?tab=documents Ethernet Configuration Tool (Molex-ODVA)  IP-Address setting of IO-Link Masters (EIP) Attached is a screen shot from the Molex software under the Explicate Messaging Tab  Service 0x0E - Get Attribute Single Class (Hex) 01 Instance 01 Attribute 04 The last 2 bites of the response are the revision number, major 0x01 and minor 0x05 You can also use Omron Networks Configurator, under Tools => Setup Parameters Again is attached a screen shot showing the setup and response. Fixing the EDS file still didn't correct the uploading or downloading of the parameters for the AL1322 in network configurator and you still need to adjust them to match how the unit is setup. Parameter 0001 Assembly Input Size Parameter 0002 Assembly Output Size Parameter 0029 Port Process Data Size 
  9. ifm AL1322 Ethernet/IP

    An Omron engineer helped me find the correct version number using CIP The command via CIP to get the version number is 0E 01 01 04 Attached is the modified EDS file with matching versions numbers. It is all happy now setup via Sysmac Studio with a NX1P2.  I now need to try via CX-Integrator to get it working on a CS1. Thanks for your help pturmel. ifm_IOL_Master_AL1322.eds
  10. ifm AL1322 Ethernet/IP

    This is the latest EDS from ifm. Here are the 2 files i modified and installed in Sysmac Studio.   ifm_IOL_Master_AL1322.eds AL1322 2_3.eds AL1322 3_4.eds
  11. ifm AL1322 Ethernet/IP

    I have edited the EDS file and changed the Major and Minor Version to both 2.3 and 3.4 and get the same errors.  Attached is the wireshark logs with both versions of the EDS. Bridge 2.3.pcapng Bridge 3.4.pcapng
  12. ifm AL1322 Ethernet/IP

    Here are some screen shots from the ifm LR software. The fieldbus firmware is showing 3.4.0.7.  I can modify the esd file but what is the version i should change it to? 
  13. NS Runtime 1.30 v 8.1

    Same here. I uninstalled CX-Server and and NS Runtime and then installed NS Runtime and then CX Server.  CX Server is now looking for the update file CX-Server Version Upgrade Software 2021.01_0401.msi I point it there and it says its not the correct one.  I try and run the update separately Svr2101_0401Setup.exe and get later version installed.
  14. ifm AL1322 Ethernet/IP

    I have got a USB Ethernet adaptor and setup a bridge.  The bridge IP is 192.168.94.91.  PLC 192.168.94.50 AL1322 192.168.94.246 I can see there are failures there.  If you can shed some light on the meaning as networking isn't a strength that would be great.  Thanks Bridge.pcapng
  15. NB Designer - Word Lamp questions

    Yes it is a very different setup to other systems but it is also 1/3 of the cost so there needs to be a compromise somewhere.....
  16. NB Designer - Word Lamp questions

    You need to create a button image with 4 states (or more). You can paste images or load images for each state.  Once done you can then select that graphic for you button.
  17. ifm AL1322 Ethernet/IP

    I don't have a smart with this setup.  I will see if I can do anything to make my laptop a bridge and see if i can get in between the coms from the PLC to the AL1322.  All the info i from ifm points to this as simple and there isn't anything that should cause any problems. I have the EtherCAT version and it works as expected. I will post any update if i can get the traffic between them. Thanks for your suggestions.
  18. ifm AL1322 Ethernet/IP

    I tried your program and i get all the same errors.  I have attached the wire shark for the download and then a power cycle. I have tried a different IP address for the AL1322 (192.168.94.2) and still get the same result. Download.pcapng Restart.pcapng Restart.pcapng
  19. ifm AL1322 Ethernet/IP

    Here is the wireshark capture when i used network configurator to download and upload the parameters from the AL1322 (192.168.94.246) from my laptop (192.168.94.241). Network Config.pcapng
  20. ifm AL1322 Ethernet/IP

    I have tried the setup via network configurator and in sysmac studio.  The ifm setup examples for Omron show both methods.  I have tried 100 & 150 and also 101 & 151 with the same result.
  21. ifm AL1322 Ethernet/IP

    This is the first device i have had trouble with setting up Ethernet/IP.  Yes once you have the data sizes the same it should just work.....  ifm have a downloaded setup tutorial which i followed (and also online with an ifm tech) and still had the same issue.  There is an example program which has a tag set that matches the structure of the data coming back and this also has no joy. I haven't used wire shark before so not 100% sure on how it works.  I did install it and found this in the log.  192.168.94.246 is the AL1322 and 192.168.94.50 is the PLC 35    19.650259    OmronTat_bb:80:55    Broadcast    ARP    60    Who has 192.168.94.246? Tell 192.168.94.50 Attached is the error i get.  If is set the data transfer size to be in correct i still get the same error.  
  22. ifm AL1322 Ethernet/IP

    I have been able to configure the IP address and that all works as expected.  There are no jumpers on this unit and the only setting that can be changed via the ifm software is the Port Process Size.  The documents from ifm for setting this up show you can also change this also with Network Configurator.   I have had devices where there are no parameters to configure in Network Configurator and understand that.  This one offers settable parameters but then won't allow them to be set. I have set it up using the default tag size settings and it doesn't work.   I also set up a NX-EIC202 on the same network to make sure that side was all working ok and that happily worked but the AL1322 still had the issues.
  23. NC413 #8000 Double Command Error

    Here is a copy of the code currently running. NC413_Mach_5_Setup is where the NC card is setup. Servo_Control_A_Side_Car (X axis) and Servo_Control_B_Side_Car (Z axis) are the 2 sections of code which generate the error . I currently don't have a copy of the PLC memory but will try and get one.L4C_Unloader_2008_07_24.cxp
  24. NC413 #8000 Double Command Error

    We currently have a C200HG-Z with a NC413 card. This machine operates 24/7. Axis X & Y control one side of the machine and Z & U the other. Around once or twice a month we get a #8000 error (Double Command Error) on the X or Z or both axis. After clearing this error the machine will run for 30 seconds and the error will occur again. The only way to properly clear it is to restart the PLC and it will work for another 2-3 weeks. The code for each axis operates via Step Step Next and only sends a move signal via one step then waits until the Position Complete flag before moving to the next step and giving another move command. After speaking to Omron NZ they suggested adding a not P_Step before sending the next move command but this hasn’t solved the problem. Can anyone help??
  25. I have a NJ301-1200 and I am wanting to set up an EtherCAT encoder on the machine to replace a incremental encoder.  I have only found absolute versions and purchased a Sick AFS60A single turn encoder (part Number 1059067). I have the EDI file installed and setup the encoder and it moves through its 0-262,144 pulses and then goes back to zero as expected.  I want to set it up as a motion axis and have a linear count and to have it continue to increase with each rotation (like an incremental encoder does).  Is there anyway to set this up? I am wanting to use a motion axis so i can adjust the current encoder position as the machine is running.