background image

Summary of Contents for PXG-4

Page 1: ......

Page 2: ......

Page 3: ...ations with the micro controller MODBUS protocol and address map for the micro controller In addition to this document please make sure to read the Instruction Manual which comes with the product and...

Page 4: ...Command andTransmission Frame Details Reading Data 28 Reading Read Only Bit Data Function Code 02H 28 Reading Word Data Function Code 03H 30 Reading Read Only Word Data Function Code 04H 32 Writing Da...

Page 5: ...3 1 Chapter Chapter 1 Communication Functions Overview 4...

Page 6: ...he transmission data must be in the same format This document explains how to transmit data using the MODBUS protocol format When using equipment with an RS 232C interface such as a personal computer...

Page 7: ...ster Communication will not work properly if the connection is incorrect Also be sure to correctly set the communication settings such as communication speed and parity on the RS 232C to RS 485 conver...

Page 8: ...6 MEMO 1 Chapter...

Page 9: ...7 2 Chapter Chapter 2 Specifications Communication Specifications 8...

Page 10: ...th 8 bits Stop bit 1 bit Parity None Even Odd Selectable Transmission code HEX value MODBUS RTU mode Error detection CRC 16 Insulation Functional insulation for the transmission area and other areas w...

Page 11: ...9 3 Chapter Chapter 3 Connection Communication Terminal Configuration 10 Wiring 11...

Page 12: ...n RS 485 rear terminal PXG4 PXG5 PXG9 Terminal Number Signal Name 7 RS 485 8 RS 485 Terminal Number Signal Name 1 RS 485 2 RS 485 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 2 3 4 5 6 7 8 9 10 11 1...

Page 13: ...ate both ends of the circuit with a terminating resistance of 100 1 2W or more Ground the shielded cable once towards the master side SG does not have to be connected but it can be used as an effectiv...

Page 14: ...e filter recommended ZRAC2203 11 made by TDK Corporation If there are problems with EMC during communication the noise level can be reduced by using a communication cable with a ferrite core Ferrite c...

Page 15: ...232C Master side RS 232C D Sub 9 pin PXG4 Bottom view Personal computer etc ZZPPXH1 TK4H4563 Master side RS 232C D Sub 9 pin PXG5 Bottom view Personal computer etc PC loader communication cable RS 232...

Page 16: ...14 MEMO 3 Chapter...

Page 17: ...15 4 Chapter Chapter 4 Setting Communication Parameters List of Setting Parameters 16 Parameter Setting Procedure 17...

Page 18: ...be set Set the loader software master with the following settings Communication speed 9600 bps Parity none List of Setting Parameters Parameter channel Parameter display symbol Parameter name Initial...

Page 19: ...9 9 The communication menu is displayed 3 Press and hold the key the use the keys to display S S S ST T T Tn n n no o o o The station number is displayed 4 Press the key then use the keys to set stati...

Page 20: ...ress the key to return to the operation mode PV SV display 1 3 Turn the power to the micro controller off and on again The changes to the communication parameters become effective after the power turn...

Page 21: ...19 5 Chapter Chapter 5 MODBUS Communication Protocol Overview 20 Message Composition 21 Calculating Error Check Code CRC 16 24 Transmission Control Steps 25...

Page 22: ...aster can communicate with an individual slave when multiple slaves are connected on the same circuit by the station number specified in the master s command message Master sends the command message f...

Page 23: ...communication The coil number or resistor number used by the message employs a relative address The relative address is calculated using the following formula Relative address last four digits of the...

Page 24: ...response message The station number specified by the command message is not the same as the slave s specified station number The error check code does not correspond or a transmission error such as pa...

Page 25: ...ress number Excluding function code 06H Function Code Coil Number Resistor Number Code Function Target Number Contents 02H Read continuous Input relay 1xxxx Read bit data 03H Read continuous Hold resi...

Page 26: ...r digit K No of times to check CR calculation Start Set J 1 Set K 1 Add 1 to K Complete Add 1 to J Set CR to FFFFH hexadecimal Exclusive or XOR runs on each character of J one byte for CR and the spec...

Page 27: ...ected that frame is ended In other words the data on the circuit from the first time that a 24 bit time blank state appears to the second time one appears is loaded as one frame a bundle of data There...

Page 28: ...26 MEMO 5 Chapter...

Page 29: ...27 6 Chapter Chapter 6 Command and Transmission Frame Details Reading Data 28 Writing Data 34...

Page 30: ...ide all become 0 Function Code 02H Max No of Bits to Read in One Message 8 bits Relative Address 0000H to 000CH Coil Number 10001H to 10013H Master Slave Command Message bytes Station No Function Code...

Page 31: ...e Command Message bytes Station No 1FH Function Code 02H No to Start Reading Relative Address Upper number 00H Lower number 00H No of Bits to Read Upper number 00H Lower number 02H CRC Data Upper numb...

Page 32: ...e Command Message Composition bytes Station No Function Code No to Start Reading Relative Address Upper number Lower number No of Words to Read 1 to 60 words Upper number Lower number CRC Data Upper n...

Page 33: ...mit 400 C Refer to For more about the internal calculation value engineering unit and decimal point see Chapter 7 Address Map and Data Configuration p 39 Master Slave Command Message bytes Station No...

Page 34: ...Slave Command Message Composition bytes Station No Function Code No to Start Reading Relative Address Upper number Lower number No of Words to Read 1 to 15 words Upper number Lower number CRC Data Up...

Page 35: ...r to For more about the internal calculation value engineering unit and decimal point see Chapter 7 Address Map and Data Configuration p 39 Master Slave Command Message bytes Station No 01H Function C...

Page 36: ...74H 03E9H to 065CH Resistor Number 40002 to 40628 41002 to 41628 Contents Internal Calculation Value Engineering Unit Master Slave Command Message Composition bytes Station No Function Code Specified...

Page 37: ...point see Transmission Data Format p 40 Master Slave Command Message bytes Station No 01H Function Code 06H Specified Write Number Relative Address Upper number 00H Lower number 05H Word Data to Writ...

Page 38: ...Code Specified Write Number Relative Address Upper number Lower number No of Words to Write Upper number Lower number No of Bytes to Write First Word Data to Write Upper number Lower number Next Word...

Page 39: ...39 Master Slave Command Message bytes Station No 01H Function Code 10H Specified Write Number Relative Address Upper number 00H Lower number 05H No of Words to Write Upper number 00H Lower number 03H...

Page 40: ...38 MEMO 6 Chapter...

Page 41: ...39 7 Chapter Chapter 7 Address Map and Data Format Data Format 40 Internal Calculation Value Data Address Map 42 Engineering Unit Data Address Map 66...

Page 42: ...p menu S S S SE E E ET T T T C C C Ch h h h 6 6 6 6 P P P Pv v v vd d d d 0 1 or 2 Changing by communication Set the decimal position parameter P P P Pv v v vd d d d as well as the corresponding value...

Page 43: ...input range Input errors can be detected via communication using resistor number 30008 or 31008 Input Unit Error Status Written Data When writing data to each parameter set that written data within th...

Page 44: ...d data Dependent on range Remarks related parameters 0000H 10001 bit ALM1 ON OFF 0 Alarm OFF 1 Alarm ON 00001H 10002 bit ALM2 ON OFF 0 Alarm OFF 1 Alarm ON 00002H 10003 bit ALM3 ON OFF 0 Alarm OFF 1 A...

Page 45: ...No 00F3H 40222 41222 Word 0 PID0 PID group local 1 PID1 PID group No 1 2 PID2 PID group No 2 3 PID3 PID group No 3 4 PID4 PID group No 4 5 PID5 PID group No 5 6 PID6 PID group No 6 7 PID7 PID group N...

Page 46: ...b bA A A AL L L L bAL Output convergence value 000CH 40013 41013 Word 100 to 100 0 50 single dual A A A Ar r r r Ar Anti reset windup 000BH 40012 41012 Word 0 to 100 FS 100 r r r rE E E Ev v v v rEv...

Page 47: ...v heat reverse cool reverse 5 nono heat normal cool normal rv rvno single dual S S S Sv v v v2 2 2 2 Sv2 SV set value 2 0110H 40251 41251 Word 0 to 100 FS 0 FS P P P P2 2 2 2 P2 Proportional band 2 01...

Page 48: ...41276 Word 0 0 to 100 0 1 0 d d d db b b b4 4 4 4 db4 Dead band 4 012AH 40277 41277 Word 50 0 to 50 0 0 b b b bA A A AL L L L4 4 4 4 bAL4 Output convergence value 4 012BH 40278 41278 Word 100 0 to 100...

Page 49: ...99 Word 0 to 100 FS 100 FS r r r rE E E Ev v v v6 6 6 6 rEv6 Normal Reverse setting 6 0141H 40300 41300 Word 0 rv heat reverse cool none 1 no heat normal cool none 2 rvno heat reverse cool normal 3 no...

Page 50: ...l SV 1 Sv1 SV SV 1 2 Sv2 SV SV 2 3 Sv3 SV SV 3 4 Sv4 SV SV 4 5 Sv5 SV SV 5 6 Sv6 SV SV 6 7 Sv7 SV SV 7 8 di SV choose Di Sv7 P P P PL L L L1 1 1 1M M M M PL1M Currently selected PID No 00F6H 40225 412...

Page 51: ...02BDH 40588 41588 Word 00 00 99 59 hour min min sec 00 00 hour min T T T TM M M M3 3 3 3S S S S TM3S Ramp Soak 3 seg soak time 02BEH 40589 41589 Word 00 00 99 59 hour min min sec 00 00 hour min S S S...

Page 52: ...FS T T T T1 1 1 12 2 2 2r r r r T12R Ramp Soak 12 seg ramp time 02D8H 40615 41615 Word 00 00 99 59 hour min min sec 00 00 hour min T T T T1 1 1 12 2 2 2S S S S T12S Ramp Soak 12 seg soak time 02D9H 4...

Page 53: ...S S S S h h h h GS h Guaranty soak upper limit 02A8H 40573 41573 Word 0 to 50 FS 5 C P P P PT T T Tn n n nM M M M PTnM Sets the max pattern selection 029FH 40564 41564 Word 0 to 6 6 Parameter display...

Page 54: ...5000 50 00 to 50 00 FS T T T TF F F F TF PV input filter 0025H 40022 41022 Word 0 to 1200 0 0 to 120 0 sec 5 sec A A A Ad d d dJ J J J0 0 0 0 ADJ0 PV display zero adjustment 0072H 40099 41099 Word 50...

Page 55: ...r limit scaling 0082H 40115 41115 Word 100 to 100 FS 0 A A A Ao o o oh h h h Aoh AO upper limit scaling 0083H 40116 41116 Word 100 to 100 FS 100 Parameter display Parameter name Contents Relative addr...

Page 56: ...d do o o o1 1 1 1T T T T do1T DO1 output event type setting 0038H 40041 41041 Word 0 102 0 d d d do o o oP P P P1 1 1 1 doP1 Sets DO1 option function 00B5H 40166 41166 Word 0000 to 1111 0 d d d do o...

Page 57: ...dLY2 ALM2 delay 0045H 40054 41054 Word 0 to 9999 sec min 0 d d d dL L L L2 2 2 2U U U U dL2U ALM1 delay time units 00BEH 40175 41175 Word 0 sec 1 Min A A A A3 3 3 3h h h hY Y Y Y A3hY ALM3 hysteresis...

Page 58: ...me Contents Relative address Resistor Number Type Read data Written data range Factory Setting Dependent on range Internal Engineering unit d d d dP P P P0 0 0 01 1 1 1 DP01 Parameter display mask 01D...

Page 59: ...splay mask 01F1H 40470 41470 Word 32768 to 32767 8000 to 7FFF Different depending on model d d d dP P P P2 2 2 21 1 1 1 DP21 Parameter display mask 01F2H 40471 41471 Word 32768 to 32767 8000 to 7FFF D...

Page 60: ...ternal Engineering unit SV Front SV set value Front SV set value 0002H 40003 41003 Word 0 to 10000 in the 0 to 100 FS set value limit 0092H 40131 41131 Word MV Front MV set value Front MV set value 00...

Page 61: ...Sv 2 Ramp soak 2 seg SV set value 004AH 40059 41059 Sv 3 Ramp soak 3 seg SV set value 004BH 40060 41060 Sv 4 Ramp soak 4 seg SV set value 004CH 40061 41061 Sv 5 Ramp soak 5 seg SV set value 004DH 4006...

Page 62: ...00CEH 40191 41191 AL5L AL5 set value Relative address Resistor Number Parameter contents Internal Engineering unit 00CFH 40192 41192 AL5h AL5h set value 00D0H 40193 41193 A5hY ALM5 hysteresis 00D1H 4...

Page 63: ...08 41308 bAL7 output convergence value 7 014AH 40309 41309 Ar7 Anti reset windup 7 014BH 40310 41310 rEv7 Sets normal reverse operations 7 Relative address Resistor Number Parameter contents Internal...

Page 64: ...029CH 40561 41561 PTN Ramp soak progress 029DH 40562 41562 TiMU Ramp soak time units 029EH 40563 41563 Mod Ramp soak mode 029FH 40564 41564 PTnM Sets the max pattern selection 02A6H 40571 41571 Gsok...

Page 65: ...to 10300 3 00 to 103 00 FS M M M Mv v v v2 2 2 2 Mv2 Control output 2 002AH 30043 31043 Word 300 to 10300 3 00 to 103 00 FS P P P PF F F Fb b b b PFb PFB Input Value Display 002BH 30044 31044 Word 300...

Page 66: ...to 255 ALM STATUS 0006H 30007 31007 Word F F F FA A A AL L L LT T T T FALT FALT STATUS 0007H 30008 31008 Word 0000 to 1100 S S S ST T T TA A A AT T T T STAT Ramp Soak progress 0008H 30009 31009 Word H...

Page 67: ...CH 30013 31013 Word TM3 Remaining time on timer 3 000EH 30015 31015 Word DI STATUS 000FH 30016 31016 Word rJC Cold junction compensation 0024H 30037 31037 Word rEM Remote switching status 0028H 30041...

Page 68: ...meters 0000H 10001 bit ALM1 ON OFF 0 Alarm OFF 1 Alarm ON 00001H 10002 bit ALM2 ON OFF 0 Alarm OFF 1 Alarm ON 00002H 10003 bit ALM3 ON OFF 0 Alarm OFF 1 Alarm ON 00003H 10004 bit ALM4 ON OFF 0 Alarm O...

Page 69: ...67 8 Chapter Chapter 8 Sample Program Sample Program 68...

Page 70: ...l Edition Fuji Electric Systems Co Ltd assumes no responsibility for damages or infringement upon third party rights as a result of using this sample program Use this program while conforming to the c...

Page 71: ...Comm_parity E Even parity ElseIf Odd1 Value True Then Comm_parity O Odd parity Else Comm_parity N Parity none End If PauseTime 0 2 Sets the wait time 0 2 sec idx 0 Opening the Communication Port MSCo...

Page 72: ...Low address Txdat 4 H0 Read no of words High Txdat 5 H2 Read no of words Low Txsu 5 No of sent data Case Else For other values MSComm1 PortOpen False COM port close TX1 Enabled True Exit Sub End Sele...

Page 73: ...putation Error check If length 0 Then No answer Noans Noans 1 Rx_data Caption Noans GoTo 150 ElseIf Ansdat length 2 CRC1 Ansdat length 1 CRC2 Then CRC error CRCErr CRCErr 1 Rx_data Caption CRCErr GoTo...

Page 74: ...0 If CT 1 Then CRC CRC Xor HA001 Next J Next i CRC1 CRC And HFF CRC2 CRC And HFF00 256 And HFF Return 20000 CRC calculation subroutine IN Ansdat Ansu OUT CRC1 CRC2 CRC HFFFF For i 0 To Ansu Step 1 CRC...

Page 75: ...n Comm_port 3 COM3 ElseIf Com2 Value True Then Comm_port 2 COM2 Else Comm_port 1 COM1 End If If SPD192 Value True Then Comm_speed 19200 19200bps ElseIf SPD96 Value True Then Comm_speed 9600 9600bps El...

Page 76: ...byteData 0 CByte H Mid sHex 1 2 hh byte byteData 1 CByte H Mid sHex 3 2 hl byte byteData 2 CByte H Mid sHex 5 2 lh byte byteData 3 CByte H Mid sHex 7 2 ll byte ReDim Txdat 12 As Byte 13 bytes Txdat 0...

Page 77: ...s Passes control to other processes If Start PauseTime Timer PauseTime Then Start Timer End If Loop MSComm1 PortOpen False COM port close Write_command Enabled True Exit Sub 10000 CRC calculation subr...

Page 78: ...76 MEMO 8 Chapter...

Page 79: ...77 9 Chapter Chapter 9 Troubleshooting Troubleshooting 78...

Page 80: ...controller Communication speed 9600bps 19200 bps Data 8 bit Stop bit 1 bit Parity Odd Even None Does the transmission signal timing satisfy Chapter 5 MODBUS Communication Protocol p 17 Is the station...

Page 81: ......

Page 82: ......

Page 83: ......

Page 84: ......

Reviews: