CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Dec 13, 2018 7:15 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: PLC as CANOpen slave
PostPosted: Sat Apr 28, 2018 4:59 pm 
Offline

Joined: Sat Apr 28, 2018 4:23 am
Posts: 1
I'm trying to get an ifm CR7032 to act as a CANOpen slave.

I have added the slave to the device configuration, and when I select "heartbeating" and a heartbeat period I can see the heartbeat messages being broadcast on the bus.
If I select "automatic startup" then the PLC broadcasts OPERATIONAL status in its heartbeats.

The problem is that I cannot get it to do anything else.
For example, without the automatic startup the slave goes to PRE-OPERATIONAL state. NMT messages from the master do not change the state - neither sending a message to all nodes on the network, or sending specifically to the PLC slave works.
SDO requests are not responded to either. For example, a request for the mandatory device type at 0x1000 is not answered.

I have not configured any tx or rx PDOs in the default PDO mappings. It is just a minimal slave created through adding a device to the device manager then configuring the options in the tabs for that slave.

Is there some FB that needs to be called in my program to get the slave to respond?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited