ButtonBasherNo445533

GX Works 3 1.07Y - Read Analogue Data

5 posts in this topic

Hello

Dumb/simple question.

 

I've created my Module Configuration, assigned parameters etc.

So, the first Analogue Card is  00E0:R60AD8-G

How do I reference the Analog Data in my program?

Is it via address or 'label' basis?

 

Many thanks

Edited by ButtonBasherNo445533

Share this post


Link to post
Share on other sites

Both are possible. what do your prefer:

 

The label is R60ADG_1.stnMonitor[0].wDigitalOutputValue or R60ADG_1.stnMonitor[0].wDigitalOperationValue depending if you want the default value or scaled value

but you can also enter an address in the refresh setting

 

You can find some examples on page : SH081485ENG-3B.T1 of the e-manual viewer

 

 

Edited by Gambit
1 person likes this

Share this post


Link to post
Share on other sites

Thanks for replying.

Ahh, I had to go into the Module Window, then add module label to get those labels.

Probably the second way, in any case - if I may ask a couple more questions?

stnMonitor[0] - is that the first channel I presume? So StnMonitor[1] would be the second channel...

 

How would I go about addressing Digital data from a card?

If the first Digital Input card is 0040:Rx41C4

 

Thanks for your help, I've programmed all types of Allen Bradley PLCs, DCS systems, the old GX IEC Developer, but thrown in to do a this GX Works 3 and no time to do training or anything - so things are a little different!

 

 

Share this post


Link to post
Share on other sites
21 minutes ago, ButtonBasherNo445533 said:

stnMonitor[0] - is that the first channel I presume? So Stnmonitor[1] would be the second channel...

 

 

yes but it's much easier to select it via the element selection window

 

As for the digitals it depends on the slot where the module is located. First address is X0.

Same as in GX IEC Developer but as this is an iQ-R you can change a modules adress in the system parameters - io assignment setting

 

Edited by Gambit
1 person likes this

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