Sign in to follow this  
Followers 0
rquirch

Tag Based Macros

3 posts in this topic

Hey Guys, a couple of questions. platform: NS with CJ2's over EIP. i was wondering if i can treat tagbased network symbols brought into NS from CXprog as locals ex: PMPLC:xGen1PLCFreqSetpoint = PMPLC:xGen1PLCFreqSetpoint +1; do i need to use READCMEM? if so, does a macro absolutely need a hardcoded address? ex: [PMPLC:E9_xxxx] do i need to move everything to locals? READCMEM($Wxx, [PMPLC:E9_xxxx], 2) Thanks in advance.

Share this post


Link to post
Share on other sites
You are not able to use tag names when programming a macro. To use any PLC address in a macro you have to move everything to a NS local address. Macros for now do not support directly addressing any PLC address or Tag.

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
Sign in to follow this  
Followers 0