background image

FX

3U

-J1939

USER'S MANUAL

Summary of Contents for FX3U-J1939

Page 1: ...FX3U J1939 USER S MANUAL ...

Page 2: ......

Page 3: ...its and mechanisms should be designed to ensure safe machinery operation in such a case For the operating status of each node in the case of a communication error see the FX3U J1939 user s manual and the product manual of each node Erroneous output or malfunctions may cause an accident When executing control data changes to an operating PLC construct an interlock circuit in the sequence program so...

Page 4: ...nt specifications described in PLC main unit manual Hardware Edition Never use the product in areas with excessive dust oily smoke conductive dusts corrosive gas salt air Cl2 H2S SO2 or NO2 flammable gas vibration or impacts or expose it to high temperature condensation or rain and wind If the product is used in such conditions electric shock fire malfunctions deterioration or damage may occur Do ...

Page 5: ... following precautions in order to prevent any damage to the machinery or accidents due to abnormal data written to the PLC under the influence of noise 1 Do not bundle the main circuit line together with or lay it close to the main circuit high voltage line or load line Otherwise noise disturbance and or surge induction are likely to take place As a guideline lay the control line at least 100 mm ...

Page 6: ...fe recycling and disposal of your device 20 Reference The PLC is a precision instrument During transportation avoid impacts larger than those specified in the general specifications of the PLC main unit manual by using dedicated packaging boxes and shock absorbing palettes Failure to do so may cause failures in the PLC After transportation verify operation of the PLC and check for damage of the mo...

Page 7: ...eut être désactivée Les circuits et mécanismes externes devraient être conçus pour assurer le fonctionnement sûr des machines dans un tel cas Pour l état d opération de chaque nœud dans le cas d une erreur de communication consultez le manuel de l utilisateur FX3U J1939 et le manuel du produit de chaque nœud Une sortie erronée ou un dysfonctionnement peut être à l origine d un accident Lors de l e...

Page 8: ...ogrammable Hardware Edition N utilisez jamais ce produit dans les zones à poussières excessives à fumées grasses à poussières conductrices à gaz corrosifs air salé Cl2 H2S SO2 ou NO2 à gaz inflammables à vibrations ou à impacts ou ne l exposer jamais à haute température à condensation ou à pluie et vent Si le produit est utilisé dans de telles conditions des électrocution des feux des dysfonctionn...

Page 9: ... circuit de rupture du fil de dysfonctionnements ou de dommages au produit La taille des extrémités du câble lors de la mise au rebut doit se conformer aux dimensions décrites dans le manuel Pour le couple de serrage respecter les spécifications du manuel Tordre les extrémités des câbles toron et s assurer qu il n y a pas de fils desserrés Ne pas souder et plaquer les extrémités des fils électriqu...

Page 10: ...connecter ou déconnecter les câbles d extension Faute de quoi il y a risque de panne ou de dysfonctionnement des équipements Ne pas laisser tomber le produit ni donner un choc sur lui Cela pourrait endommager le produit Coupez l alimentation du contrôleur programmable avant d attacher ou de détacher les appareils suivants Faute de quoi il y a risque de panne ou de dysfonctionnement des équipements...

Page 11: ...ut and read it whenever necessary Always forward it to the end user 2012 MITSUBISHI ELECTRIC CORPORATION Manual number JY997D43101 Manual revision D Date 10 2017 This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights whic...

Page 12: ...be incorporated in a device or system used in purposes related to human life Before using the product for special purposes such as nuclear power electric power aerospace medicine or passenger movement vehicles consult with Mitsubishi Electric This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the produc...

Page 13: ...l configuration 17 1 3 2 Applicable PLC 17 1 3 3 Connection with PLC 18 1 4 System Start up Procedure 19 2 Specifications 20 2 1 General Specifications 22 2 2 Power Supply Specifications 22 2 3 Performance Specifications 22 3 Installation 23 3 1 Connection with PLC 24 3 2 Mounting 25 3 2 1 DIN rail mounting 25 3 2 2 Direct Mounting 26 4 Wiring 27 4 1 Applicable Cable and Connector 28 4 1 1 Applica...

Page 14: ... to 479 Message Specific Error Code List 43 5 20 BFM 1280 to 1284 Manual Transmit Trigger flags 45 5 21 BFM 1900 to 1927 PLC RUN STOP Messages 45 5 22 BFM 3000 to 3879 Configuration of Remote Address to ECU Name Assignment 46 6 J1939 Communication Mode 48 6 1 Send Receive Data Buffer 48 6 1 1 BFM 100 to 399 Send receive data buffer for standard messages 48 6 1 2 BFM 1300 to 1799 Send receive data ...

Page 15: ...rface 77 9 7 Display Current Parameter 77 9 8 CIF Error code list 78 10 Communication Settings Procedure 79 10 1 J1939 Communication Mode 80 10 2 Layer 2 communication 11 29 bit ID mode 81 11 Example Program 82 11 1 System Configuration 83 11 2 Contents of Operation Setting of FX3U J1939 83 11 3 J1939 Communication Example Programs 84 12 Diagnostics 92 12 1 Preliminary Checks 93 12 2 Detail Error ...

Page 16: ...FX series product catalog or consult with your nearest Mitsubishi product provider Requirement for Compliance with EMC directive The following products have shown compliance through direct testing of the identified standards below and design analysis through the creation of a technical construction file to the European Directive for Electromagnetic Compatibility 2014 30 EU when used as directed by...

Page 17: ...s PLC refer to FX3GC User s Manual Hardware Edition For details regarding installation in an enclosure of FX3U Series PLC refer to FX3U User s Manual Hardware Edition For details regarding installation in an enclosure of FX3UC 1 Series PLC refer to FX3UC User s Manual Hardware Edition For details regarding installation in an enclosure of FX5U 2 PLC refer to MELSEC iQ F FX5U User s Manual Hardware ...

Page 18: ...97D45401 Describes FX3GC Series PLC specification details for I O wiring installation and maintenance 09R533 FX3U Series PLCs Main Unit Supplied Manual FX3U Series Hardware Manual JY997D50301 Describes FX3U Series PLC specification for I O wiring and installation extracted from the FX3U User s Manual Hardware Edition For details refer to FX3U Series User s Manual Hardware Edition Additional Manual...

Page 19: ...Structured Programming Manual Fundamentals SH 080782 Programming methods specifications functions etc required to create structured programs 13JW06 Additional Manual FX CPU Structured Programming Manual Device Common JY997D26001 Devices parameters etc provided in structured projects of GX Works2 09R925 Additional Manual FX CPU Structured Programming Manual Basic Applied Instruction JY997D34701 Seq...

Page 20: ...ser s Manual Hardware Edition of the main unit to be used for your system Special function unit block or Special extension unit Generic name for special function unit and special function block The number of connectable units however depends on the type of main unit To check the number of connectable units refer to the User s Manual Hardware Edition of the main unit to be used for your system Spec...

Page 21: ...1 Format also just PDU1 PDU 1 Format is used in peer to peer communication In PDU 1 format the PF field is in the range K0 to K239 H00 to HEF The PDU Specific PS in the next 8 bits contains the destination address DA of the message PDU 2 Format also just PDU2 PDU 2 Format is used for broadcast messages and transports the group extension GE information in the PDU Specific PS field PGN Parameter Gro...

Page 22: ...pter and the title of the section for the current page This area shows the manual title for the current page The mark indicates a reference destination and reference manual Shows the reference Indexes the chapter number Shows the title of the chapter and the title of the section Shows the manual title The right side of each page indexes the chapter number for the page currently opened ...

Page 23: ...malfunctions Mitsubishi Electric recommends FX3U J1939 users Do not use send receive any NMEA 2000 reserved PGNs with the FX3U J1939 Do not use the FX3U J1939 in a NMEA 2000 Network or mixed J1939 NMEA 2000 network For safe use This product has been manufactured as a general purpose part for general industries and has not been designed or manufactured to be incorporated in a device or system used ...

Page 24: ...on of the buffer memory For further information on applied instructions bit specification of word devices and direct specification of buffer memory refer to the following manual Refer to PROGRAMMING MANUAL Note Buffer memory that is assigned in 32 bits must use 32 bit instructions to read write 32 bit data cannot be correctly read written from to buffer memory if 16 bit read write instructions are...

Page 25: ...ension cable 5 Top cover 2 Direct mounting hole 2 holes of 4 5 0 18 mounting screw M4 screw 6 DIN rail mounting groove DIN rail DIN46277 35 mm 1 38 width 7 Nameplate 3 Status LEDs See Subsection 1 2 2 8 DIN rail mounting hook 4 Power LED See Subsection 1 2 2 9 CAN bus connector 90 3 55 80 3 15 mounting hole pitch 43 1 7 4 0 16 8 0 32 87 3 43 9 0 36 3 2 4 6 8 7 2 4 5 mounting holes 9 1 5 Unit mm in...

Page 26: ...le is not transmitting or receiving messages ON Module is transmitting or receiving messages ERROR Red OFF Normal operation status SINGLE FLASH 1 Error passive state For details refer to Section 12 2 BLINKING 1 General error For details refer to Section 12 2 ON BUS OFF state For details refer to Section 12 2 POWER Green ON 24V DC power is properly supplied from PLC main unit Pin No Signal Descript...

Page 27: ...9 to an FX3GC FX3UC Series PLC An FX5 CNV BUS or FX5 CNV BUSC is necessary to connect the FX3U J1939 to an FX5U FX5UC PLC CAN bus network CAN bus network Node J1939 Node or CAN Layer 2 Node Terminating resistor The CAN bus network requires terminating resistors for both network ends Maximum transmission distance SAE J1939 11 40 m 131 2 stubs max 1 m 3 3 at 250 kbps SAE J1939 15 40 m 131 2 stubs ma...

Page 28: ...X2NC CNV IF or FX3UC 1PS 5V is necessary to connect the FX3U J1939 to an FX3GC FX3UC PLC An FX5 CNV BUS or FX5 CNV BUSC is necessary to connect the FX3U J1939 to an FX5U FX5UC PLC The optional FX0N 65EC FX0N 30EC and FX2N CNV BC are necessary to lengthen the extension cable FX3G FX3GC FX3U FX3UC PLC The optional FX5 65EC FX5 30EC and FX5 CNV BC are necessary to lengthen the extension cable FX5U FX...

Page 29: ...r to Chapter 2 Refer to Chapter 12 If the error status data is abnormal refer to Chapter 12 Refer to Chapter 1 and 2 System configuration System configuration Installation and wiring Refer to Chapter 3 and 4 Installation Arrangements For arrangements refer to the manual Mounting Wiring Applicable cable and connector CAN bus wiring Grounding Bus terminator Communication settings Refer to Chapter 5 ...

Page 30: ...he PLC for protection against abnormalities in data transfer Precautions for using products in a UL cUL Class Division 2 environment Products 1 with the Cl DIV 2 mark on the rating plate are suitable for use in Class Division 2 Groups A B C and D hazardous locations or nonhazardous locations only 2 This mark indicates that the product is certified for use in the Class Division 2 environment where ...

Page 31: ...it de verrouillage dans le programme de séquence Dans le même temps déterminer les actions dans le système entre l équipement externe et le contrôleur programmable pour la protection contre les anomalies dans le transfert de données Precautions d utilisation des produits en environnement de UL cUL Class Division 2 Les produits 1 marques Cl DIV 2 sur la plaque signaletique peuvent etre utilises en ...

Page 32: ...cation Transmission Type CAN bus network Applicable Function J1939 Node or CAN Layer 2 Node J1939 Services According to SAE Standards SAE J1939 recommended practice for serial communication vehicle networks SAE J1939 11 physical layer SAE J1939 15 reduced physical layer SAE J1939 21 data link layer SAE J1939 71 vehicle application layer SAE J1939 73 application layer diagnostics SAE J1939 75 appli...

Page 33: ...Loose connections may cause malfunctions PRÉCAUTIONS D INSTALLATION Assurez vous de couper toutes les phases de l alimentation externe avant d essayer l installation ou le câblage Faute de quoi il y a risque d électrocution ou d endommagement du produit PRÉCAUTIONS D INSTALLATION Utilisez le produit dans les spécifications d environnement générique décrites dans le manuel de l unité principale du ...

Page 34: ...X3UC Series PLC or FX2NC Series PLC extension block an FX2NC CNV IF or FX3UC 1PS 5V is required For connection to an FX5U FX5UC PLC an FX5 CNV BUS or FX5 CNV BUSC is required For further information refer to the respective PLC manual Refer to FX3G Hardware Edition Refer to FX3GC Hardware Edition Refer to FX3U Hardware Edition Refer to FX3UC Hardware Edition Refer to MELSEC iQ F FX5U User s Manual ...

Page 35: ...ry 3 Connect the extension cable Connect the extension cable B in the figure to the right to the main unit I O extension unit block or special function unit block on the left side of the product For further information of the extension cable connection procedure refer to the respective product PLC manual Refer to FX3G Hardware Edition Refer to FX3GC Hardware Edition Refer to FX3U Hardware Edition ...

Page 36: ...e screw position and quantity refer to the dimensioned drawing specified below For dimensions refer to Section 1 2 3 Connect the extension cable Connect the extension cable to the main unit I O extension unit block or special function unit block on the left side of the product Refer to Step 3 in Subsection 3 2 1 For further information of the extension cable connection procedure refer to the respe...

Page 37: ...the terminal block CAN bus connector in accordance with the following precautions Failure to do so may cause electric shock equipment failures a short circuit wire breakage malfunctions or damage to the product The disposal size of the cable end should follow the dimensions described in the manual Tightening torque should follow the specifications in the manual Twist the end of strand wire and mak...

Page 38: ...teur du bus CAN conformément aux précautions suivantes Faute de quoi il y a risque d électrocutions de pannes d équipement de court circuit de rupture du fil de dysfonctionnements ou de dommages au produit La taille des extrémités du câble lors de la mise au rebut doit se conformer aux dimensions décrites dans le manuel Pour le couple de serrage respecter les spécifications du manuel Tordre les ex...

Page 39: ...odel name CRIMPFOX ZA 3 2 Old model name CRIMPFOX UD 6 4 1 4 Removal and installation of CAN bus connector 1 Removal Evenly unscrew both CAN connector mounting screws and remove the CAN connector from the module If the cable is attached to the connector hold and pull the connector on the side Do not pull the cable 2 Installation Place the CAN connector in the specified position and evenly tighten ...

Page 40: ...User s Manual Hardware 1 An FX2NC CNV IF or FX3UC 1PS 5V is necessary to connect the FX3U J1939 to an FX3GC FX3UC Series PLC 2 An FX5 CNV BUS or FX5 CNV BUSC is necessary to connect the FX3U J1939 to an FX5U FX5UC PLC Terminating resistor Grounding resistance of 100 Ω or less Class D 1 CAN_GND 2 CAN_L 3 CAN_SHLD 4 CAN_H 5 CAN_V 1 CAN_GND 2 CAN_L 3 CAN_SHLD 4 CAN_H 5 CAN_V 1 CAN_GND 2 CAN_L 3 CAN_S...

Page 41: ...s as follows The grounding resistance should be 100 or less Independent grounding should be established whenever possible Independent grounding should be performed for best results When independent grounding is not configured perform shared grounding as shown in the following figure For further information refer to the respective PLC manual Refer to FX3G Hardware Edition Refer to FX3GC Hardware Ed...

Page 42: ...or further information refer to the following section Therefore when creating a program do not frequently switch BFM 22 bit 0 from OFF to ON Refer to Section 5 5 BFM No Description Default value Read Write Stored to Flash ROM Reference BFM 0 to 19 Not used BFM 20 Data exchange control K0 R W Section 5 3 BFM 21 Function mode K1939 R W Section 5 4 BFM 22 Save Restore configuration K0 R W Section 5 5...

Page 43: ...ng J1939 communication mode refer to Section 6 1 When using the Layer 2 communication 11 29 bit ID mode refer to Section 7 1 BFM 974 to 999 Not used BFM 1000 to 1066 Command interface K0 R W Chapter 9 BFM 1067 to 1099 Not used BFM 1100 to 1267 Pre defined Layer 2 message configuration R W 2 Section 7 2 BFM 1268 to 1269 Not used BFM 1270 to 1272 Layer 2 RTR flags K0 R Section 7 3 BFM 1273 to 1279 N...

Page 44: ...owing program is created 1 point of data will be read out from buffer memory BFM 30 of unit No 1 to data register D10 2 Writing PLC data into BFM MOV instruction If the following program is created 1 point of data H0001 will be written to buffer memory BFM 20 of unit No 1 2 FROM TO instructions 1 FROM instruction Reading out BFM data to PLC Use the FROM instruction to read the data from the buffer...

Page 45: ...2 26 27 is automatically written to flash ROM The maximum number of writes to the built in flash ROM is 10 000 times Therefore when creating a program do not frequently write to such buffer memories Note A change of the function mode requires a restart of the FX3U J1939 to become effective For module restart refer to Section 5 7 Bit Description Bit 0 Data consistency flag To keep data consistency ...

Page 46: ...M 1 When operation is completed FX3U J1939 will automatically reset this bit Bit 1 When this bit is set all BFMs are reset to default values factory default After all BFMs are reset BFM 21 24 25 bit 2 26 and 27 are saved to Flash ROM Save to Flash ROM is not executed for configuration BFMs 1 When operation is completed FX3U J1939 will automatically reset this bit Bit 2 Restore default configuratio...

Page 47: ...tored to flash ROM The maximum number of writes to the built in flash ROM is 10 000 times Therefore when creating a program do not frequently write to such buffer memories Module restart When restarting the module set BFM 25 Bit 0 to ON In this case set data that was not saved will be lost Set Value Baud Rate J1939 Communication Mode Layer 2 Communication 11 bit ID Mode Layer 2 Communication 29 bi...

Page 48: ...itializing 5 8 BFM 26 FROM TO Watchdog The FROM TO Watchdog can be used to monitor if the PLC program cyclically accesses data BFMs 100 to 399 or the extended data area in BFM 1300 to 1799 After the first FROM TO on the data BFM the Watchdog will check if the next access to the data BFMs takes place before the time set in BFM 26 expires BFM 26 sets the Watchdog timer in units of 10 ms default valu...

Page 49: ...e built in flash ROM is 10 000 times Therefore when creating a program do not frequently write to such buffer memories Note The node address is not used in Layer 2 mode any write access to this BFM will be ignored The value is not changed or stored to non volatile memory as long as the module is in Layer 2 mode If the node address is the result of an address claiming procedure the address is displ...

Page 50: ...ddress range the FX3U J1939 will not try to claim another address if a node with higher priority claims the address set in BFM 27 If the FX3U J1939 cannot use the address in BFM 27 due to an address claim from a node with higher priority the FX3U J1939 will set BFM 29 bit 1 and stores HFE can not claim address in BFM 28 K0 to K127 FX3U J1939 uses the address set in BFM 27 for communication However...

Page 51: ...BFM 28 will show the new address If the address conflict cannot be solved BFM 28 remains HFE and BFM 29 bit 9 is set to ON 5 11 BFM 29 Error Status For further information on error status refer to the following section Refer to Section 12 2 5 12 BFM 30 Module ID Code Shows the module ID code K7180 of the FX3U J1939 module 5 13 BFM 35 CAN Transmit Message Error Counter Displays the current value of...

Page 52: ...Stationary Equipment which equals the default K5 Vehicle System In combination with the Industry group the Vehicle system is used to identify a unit with several functions In the case of Industry Group 5 this could be a generator set The exact function within the generator set unit will be assigned by the function field The default value K127 defines the Vehicle System as Not available or Not yet ...

Page 53: ...ages for Layer 2 mode and 79 messages for J1939 mode If several message buffers are combined for messages with more than 8 data bytes in J1939 mode the error code is stored only in the first related message e g If message 3 4 and 5 are combined to transport a message with 24 byte any errors will be displayed in BFM 403 message 3 error code Note Write K0 to clear the error for related message If al...

Page 54: ... the expected value which means at least one message was missed H1303 Data frame overflowed When opening an RTS CTS connection the two involved nodes negotiate how many data messages can be sent before another CTS is required If the remote node sends another data frame without waiting for clear to send this error will occur H1304 The received message matches the configured PGN but the DLC does not...

Page 55: ...about the events PLC RUN STOP of the local node this function can be used to define up to 4 messages to be transmitted on occurrence of each of the two events For setup in J1939 communication mode the CIF provides the set up PLC RUN STOP messages function For details on the PLC RUN STOP Messages refer to Chapter 8 For the setup in J1939 communication mode by CIF refer to Section 9 5 Note In J1939 ...

Page 56: ...r Code and Identity Number refer to Section 5 17 e g The FX3U J1939 is configured to exchange PGN 45312 with node 130 ECU name HD0FE FF00 FFFF FFFF Node address 130 is claimed by a different ECU ECU ECU name HD0FE FF00 FFFF FFFF claims node address 131 Now the FX3U J1939 checks the Table in BFM 3000 to 3879 Where ECU name HD0FE FF00 FFFF FFFF is assigned to node address 130 The FX3U J1939 adjusts ...

Page 57: ...5 of the node address BFM is set to indicate that the address is not yet valid As soon as a valid Address Claim matching the ECU name defined by the following 10 BFMs is received bit 15 is reset to OFF and the current node address is displayed For the configuration of the J1939 message refer to Section 6 2 For node address of FX3U J1939 refer to Section 5 9 and Section 5 10 BFM 3869 Node address 1...

Page 58: ...ed data area refer to Subsection 6 1 2 For the Configuration area refer to Section 6 2 BFM No Transmit Receive Data Message No High Byte Low Byte BFM 100 2nd data byte 1st data byte Message 1 BFM 101 4th data byte 3rd data byte BFM 102 6th data byte 5th data byte BFM 103 8th data byte 7th data byte BFM 104 2nd data byte 1st data byte Message 2 BFM 105 4th data byte 3rd data byte BFM 106 6th data b...

Page 59: ... Message 2 BFM 1426 4th data byte 3rd data byte BFM 1548 248th data byte 247th data byte BFM 1549 250th data byte 249th data byte BFM 1550 2nd data byte 1st data byte Extended Message 3 BFM 1551 4th data byte 3rd data byte BFM 1673 248th data byte 247th data byte BFM 1674 250th data byte 249th data byte BFM 1675 2nd data byte 1st data byte Extended Message 4 BFM 1676 4th data byte 3rd data byte BF...

Page 60: ...H0000 BFM 948 Interval 10 ms Receive Timeout 10 ms H0000 BFM 949 DLC DLC H0000 BFM 950 951 PGN bit 17 to 0 includes Destination Address Filter PGN bit 17 to 0 HFFFFFFFF BFM 1300 to 1424 Extended 0 to 250 byte message 1 BFM 952 ttype J1939 communication mode K 1 HFFFF receive message H0000 BFM 953 Priority Filter Source Address H0000 BFM 954 Interval 10 ms Receive Timeout 10 ms H0000 BFM 955 DLC DL...

Page 61: ...es not require target address e g PGN 59904 shall be used to request certain information from the network from node 30 PGN 59904 is shown below PGN 59904 HEA00 As this PGN is PDU 1 format it requires a destination address PGN with added target address to PS field is shown below Therefore PGN including destination address is set to 59934 HEA1E Some PGNs can not be combined with certain destination ...

Page 62: ...FF at the same time as long as the DLC is 8 byte or less 2 Priority Set the priority of the message Setting range K0 to K7 where K0 is the highest priority For default priority of each PGN refer to the related SAE J1939 Specification Format Destination DLC Mode Description PDU1 BFM 27 0 to 250 J1939 communication Setting Invalid HFF Setting Valid Transmit Broadcast messages Any other address not B...

Page 63: ...uses the PGN 59904 H0EAxx where xx is the destination node number to request data from remote nodes e g Request PGN 65248 HFEE0 from the network PGN 59904 default priority 06 Requesters node number nn ttype Function Mode BFM 21 Description K1939 K0 When BFM 20 bit 0 is set to ON the message is always transmitted K1 When BFM 20 bit 0 is set to ON the message is transmitted However if data has not b...

Page 64: ...0 is set to ON the message is transmitted However if data has not been changed it is not transmitted Function Mode Remote Transmit Request Format Applies To J1939 communication mode SAE J1939 defines the PGN 59904 for remote transmit requests The request message contains 3 data bytes with the requested PGN low byte first If the requested PGN is configured as a transmit message of the FX3U J1939 th...

Page 65: ...message is always sent Transmission type K3 When the time interval elapses the message is sent However if data has not been changed it is not transmitted The user interval set for the message is restarted every time the message is transmitted In case the transmission is triggered by a request message from the network or manual trigger BFM 1280 to 1284 the next transmission after externally manual ...

Page 66: ...65535 HFFFF 655 35 seconds The Interval must be longer than the min interval which is calculated by the following formula Example BFM 505 K58 DLC Note The Interval should be set while taking into consideration the PLC scan cycle and communications response time etc If Interval is set to K0 it is automatically adjusted to K1 and operation at 10 ms Values larger than K32767 will be displayed as nega...

Page 67: ... message 2 again If the DLC is increased further messages will be occupied as required as long as these messages are not already in use PGN bit 0 to 17 parameter BFMs are not equal to HFFFF It is not possible to combine extended messages with standard 8 byte messages or other extended messages The max data block size is 250 bytes For a configuration setting example of a message larger than 8 bytes...

Page 68: ...ve message Filter Source Address H00FF Any source address DLC K20 Total 20 byte Message configuration 1 Parameters in BFM 524 to 535 are automatically copied from BFM 518 to 523 by the FX3U J1939 Message send receive BFM BFM No Description TX Transmit Data Parameter Settings RX Receive Data Parameter Settings BFM 518 519 K45364 HB134 PGN K45364 HB134 PGN BFM 520 K2 J1939 time triggered tx message ...

Page 69: ...ond to fourth BFM 1907 to 1927 can be used with the same effect In this example only a single RUN STOP message is expected to be configured If the other three messages are not disabled behaviour may be different than described Note There is no relation between the user message numbers RUN STOP messages or Remote Address to ECU Name assignments These examples would work the same if user message 4 a...

Page 70: ...05 BFM 1903 to 1906 Any data BFM No Configuration 3 Configuration Effect Display in Online Behaviour If Node B Sends Address Claim for Address H89 BFM 500 501 HB188 TX Message PGN HB188 Target address H88 Sent with priority 6 and 8 data bytes every second Same as in Configuration Offline Target address is changed from H88 to H89 BFM 502 K2 BFM 503 K6 BFM 504 K100 BFM 505 K8 BFM 506 507 HB280 RX Me...

Page 71: ...communication 11 29 bit ID mode write into BFM 21 the value K11 or K29 and reset the module For module reset refer to Section 5 7 BFMs 40 to 48 500 to 973 1300 to 1799 and 3000 to 3879 which are active in J1939 communication mode are not active and not accessible 7 1 BFM 100 to 399 Sending Receiving Pre defined Layer 2 Messages The data transfer locations of the Layer 2 communication 11 29 bit ID ...

Page 72: ...the DLC of the RTR frame must match the user message to cause a response Otherwise BFM 1270 to 1272 flag to be set Bit 15 and Bit 12 can not be set ON at the same time 4 Bit 15 defines if the message is transmitted as a data frame Bit 15 OFF or a Remote Transmit frame Bit 15 ON Bit 15 and Bit 12 cannot be set ON at the same time 3 Data bytes Store the data to transmit The data length of the transm...

Page 73: ...has been received and stored If bit 9 is ON but bit 8 is OFF the same message same ID DLC and data has been received If bit 10 is ON at least one more frame has been stored in this message buffer while bit 8 was ON which caused an overflow condition 3 Data bytes The data received of length specified by DLC is stored In case the received DLC is less than 8 unused data bytes are set to H00 Function ...

Page 74: ...et parameter A and B of unused Layer 2 messages to HFFFF BFM No Name Description Default Value Read Write BFM 1100 Layer 2 message 1 parameter A Layer 2 message 1 parameter HFFFF R W BFM 1101 Layer 2 message 1 parameter B HFFFF R W BFM 1102 Layer 2 message 1 parameter C H0000 R W BFM 1103 Layer 2 message 1 parameter D H0000 R W BFM 1104 Layer 2 message 2 parameter A Layer 2 message 2 parameter HFF...

Page 75: ...r B is forced to H5FFF For Layer 2 RTR flags refer to Section 7 3 When using the auto RTR response Set H7FFF to parameter B for the Layer 2 message The FX3U J1939 automatically responds to Remote Transmit Requests RTRs if the 11 29 bit CAN ID e g setting in BFM 100 and 101 matches the ID in the RTR message Reception of the RTR message is not displayed in the Layer 2 RTR Flags For Layer 2 RTR flags...

Page 76: ...Transmission Type value Message Type Transmission Trigger Event K0 Transmit message When BFM 20 bit 0 is set to ON the Layer 2 message is always transmitted K1 When BFM 20 bit 0 is set to ON the Layer 2 message is transmitted However if data has not been changed it is not transmitted K2 The Layer 2 message transmits with following condition With a cycle time set by parameter D BFM 20 bit 0 set to ...

Page 77: ...nd RTR new DLC high byte is shown below The flags RTR new DLC are cleared by PLC program after They remain H00 after because there was no message stored between and The first received CAN message that matches parameter A B and C D is stored into the internal buffers and as this is the only message between and the high byte value is set to H03 The high byte value H07 after shows that the buffer was...

Page 78: ...7 to 113 In this sample it is expected that the PLC program resets the status command flags after reading the data at and Behavior until is similar to that described in example 1 Same as in the first example the high byte value H07 after shows that the buffer was overwritten at least once since and the data bytes in the BFM are also the data received with the last message But this time it is requi...

Page 79: ...FFF 1 Where n is one of the messages 1 to 42 The bits in the Layer 2 RTR flags are updated independently from BFM 20 bit 0 A bit is set if a valid RTR message has been received The bit can be evaluated by PLC program and the required changes to the response message data can be made BFM 20 bit 0 must be set in order to refresh the internal data buffer and trigger the transmission The flag is automa...

Page 80: ...nges its node address during dynamic address allocation In this case the node address is displayed in BFM 1901 1900 1922 1921 as HFE until a valid address claim matching the Remote ECU List entry is received For the required node address and ECU name definition refer to Section 5 22 1 RTR is prohibited for these messages BFM No Function Description Message No Default Value High Byte Low Byte BFM 1...

Page 81: ...FX3U J1939 User s Manual 1 Introduction 2 Specifications 3 Installation 4 Wiring 5 Allocation of Buffer Memories 6 J1939 Comms Mode 7 Layer 2 Communication Mode 8 PLC RUN STOP Messages 9 Command Interface 10 Communication Settings Procedure MEMO ...

Page 82: ...1000 to 1066 must not be changed until a positive or negative acknowledge is displayed in BFM 1000 For details refer to descriptions of each CIF command and the error code list of CIF For the error code list of CIF refer to Section 9 8 Command Function Mode Selection Reference J1939 Communication Mode Layer 2 Communication 11 bit ID Mode Layer 2 Communication 29 bit ID Mode Sending Layer 2 Message...

Page 83: ...ucer of the associated CAN ID specified in BFM 1001 and 1002 send the actual data 3 The data length in bytes 0 to 8 BFM No Description TO Write Access FROM Read Access High Byte Low Byte BFM 1000 Command H000C H000D Data written to transmit buffer For other response codes refer to Section 9 8 BFM 1001 CAN ID low word 1 H0000 BFM 1002 CAN ID high word 1 BFM 1003 RTR Remote Transmission Request 2 BF...

Page 84: ...Destination address must be different from the FX3U J1939 address BFM 28 5 Sum of the data buffer and extended data buffer Valid range of the number of data bytes to be transmitted is between K0 to K122 6 Data buffer standard frames up to 8 bytes 7 Extended data buffer When more than 8 bytes must be transmitted the first 8 bytes are located in BFM 1006 to 1009 and bytes 9 to 122 are stored in BFM ...

Page 85: ...tes of data are received the first 8 bytes are located in BFM 1006 to 1009 and bytes 9 to 122 are stored in BFM 1010 to 1066 If the data exceeds the standard length of 8 bytes the data will be segmented and received in several frames BFM 1001 1002 BFM 1004 Description HB100 H00 to H7F H81 to HFD Valid setting FX3U J1939 will send a request for PGN HB100 expecting a response with PGN HB180 HB100 BF...

Page 86: ...adcast Destination address must be different from the FX3U J1939 address BFM 28 4 Valid range of the number of data bytes to be transmitted is between K0 to K8 5 Data buffer standard frames up to 8 bytes BFM No Description TO Write Access FROM Read Access High Byte Low Byte BFM 1000 Command H3000 H3001 Execution complete For other response codes refer to Section 9 8 BFM 1001 PGN bit 15 to 0 1 Mess...

Page 87: ... This command can be used to display the parameters in BFM 1001 to 1066 of the last executed CIF command If a command caused an error this function allows the parameter which caused the error to be displayed and to make the necessary adjustments to the parameters and the sequence program BFM No Description TO Write Access FROM Read Access BFM 1000 Command HFFFF K 1 H0000 Execution complete BFM 100...

Page 88: ...in BFM 1002 For message specific error codes refer to Section 5 19 H0100 Command is not allowed in current mode Confirm the function mode setting and the executed command H0200 Command is prohibited in online mode H0F0F The command can not execute when the module is offline Confirm the communication status For communication status refer to Section 5 7 HB0FF The command can not execute when the mod...

Page 89: ...extension units blocks FX Series terminal blocks and special function units blocks Battery and memory cassette PRÉCAUTIONS DE MISE EN SERVICE ET DE MAINTENANCE Ne toucher aucune borne quand le contrôleur programmable est sous tension Cela pourrait être à l origine d électrocutions ou de dysfonctionnements Avant de nettoyer ou de resserrer les bornes couper toutes les phases de l alimentation exter...

Page 90: ...odule BFM 25 K1 Arbitrary address capable flag BFM 25 bit 2 FROM TO Watchdog Timer BFM 26 Node address BFM 27 2 Reset module Refer to Chapter 5 BFM 25 K1 OR Power cycle Step 3 Set the following Refer to Chapter 5 Chapter 6 Chapter 8 and Chapter 9 Tx Rx user messages BFM 500 to 973 FX3U J1939 ECU name BFM 40 to 48 Remote Address to ECU Name assignment BFM 3000 to 3879 RUN STOP messages 1900 to 1927...

Page 91: ... CIF refer to Chapter 9 For example program refer to Chapter 11 Step 1 Set the following Refer to Chapter 5 Function mode BFM 21 Step 2 1 Set the following Refer to Chapter 5 Baud rate BFM 24 Reset module BFM 25 K1 FROM TO Watchdog Timer BFM 26 2 Reset module Refer to Chapter 5 BFM 25 K1 OR Power cycle Step 3 Set the following Refer to Chapter 7 and Chapter 8 Tx Rx user messages BFM 1100 to 1267 1...

Page 92: ... MISE EN SERVICE ET DE MAINTENANCE Ne toucher aucune borne quand le contrôleur programmable est sous tension Cela pourrait être à l origine d électrocutions ou de dysfonctionnements Avant de nettoyer ou de resserrer les bornes couper toutes les phases de l alimentation externe Faute de quoi il y a risque d électrocution Avant toute modification ou arrêt du programme en cours ou toute utilisation d...

Page 93: ... and node address setting as well as the configuration of message 1 and message 2 are done in the PLC program Node Setting A Node ID 128 arbitrary address capable OFF BFM 25 bit 2 OFF Message 1 Tx message PGN 45312 HB100 Destination address 127 H7F ttype 1 event driven priority 6 8 bytes data length Message 2 Rx message PGN 45568 HB200 Destination address 128 H80 Source address filter HFF any 8 by...

Page 94: ...initialization mode are OFF Set J1939 mode BFM 21 Set baud rate BFM 24 NOTE J1939 default is 250kbps Set arbitrary address capable OFF BFM 25 bit 2 Clear restart FROM TO Watchdog BFM 26 Set Node ID BFM 27 Read module status M8000 Run monitor FROM D0 SFB address K25 K4M0 Online Offline K1 Reset any latched errors TOP D0 SFB address K29 K0 K1 Read protocol mode M0 Online Offline M7 Module Init State...

Page 95: ... K1 Refresh read module status FROM D0 SFB address K25 K4M0 Online Offline K1 If module is online in first PLC cycle set offline for configuration bit 2 must not be changed while bit 0 or 7 is ON 1 Set offline keep bit 2 ON 2 Set offline keep bit 2 OFF Request offline 1 M8002 Initial pulse M0 Online Offline M7 Module Init State M2 Address Capable TO D0 SFB address K25 K4 K1 Request offline 2 M2 Ad...

Page 96: ...PGN 45568 HB200 destination 128 H80 this node receive message type acceptance filter HFF any source address OK message data length count 8 bytes Set 18 bit PGN M0 Online Offline M7 Module Init State DTOP D0 SFB address K500 H0B17F K1 Set ttype K1 event trigger TOP D0 SFB address K502 K1 K1 Set message priority TOP D0 SFB address K503 K6 K1 Interval unused 1s TOP D0 SFB address K504 K100 K1 DLC 8 b...

Page 97: ... K20 K1 Request online M2 Address Capable TO D0 SFB address address address address address address K25 K16 K1 Set out data read in data Copy RTC data to message M0 Online Offline TO D0 SFB K100 D8013 K4 Buffer swap TO D0 SFB K20 K1 K1 Read RX data FROM D0 SFB K104 D100 K4 Read module error state display on Y000 to Y017 Read BFM 29 M0 Online Offline FROM D0 SFB K29 D29 Error K1 MOV D29 Error Statu...

Page 98: ...lt is 250kbps Set arbitrary address capable OFF BFM 25 bit 2 Clear restart From To Watchdog BFM 26 Set Node ID BFM 27 Read module status M8000 RUN monitor FROM D0 SFB address K25 K4M0 Online Offline K1 Reset any latched errors TOP D0 SFB address K29 K0 K1 Read protocol mode M0 Online Offline M7 Module Init State FROM D0 SFB address K21 D21 Protocol Mode K1 Set J1939 mode TOP D0 SFB address K21 K19...

Page 99: ... K1 Refresh read module status FROM D0 SFB address K25 K4M0 Online Offline K1 If module is online in first PLC cycle set offline for configuration bit 2 must not be changed while bit 0 or 7 is ON 1 Set offline keep bit 2 ON 2 Set offline keep bit 2 OFF Request offline 1 M8002 Initial pulse M0 Online Offline M7 Module Init State M2 Address Capable TO D0 SFB address K25 K4 K1 Request offline 2 M2 Ad...

Page 100: ...PGN 45312 HB100 destination 127 H7F this node receive message type acceptance filter HFF any source address OK message data length count 8 bytes Set 18 bit PGN M0 Online Offline M7 Module Init State DTOP D0 SFB address K500 H0B280 K1 Set ttype K1 event trigger TOP D0 SFB address K502 K1 K1 Set message priority TOP D0 SFB address K503 K6 K1 Interval unused 1s TOP D0 SFB address K504 K100 K1 DLC 8 b...

Page 101: ... address K25 K20 K1 Request online M2 Address Capable TO D0 SFB address K25 K16 K1 Set out data read in data Copy RX data to TX M0 Online Offline TO D0 SFB address K100 D100 K4 Buffer swap TO D0 SFB address K20 K1 K1 Read RX data FROM D0 SFB address K104 D100 K4 Read module error state display on Y000 to Y017 Read BFM 29 M0 Online Offline FROM D0 SFB address K29 D29 Error Status K1 MOV D29 Error S...

Page 102: ...E EN SERVICE ET DE MAINTENANCE Ne toucher aucune borne quand le contrôleur programmable est sous tension Cela pourrait être à l origine d électrocutions ou de dysfonctionnements Avant de nettoyer ou de resserrer les bornes couper toutes les phases de l alimentation externe Faute de quoi il y a risque d électrocution Avant toute modification ou arrêt du programme en cours ou toute utilisation du co...

Page 103: ... setting Check that all nodes have a unique Node ID setting Check that the CAN_H CAN_L and CAN_GND wires are not broken Check that the CAN_H CAN_L and CAN_GND are wired correctly Check that the CAN_SHLD is grounded Check that the CAN_SHLD is connected at all nodes Check that the CAN cable wires do not short circuit other CAN cable wires BLINKING 1 General error has occurred Check the error status ...

Page 104: ...s being incorrectly supplied from FX3G FX3GC 1 FX3U FX3UC 1 FX5U 2 FX5UC 2 PLC via the extension cable to FX3U J1939 Check the connection of the extension cable to the PLC Check the power supply of the FX3G FX3GC 1 FX3U FX3UC 1 FX5U 2 FX5UC 2 PLC For FX3G Series PLC refer to FX3G Hardware Edition For FX3GC Series PLC refer to FX3GC Hardware Edition For FX3U Series PLC refer to FX3U Hardware Editio...

Page 105: ...ntative For module restart refer to Section 5 7 Bit 3 CAN controller is in BUS OFF state The FX3U J1939 is bus OFF The FX3U J1939 has too many transmission errors Check the following points in the network And then turn on the power for PLC again or restart the FX3U J1939 For module restart refer to Section 5 7 Check that the terminating resistors at both ends of the network are connected Check tha...

Page 106: ...ernal data queue overflow Internal data queue overflowed Extreme bus load can cause the internal queues to overflow Decrease the bus load At a low baud rate data exchange that is too fast can overflow the CAN Transmit Buffer Depends also on the bus load of the CAN For Data Exchange Control flag refer to Section 5 3 Bit 9 J1939 mode no node address available Check node address set in BFM 27 and 28 ...

Page 107: ...tsubishi 1 Loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products 2 Special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products 3 Replacement by the user maintenance of on site equipment start up test run and other tasks 4 The Mitsubishi programmable logic contr...

Page 108: ...e following error code is added H12FF The explanation of Configuration Area is modified Section 6 2 The contents of Request PGN is added Section 9 4 Partial correction Errors are corrected 4 2015 C A part of the cover design is changed 10 2017 D Firmware version 1 11 is supported Connection to FX5U FX5UC PLC UL explosion proof standard is added The contents of power down message is removed ...

Page 109: ......

Page 110: ...HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN JY997D43101D MEE Effective October 2017 Specifications are subject to change without notice FX3U J1939 USER S MANUAL ...

Reviews: