Results 1 to 4 of 4

Thread: HMI Systems J1939 Switch Pack

  1. #1
    Join Date
    Aug 2009
    Location
    ifm Exton, PA
    Posts
    192

    Default HMI Systems J1939 Switch Pack

    Attached is the block to use the ifm controllers with ED&D Switches and a sample config file for the EDD Switch. You will need to configure the transmit and receive message ID's based on your needs. This is compatible for firmware versions 5 and above. Not tested w/ 32 bit controller.
    Libraries Used:
    J1939_2_v050001
    Controller Library v050001 (Can 2 transmit in extended mode)

    For EDD on CAN 1:
    J1939_1_v050001
    CAN1_EXT_v050001

    A custome data type is used for the colors of the switches. Available colors are:
    OFF
    RED
    GREEN
    BLUE
    YELLOW
    CYAN
    WHITE
    MAGENTA

    Use these values for the inputs SWx_LED_TOP/BOTTOM.

    EX: Use a SEL block to select between 'OFF' and 'GREEN' to toggle an LED based upon the input of the SEL statement. I left the block without this function so you have the ability to use more than 2 colors at a time.
    Attached Files Attached Files
    Last edited by Jeremy Kopicz; 02-04-2016 at 02:19 PM.

  2. #2
    Join Date
    Sep 2010
    Location
    Burnsville, Minnesota
    Posts
    41

    Default

    Do you know what the default PGNs are for the edd switchpack that you sell? (Basically, how would I get it to work out of the box without using the configuration tool?)
    David Grambsch
    Automation Controls Engineer

    FORCE America Inc.
    www.forceamerica.com

  3. #3
    Join Date
    Aug 2009
    Location
    ifm Exton, PA
    Posts
    192

    Default

    They won't, they don't have any configuration out of the box. There is no data mapping, no message setup etc. You must put in a configuration. The one supplied here will work with our function block. Problems would arise if there is more than one switch pack in a system since they would need different SA or PGN's.
    Last edited by Jeremy Kopicz; 08-18-2011 at 09:06 PM.

  4. #4
    Join Date
    Aug 2009
    Location
    ifm Exton, PA
    Posts
    192

    Default HMI Systems Keypad Update 32 bit

    Attached is a new HMI Systems Rocker switch interface for ifm 32 bit controllers and rocker config sample.

    You can set the number of switches, LED PGN and Button PGN in the HMI_SYS_VARS global var list.

    This export is set for can 3. You can change the can bus in the HMI_SYS_ROCKER_INTERFACE POU and the HMI_ROCKER_COMMS data type.
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •