DEM instruction in SLC 505

Kolberg

Member
Join Date
Nov 2007
Location
Silkeborg
Posts
10
Hi
Im working with the explicit message instruction "DEM" in a SLC 505 for the first time, and my question is if anybody knows if i can change the node adress dynamicly. As far as i can see, the target node adress is static, but if somebody knows a "workaround" i would love to hear about it!!
 
The DEM, CEM, and EEM instructions for CIP Explicit Messages on DeviceNet, ControlNet, and EtherNet/IP networks were introduced in SLC-5/03,04,05 firmware OS302 Series C FRN 10.

The specifics of the control block are documented in the newest revision of the Instruction Set Reference for the SLC modular controllers, which is Publication number 1747-RM001E.

The DEM target MAC ID (DeviceNet Node Number) is in the low byte of Word 08 of the command block.

I recommend storing the target MAC ID number in an Integer register, and using a Masked Move (MVM) instruction with a mask of 0x00FF to move it into the low byte of Word 08.
 
If you have a new 1747-SDN Series C module, be sure you have firmware 8.005 because of a possible initialization data problem in the earlier firmware for the Series C module.

I recently posted a 5-rung SLC-500 routine using a single DEM instruction to read multiple parameters out of a single device, which might serve as an example for your application.

On MrPLC: File ID# 748

The same file will be on the RA Samplecode website in a couple of days.
 

Similar Topics

Hi All Some time ago i asked for some help regarding the SLC505 DEM instruction. Now a new question has come up - can the 1747-SDN slot number...
Replies
1
Views
1,629
I purchased a Viator HM-PF-USB-POWERX HART modem specifically because I was told it worked with Emerson AMS Device Configurator. But, Device...
Replies
0
Views
447
We have two sites that are stranded with no line of site, they are handled by phone/modem with a chain that includes: Stranded site (client)...
Replies
5
Views
908
Have anyone done this? I don't see why this wouldn't work but I may be missing something too. Getting any recurring account opened is a pain...
Replies
6
Views
1,054
Hi Everyone, I have looked around the Sierra Wireless site for answers and haven't come up with anything concrete there. I'm looking to get the...
Replies
3
Views
1,525
Back
Top Bottom