Webbs

Omron Serial to G9SP

3 posts in this topic

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

Share this post


Link to post
Share on other sites

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.

1 person likes this

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now