background image

 

________________________________________________________________________________________________________________ 
 
12-20-2002 

Figure Sheet 1-853-A 

Page 3

 

SBPC-21-EN/IP External Connections/Indicators 

SBPC-21-EN/IP mounting considerations are simplified as all connections to the SBPC-21-EN/IP are 
on the same side of the box. 
 

Figure 1-3:  SBPC-21-EN/IP Side View 
 

 

      

 

 

 

 
 
 
 

 
 

Connection to FifeNet is 
accomplished using the 
standard FifeNet connector. 
Configuration is also 
downloaded to the device 
using this connection.  

Device and network status 
LED’s. These indicators 
provide feedback for 
network troubleshooting.   

Connection to Ethernet is 
accomplished using the standard 
RJ-45 connector. 

Switch ON (

) = 1 

IP Address 

SW1 

SW2 

SW3 

SW4 

SW5 

SW6 

SW7 

SW8 

Switch Value = 0 

 

Use DHCP/BootP server if 
present or use the internally 
stored IP address. If a 
DHCP/BootP server is not 
present, the stored IP address 
will be used. See the section 
SBPC-21-EN/IP Network 
Configuration for details about 
how to store an IP address. 

OFF OFF OFF OFF OFF OFF OFF OFF 

192.168.0.1 

OFF OFF OFF OFF OFF OFF OFF ON 

192.168.0.2 

OFF OFF OFF OFF OFF OFF ON  OFF 

192.168.0.3 

OFF OFF OFF OFF OFF OFF ON  ON 

192.168.0.4 

OFF OFF OFF OFF OFF ON  OFF OFF 

192.168.0.5 

OFF OFF OFF OFF OFF ON  OFF ON 

192.168.0.6 

OFF OFF OFF OFF OFF ON  ON  OFF 

. . . . . 

 

 

 

 

 

 

 

 

192.168.0.252 ON 

ON

 

ON

 

ON

 

ON

 

ON

 

OFF

 

OFF

 

192.168.0.253 ON 

ON

 

ON

 

ON

 

ON

 

ON

 

OFF

 

ON

 

Switch Value = 1 – 254 

 

The first three values of the 
IP address are fixed at 
192.168.0 and the dip switch 
value represents the binary 
value of the last digit of the IP 
address. The subnet mask is 
255.255.255.0 and the 
default gateway is 0.0.0.0. 

192.168.0.254 ON 

ON

 

ON

 

ON

 

ON

 

ON

 

ON

 

OFF 

Summary of Contents for SBPC-21-EN/IP

Page 1: ...08 Oklahoma City OK 73126 U S A Phone 405 755 1600 Fax 405 755 8425 www fife com E mail fife fife com 2000 Fife Corporation All rights reserved SBPC 21 EN IP FifeNet To EtherNet IP Gateway Customer Instruction Manual EtherNet IP ...

Page 2: ......

Page 3: ...s Instruction Manual is subject to change without notice We have compiled this Instruction Manual with the greatest possible care and attention However the possibility of error cannot be completely excluded Fife Corporation accepts no legal liability for incorrect information given and the consequences arising therefrom MS DOS is a trademark of Microsoft Corporation All other trademarks are the pr...

Page 4: ......

Page 5: ...RATION FILE ETHCFG CFG 9 TELNET SUPPORT 10 ETHERNET IP 11 IMPLEMENTED OBJECTS 11 ASSEMBLY OBJECT CLASS 04H 11 I O DATA INPUT MAPPING OBJECT CLASS A0H 12 I O DATA OUTPUT MAPPING OBJECT CLASS A1H 12 FIFENET THEORY 15 FIFENET TIME SLICES 15 MULTIPLEXED TIME SLICES 15 FIFENET MASTER 16 SBPC 21 EN IP DATA FLOW 17 CONFIGURATIONS 19 HARDWARE CONFIGURATION SINGLE CDP 01 19 HARDWARE CONFIGURATION MULTIPLE ...

Page 6: ...SPECIAL CONTROL OF FIFENET DEVICES 36 CDP 01 KEY CODE DATA PATH 36 CDP 01 KEY CODES 37 SIMULATING DUAL KEY PRESSES 37 CDP 01 LED PANEL DATA 38 INDEX 40 ...

Page 7: ...nding device producer and many receiving devices consumer without requiring the same date to be sent multiple times to different destinations The producer sends the data once and each consumer on the network receives the data at the same time The data can be used consumed or ignored by each receiving device independently FifeNet uses the Producer Consumer Model FifeNet FifeNet s deployment of the ...

Page 8: ...the dip switch description and IP address configuration setup shown below for more information If the SBPC 21 EN IP is installed as the end point in a FifeNet network all four jumpers described below should be installed Figure 1 2 SBPC 21 EN IP Top View These jumpers should be installed if the SBPC 21 EN IP is at the end of a FifeNet network They provide network termination The other two jumpers s...

Page 9: ...SW6 SW7 SW8 Switch Value 0 Use DHCP BootP server if present or use the internally stored IP address If a DHCP BootP server is not present the stored IP address will be used See the section SBPC 21 EN IP Network Configuration for details about how to store an IP address OFF OFF OFF OFF OFF OFF OFF OFF 192 168 0 1 OFF OFF OFF OFF OFF OFF OFF ON 192 168 0 2 OFF OFF OFF OFF OFF OFF ON OFF 192 168 0 3 ...

Page 10: ...Flashing Green The Ethernet module has not been initialized Flashing Red A minor recoverable fault has been detected Solid Red An internal error has been detected Flashing Green Red Self test in progress NETWORK STATUS LED State Meaning Off No power or no IP address has been assigned Solid Green At least one Ethernet IP connection is established Flashing Green No Ethernet IP connections are establ...

Page 11: ...ue F0E Unable to write to queue F0F Console I O error Errors that begin with F are unrecoverable faults The SBPC cannot participate in FifeNet or Ethernet operations In the default configuration the SBPC will attempt to restart COMMUNICATION MODULE ERRORS E01 The configuration matrix is corrupted E02 No HMS Anybus module detected E03 Anybus module failed to initialize no interrupt received E04 Any...

Page 12: ...0 00011110 is written as 128 10 2 30 Subnet Mask The IP address is divided into three parts net ID subnet ID and host ID To separate the net ID and the subnet ID from the host ID a subnet mask is used The subnet mask is a 32 bit binary pattern where a set bit allocates a bit for network subnet ID and a cleared bit allocates a bit for the host ID Like the IP address the subnet mask is commonly writ...

Page 13: ...cause the IP address that is being set belongs to the private address set see RFC 1918 Using DHCP BootP If the configuration switches are set to 0 the SBPC 21 EN IP will read the configuration stored in FLASH If DHCP BootP is enabled and a DHCP or BootP server is found the IP address subnet mask and gateway are automatically configured by the DHCP BootP server DHCP Bootp must be enabled by modific...

Page 14: ...essed with the correct MAC address and adopts the IP address sent by the PC The new IP address will also be stored in internal FLASH The arp d command is optional but it removes the static route from the PC ARP table This method can be used to reconfigure modules that already have been configured The MAC address is printed on a label on the bottom side of the SBPC 21 EN IP Note As the arp command ...

Page 15: ...ximately 1 4 MB available for user files Configuration File ethcfg cfg This file contains the network configuration and is read during initialization It is an ASCII text file that may be edited with any text editor If DHCP BootP configuration is needed edit this file to enable it Once changed the SBPC 21 EN IP needs to be restarted for changes to take effect The format of the file is shown below E...

Page 16: ...path is given the directory is created in the current directory rd rd path directory name Removes a directory The directory can only be removed if it is empty cd cd path Changes current directory format format Formats the file system This is a privileged command and can only be called in administration mode del del path filename Deletes a file ren ren path old name path new name Rename a file or d...

Page 17: ...h Diagnostic object Class AAh Assembly Object Class 04h Description The assembly object binds all mapped I O data This data is used for I O connections Default I O instances used are 64h and 96h Class Attributes ID NAME SERVICE DESCRIPTION SEMANTICS DEFAULT MIN MAX DATA TYPE 01 Revision Get_Attribute_All Object Revision The revision attribute containing the revision of the object 1 1 1 UINT Input ...

Page 18: ...t Area Instance 01h ID NAME SERVICE DESCRIPTION SEMANTICS DEFAULT MIN MAX DATA TYPE 01 Data Get_Attribute_Single Data that is read Input Data N A Array of USINT I O Data Output Mapping Object Class A1h Description The assembly object binds all mapped I O data This data is used for I O connections Default I O instances used are 64h and 96h Class Attributes ID NAME SERVICE DESCRIPTION SEMANTICS DEFA...

Page 19: ...f new data flags for 8 bytes area N A LWORD 0Dh Interrupt Cause Get_Attribute_Single Interrupt cause register N A UINT 0Eh Interrupt notification Get_Attribute_Single Interrupt notification register N A UINT 0Fh IN Cycle I O Length Get_Attribute_Single Size of I O IN data bytes N A UINT 10h IN DPRAM length Get_Attribute_Single Number of valid IN bytes in DPRAM N A UINT 11h IN Total Length Get_Attr...

Page 20: ...________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 14 ...

Page 21: ... words There are two multiplex options available in the CDP 01 permitting a single time slice to carry 16 words or 64 words Multiplexing works by inserting the specified data words in a sequential repeating cycle The receiving SBPC 21 EN IP synchronizes with the multiplexed data to extract it This method trades data update speed for higher data quantities up to 64 words per time slice Any combinat...

Page 22: ...contains the Line Edge Sensor value As you can see in the example on the previous page 17 values are being sent over FifeNet but only two time slices of network bandwidth are used The 16 values in time slice 5 are updated at a slower rate than the value in time slice 1 The application dictates which method should be implemented FifeNet Master The FifeNet protocol uses the time slice architecture d...

Page 23: ...gure 2 2 SBPC 21 EN IP Data Flow Block Diagram As you can see in Figure 2 2 each time slice has enough memory to store 64 16 bit data words This is the maximum amount of data that appears on a FifeNet multiplexed time slice These data words are referenced by their order of reception in the multiplexed sequence with DW0 being first and DW63 being last When the time slice is used in the real time mo...

Page 24: ...________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 18 ...

Page 25: ... SBPC 21 EN IP connection diagram is shown below As you can see this allows a single CDP 01 at FifeNet address 1 and an SBPC 21 EN IP at address 10 The SBPC 21 EN IP default Ethernet IP address is 192 168 0 1 but it can be changed using any of the methods described previously Figure 3 1 SBPC 21 EN IP Network Connection with Single CDP 01 FifeNet Customer Ethernet Ethernet Hub FifeNet Master Addres...

Page 26: ... SBPC 21 EN IP Network Connection with Multiple CDP 01 s Software Configuration Configurations have been created to match the single CDP 01 network shown in Figure 3 1 Since the CDP 01 can have one two or three drives a configuration has been created to match the parameters present in each drive configuration The three configurations are Table 3 1 CONFIGURATION SBPC 21 EN IP MATRIX CDP 01 MATRIX S...

Page 27: ...ta capabilities on Data Words 2 through 6 are provided for custom application using state machine interpretation Table 4 1 ETHERNET IP TO FIFENET DATA SINGLE DUAL OR TRIPLE DRIVE CDP 01 CDP 01 Matrix 100246 02X Single 100247 02X Dual 100248 02X Triple SBPC 21 EN IP Matrix 100410 02X Single 100411 02X Dual 100412 02X Triple Word1 Data Type2 Variable Description 0 0x00 WORD Device 1 Command3 Network...

Page 28: ... Right Sensor Value Sensor signal 8 0x08 INT Line Center Sensor Value Sensor signal 9 0x09 INT Line Edge Sensor Value Sensor signal 10 0x0A WORD SM Command Feedback Reserved for state machine control 11 0x0B WORD SM Status Feedback Reserved for state machine control 12 0x0C WORD Common Status Register CDP 01 status 13 0x0D WORD Key Pressed Current key pressed on CDP 01 Panel 14 0x0E WORD Drive 1 O...

Page 29: ...eserved for state machine control 12 0x0C WORD Common Status Register CDP 01 status 13 0x0D WORD Key Pressed Current key pressed on CDP 01 Panel 14 0x0E WORD Drive 1 Operation Mode Drive 1 status 15 0x0F WORD Drive 1 Sensor Mode Drive 1 status 16 0x10 WORD Drive 1 Fault Register Drive 1 fault status 17 0x11 WORD Drive 1 Encoder Register Drive 1 encoder status 18 0x12 WORD Drive 1 Alarm Register Dr...

Page 30: ...ve 1 Operation Mode Drive 1 status 15 0x0F WORD Drive 1 Sensor Mode Drive 1 status 16 0x10 WORD Drive 1 Fault Register Drive 1 fault status 17 0x11 WORD Drive 1 Encoder Register Drive 1 encoder status 18 0x12 WORD Drive 1 Alarm Register Drive 1 alarm status 19 0x13 INT Drive 1 Encoder Value Drive 1 encoder value 20 0x14 WORD Drive 2 Operation Mode Drive 2 status 21 0x15 WORD Drive 2 Sensor Mode Dr...

Page 31: ... for safety reasons This command is External Lock Even though the CDP 01 matrix has the parallel inputs mapped to a FifeNet time slice the External Lock command is still activated by the matrix shown below when this condition appears on the X7 port of the CDP 01 For multidrive CDP 01 s the command is applied to all drive present CDP 01 Parallel Input Matrix for Use with SBPC 21 EN IP Table 5 1 INP...

Page 32: ...SBPC 21 EN IP CUSTOMER INSTRUCTION MANUAL ________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 26 ...

Page 33: ... SETUP 30 DRIVE 1 RGPC SHIFT LEFT 18 DRIVE 1 RGPC SHIFT RIGHT 28 DRIVE 1 RGPC RESET 38 DRIVE 1 SENSOR EDGE LEFT 14 DRIVE 1 SENSOR EDGE RIGHT 24 DRIVE 1 SENSOR EDGE CENTER 34 DRIVE 1 SENSOR LINE CENTER 1C DRIVE 1 SENSOR LINE EDGE 2C DRIVE 1 SENSOR LINE E C 3C DRIVE 2 AUTOMATIC 05 DRIVE 2 MANUAL 09 DRIVE 2 SERVO CENTER 0D DRIVE 2 JOG LEFT 11 DRIVE 2 JOG RIGHT 21 DRIVE 2 AUTO SETUP 31 DRIVE 2 RGPC SH...

Page 34: ...OR LINE CENTER 1C DRIVE 1 SENSOR LINE EDGE 2C DRIVE 1 SENSOR LINE E C 3C DRIVE 2 AUTOMATIC 05 DRIVE 2 MANUAL 09 DRIVE 2 SERVO CENTER 0D DRIVE 2 JOG LEFT 11 DRIVE 2 JOG RIGHT 21 DRIVE 2 AUTO SETUP 31 DRIVE 2 RGPC SHIFT LEFT 19 DRIVE 2 RGPC SHIFT RIGHT 29 DRIVE 2 RGPC RESET 39 DRIVE 2 SENSOR EDGE LEFT 15 DRIVE 2 SENSOR EDGE RIGHT 25 DRIVE 2 SENSOR EDGE CENTER 35 DRIVE 2 SENSOR LINE CENTER 1D DRIVE 2...

Page 35: ... Mode 1 2 LED 10 Edge Right Sensor Mode 2 3 LED 9 Edge Left Sensor Mode 3 4 LED 17 Polarity 4 5 LED 16 Gain 5 6 LED 15 Guide Point 6 7 LED 14 Auto Setup 7 8 8 LED 3 Manual Key 9 9 LED 2 Servo Center Key 10 10 LED 1 Auto Key 11 Not Used 11 LED 8 Sensor Key 12 Drive 3 LED 12 LED 4 f1 Key 13 Drive 2 LED 13 LED 5 F2 Key 14 Drive 1 LED 14 LED 6 F3 Key 15 LED 13 Setup Key 15 LED 7 ASC Key DW6 Device 1 R...

Page 36: ...to 32 767 DW12 Common Status Register COMMON STATUS REGISTER DW12 Data Word Bit No 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description 0 0 Drive 1 Panel Active 0 1 Drive 2 Panel Active 1 0 Drive 3 Panel Active 1 1 External A D Converter Installed 1 1 Drive 3 Installed 1 1 Drive 2 Installed 1 Status of Parallel Output A 1 Status of Parallel Output B 1 Status of Parallel Input 0 1 Status of Parallel I...

Page 37: ... DW13 Data Word Bit No Key 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Hex Value ASC 0 0x7FF F3 0 0xBFFF F2 0 0xDFFF F1 0 0xEFFF Sensor 0 0xF7FF Automatic 0 0xFBFF Servo Center 0 0xFDFF Manual 0 0xFEFF Drive Select 0 0xFF7F Setup 0 0xFFBF Jog Plus 0 0xFFDF Jog Minus 0 0xFFEF RGPC Right 0 0xFFF7 RGPC Left 0 0xFFFB Remote Calibration 0 0xFFFD Error 0 0 0 0 0x0FFF Timeout 0 0 0 0 0xF0FF No Key Pressed 0 0 ...

Page 38: ...0 Description 0 0 1 Automatic 0 1 0 Servo Center 1 0 0 Manual 0 0 1 Jog Left 0 1 0 Jog Right 1 0 0 0 Setup Auto or Man is Also Set DW15 DW21 DW27 Drive Specific Sensor Selection and Temperature Fault DW15 Drive 1 DW21 Drive 2 DW27 Drive 3 SENSOR SELECTION DW15 DW21 DW27 Data Word Bit No 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description 0 0 0 0 0 1 Edge Left X2 0 0 0 0 1 0 Edge Right X1 0 0 0 1 0 0...

Page 39: ...tor Drive Power Supply 1 Fault Motor Overcurrent 1 Fault 12V Power Supply 1 Fault 12V Power Supply 1 Fault Analog Ground 1 Fault A D Converter Initialization 1 Fault Overtemperature DW17 DW23 DW29 Drive Specific Encoder Register DW17 Drive 1 DW23 Drive 2 DW29 Drive 3 ENCODER REGISTER SR2 DW17 DW23 DW29 Data Word Bit No 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description 1 Encoder Counterclockwise St...

Page 40: ... 1 Web Measurement Alarm 1 Loss of Null 1 ASC Automatic Sensor Control Active 1 Fault Serial Power 1 Drive Centered 1 Drive in Shutdown 1 Counterclockwise Maximum Motor Speed 1 Clockwise Maximum Motor Speed 1 Motor Blocked Motor Current 1 SSC Sensor Signal Comparator Active 1 Counterclockwise Maximum Motor Current 1 Clockwise Maximum Motor Current 1 Valid Motor Installed DW19 Drive 1 Encoder Value...

Page 41: ...________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 35 ...

Page 42: ...re pressed on your panel The CDP 01 responds with the key code representing which key or keys are currently pressed Normally the FifeNet Master then issues a command back to the CDP 01 with the key code and a command that tells the CDP 01 which keys are pressed Now that the CDP 01 has received the command from the FifeNet Master telling it that a key has been pressed it will act on that key This i...

Page 43: ...lity to lock out the CDP 01 keypad If local keypad operation was needed concurrently with network control the command should be maintained until the correct feedback is obtained Feedback is obtained by monitoring the CDP 01 status data block parameters of Section 5 For instance Register 0x40D could be monitored to verify that the key pressed command was received and Register 0x405 could be monitor...

Page 44: ...el state We have to look a little deeper to understand how to use this capability Since there are 31 LED s on the CDP 01 panel the information has to use the multiplexed mode to send all the LED states The CDP 01 sends the panel data in two parts Input Registers 0x0403 and 0x0404 as shown in Section 5 Status Data Block The first word Input Register 0x0403 contains the state of 15 panel LED s while...

Page 45: ...________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 39 ...

Page 46: ... Multiple 20 CDP 01 Single 19 Drive EtherNet IP to FifeNet 21 Drive FifeNet to EtherNet IP 22 Network 19 Switches 3 Connections Ethernet 3 FifeNet 3 Network 3 RJ 45 3 Consumer See Producer Consumer Model Control Matrix Dual Drive 26 Single Drive 25 Triple Drive 27 Data Flow 17 Data Mapping 17 Data Transfer 17 DHCP 7 Dip Switch IP Address 3 Settings 6 Error Codes 5 Ethernet Address 6 Address Multip...

Page 47: ...er 33 DW19 Drive 1 Encoder Value 33 DW20 Drive 2 Operating Mode 31 DW21 Drive 2 Sensor Selection 31 DW22 Drive 2 Fault Register 32 DW23 Drive 2 Encoder Register 32 DW24 Drive 2 Alarm Register 33 DW25 Drive 2 Encoder Value 33 DW26 Drive 3 Operating Mode 31 DW27 Drive 3 Sensor Selection 31 DW28 Drive 3 Fault Register 32 DW29 Drive 3 Encoder Register 32 DW30 Drive 3 Alarm Register 33 DW31 Drive 3 Enc...

Page 48: ...________________________________________________________________________________________________________________ 12 20 2002 Figure Sheet 1 853 A Page 42 ...

Reviews: