evenL

CC-link no digital output

7 posts in this topic

Hello,

I have set up a new CC-link to add I/O to our existing factory PLC (Q03 series CPU). The CC-link system comprises of a master station (QJ61BT11N) and a remote device station (STlite STL-BT1) with several DI, DO and AD modules. Parameters are as per the STlite quick start guide example except no. of occupied stations is 3.

In PLC Parameter I/O assignment the master station is a intelligent type and occupies 128 points from 0D00.

Digital/analogue inputs are being read in the CPU and there are no error lights on either the master/remote stations. However digital output commands are not registered at the remote device station (LED lights on the module show which DO is active).

Any help is greatly appreciated, I'm new to this and I've been hitting my head against a wall for a while on this one now.

Cheers

Share this post


Link to post
Share on other sites

Sorry if this is sounds obvious but I just want to get an idea of where you're at. There's 2 assignments:

1. Assignment of the start IO/ unit no. of the master module to interface with the Q CPU via x or y bits and buffer memory register (in PC Parameter)

2. Assignment of local auto-refresh devices to remote devices  Rww, Rwr, Rx, Ry so you don't need a program to send everything via the buffer memory mentioned above ( in Network->CC-Link Parameters)

The module assignment for No.1 will take 32 xy points (2 channels) and this depends on where the module sits in your rack configuration.

Above you mention 128 points from 0D00. Does this refer to No.2 the auto refresh assignment? Is this specified for both Rx's and Ry's in your CC-Link settings?

What are your cyclic settings for the remote device station? Are enough refresh devices assigned for this?

Because no error lights are showing I think your wiring and settings on the remote device are fine. Just one of the above settings aren't quite right, most likely No.2.

Share this post


Link to post
Share on other sites

Thanks for your reply, nothing can be too obvious!

1. The start I/O of the master unit in the PLC parameter is 00D0. The module sits at the end of the rack. I had originally set this to occupy 128 points but you are right, it should only occupy 32 points. changing this has had no effect however. The start I/O of 00D0 is set in the CC-link network parameters as well.

2. I'm unsure of assigning local auto-refresh devices, i haven't come across this before. I'll describe a bit better what the current setup is:

RX = X1000         RY = Y1000               RWr = D500                       RWr = D600

Station information - station type is ver.1 Remote Device station occupying 3 stations. This should assign enough refresh devices (I have 32 DI, 8 DO and 12 AI).

If i modify value Y1000 i can see this change in the buffer memory of the master station.

What i don't understand is that if the addressing for the Rx's and RWr's is correct and working why the Ry's are not

Share this post


Link to post
Share on other sites

CC-Link Version 1 mode is meant to be very simple.  Each station on CC-Link is assigned 32 bits in, 32 bits out (more intelligent modules also get 4 words in and 4 words out from the Rwr, Rww ranges), in the default configuration automatically.

If your first station is an 8 point input, it uses X1000 to X1007, but occupies X1000 to X101F (32 points).  Node 2 will start at X1020.  Keep in mind that the first node also used Y1000 to Y101F, even if it was only an input card.  So station 2 as an output would start at Y1020, not Y1000.

Devices which occupy multiple stations simply get multiple times this default allocation.

Share this post


Link to post
Share on other sites

Thanks Crossbow. There may be some confusion over the nomenclature i've been using (nodes/stations/modules).

I have one slave device (node?) on CC-link. This comprises of a head station and a number of input/output cards. As i understand it the head station creates a local process image based on what cards are installed. Due to the number of cards i have i need the device to occupy 3 stations so that the user area of RX/RY is 00 to 4F, the system then occupies 50 to 5F. I have 3 input cards installed and can see from my inputs that they occupy from 00 to 1F continuously, 20 to 4F are unused and 50 to 5F is for the initialization program.

I'd expect the outputs to behave the same. I have tried switching all the bits from Y1000 to Y104F but this has had no effect.

Here is a link for the quickstart guide to the STL-BT1 head station that i am using - i probably describes the system a lot better than i can!

http://www.accs.cz/Files/FA/REMOTE_IO/STlite_Series_Quick_Start_Guide.pdf

Share this post


Link to post
Share on other sites

3 stations would be 0-5F, not 4F.

Share this post


Link to post
Share on other sites

Like Crossbow says you are probably not looking at the right refresh devices. You can check how remote devices are mapped to refresh devices in GX Works 2 with this button:

image.jpeg.c634bcbef46b5065cce3299220329

If you could post screenshots of this table and your CCL settings maybe we could spot what is wrong.

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