Search the Community
Showing results for tags 'Macros'.
Found 3 results
-
HI all, I was trying to connect my compass with PLC via SCU32 RS485 (2 wire ) in protocol macros.[ Unit 1 port2] My send command is " 01 03 00 01 00 03 54 0B' & Expected reply is '01 03 06 XX XX YY YY ZZ ZZ ZZ ZZ" I created a new protocol using CX protocol and created a send message & a receive message command and added to sequence 000. (refer pics) Also added PMCR instrcution in cx programmer (refer pic). I can transmit the data , but i cant see any recieve data in D2000. I am not sure what had done wrong, or am i missing something? Any help is much appreciated!! compass_macro2.psw Compass_TEST.cxp
- 8 replies
-
- cx protocol
- rs485
-
(and 2 more)
Tagged with:
-
In CXDesigner, is it possible to use symbol names in macros? Or something other than the symbol address? For example, instead of writing: $B47 = 1; 'turn the lamp on I would like to write: lamp = 1; just because it is easier to remember the symbol names than it is to remember the symbol address. (It is a pain to have to check my symbol table every time I want to write/edit a macro.)
-
I have a CXDesigner project that contains quite a few macros. Is it possible to do a search for the use of a particular bit or word in macros, that will return a link to each of the macros where this bit/word is used? If so, how? It would be useful, because then I can find out at what point a particular bit is set.