GX Works2 - BKRSTP Instruction

amitton

Member
Join Date
Jul 2014
Location
England
Posts
3
Hello There, just a quicky.

I'm having trouble with a function block i'm writing.
Basically I want to reset 28 words to zero from a starting Integer.
I only have the global name of the first integer of the 28 words available.

The BKRSTP instruction would work nicely and I would tell it to reset 448 bits from the first bit of the first word but it doesn't work.

The instruction will not allow me to specify GLOBAL_LABEL.1 as the first bit, it wants a D****.1 or it won't have it.

Is there a way round this?

Is there another instruction I could use to set 28 words to zero from just the global label of the first word?

Thanks in advance for any help.
 
Without looking at a manual the fill move or the block move commands come to mind. Look in the programming manual at those instructions and see if one might suit your needs.


Dave
 
FMOV is the winner.
Not come across it before.

Easy when you know how.

Thanks very much for the input, I now have a functional
function block.
 

Similar Topics

I have a FX3U clone that I am failing to get a simple Structured Text example working on and would really appreciate some help. I created a...
Replies
30
Views
976
I'm starting learning ladder programming. I bought the FX3U kit + coolmay HMI from aliexpress. I'm doing basic testing and uploading codes. I...
Replies
57
Views
3,908
Hello to all, is my first post on the forum, I searched everywhere, but I could not find an answer to this problem; I am quite experienced in...
Replies
13
Views
976
hello, I'm trying to set up communications between two Mitsubishi L series PLCs using the built in Ethernet port. All of the information I can...
Replies
6
Views
1,875
Hello Friends, I am trying to index M Bits, however GX Works2 is not allowing it with following message. https://ibb.co/zPcqj6M...
Replies
3
Views
1,378
Back
Top Bottom