joseph_cs

QJ71MT91 - Z.MBRW Instruction

4 posts in this topic

I am currently working with a Q02HCPU in which I have installed a QJ71MT91 module and configured it to read from a slave device via ModbusTCP  using the Automatic Comm. Parameters and has been working just fine. 

However, I now came to the need of writing to the same slave device. To do so, I plan to use the Z.MBRW instruction because I would like to write at specific times when I chose. After following the ladder needed to execute the Z.MBRW instruction from the CPU manual, I have attempted to execute the instruction multiple times but puts the CPU in error mode with error code 4004 (Instrct. Code Err) when executing instruction every time. 

I have attached two pictures, error 4004 and Z.MBRW instruction ladder, for further reviewing. 

Has anyone been successful in executing and writing with this instruction?

 

Thanks in advance!

Share this post


Link to post
Share on other sites

There are no pictures attached

Share this post


Link to post
Share on other sites

Sorry for the delay, I have attached the photos. 

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