iaguilera

Can't monitor in simulator InOut variables in a Function Block

5 posts in this topic

I can debug my plc app with simulator. I created some function block, and inside functionblock I can inspect in and out parameters, as well as local variables.

But in/out parameters values are not shown. Any solution?

Im using Sysmac Studio 1.29.2 and selected a NX PLC in my project.

Share this post


Link to post
Share on other sites

You can possibly use the "Watch tab page" under view (ALT+4). 

watchTab.thumb.PNG.84a4ac5ef91b440a5591d

Share this post


Link to post
Share on other sites

Hello Everyone, I thought I would post in this topic as it is sort of related. However I am monitoring ONLINE to PLC (not simulator).

I have a question also about monitoring of variables using WATCH within a function block.

My plc = NJ501-1400 ; Sysmac studio = V1.30

I create my own FB called FESTO-CMMT_SERVO and create instance called "fb_Festo" within program0. See 1.png below.

I then double click on my instance, see 2.png, however as you will see when I 'watch' some of the variables which are used in the instance, it shows "-". Why is this?

This is probably very basic question!

Many thanks

Kelad.

1.png

2.png

Edited by Kelad
spelling

Share this post


Link to post
Share on other sites

Is it a Function Block or a Function?

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