Jump to content

Recommended Posts

Posted

Hello everybody,

I did a search on this item but with no results, so...

 

I am programming with GX developer, an a1scpu.

In the program I use the Z and V index register to move some value in D's.

But..today I saw dat these Z and V were already in use, ( made by a predecessor,)

so I tried Z1 and V1 instead, but with no succes; I got an error:

Device setting is wrong.The following causes maybe responsible:
An unusable device has been desinated.
Index modification,module specification setting is wrong.
Special function module device,link direct device setting is wrong.

I guess that the a1scpu does not support Z... and V...

---

Q: Is this the case, or am I doing something wrong?

 

Many thanks!


Posted (edited)

You have an A1S so you only have one V and Z.

Just move your current Z value to a D and mov it back in the end. Also store it your Z value so you can move  it back when this sequence starts again

 

 

Edited by Gambit
  • Like 1

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
×
×
  • Create New...