I
NDEX
-4
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
ANUAL
FC9Y-B1730
Page 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Page 2: ...ries MicroSmart Caution notices are used where inattention might cause personal injury or damage to equipment The FC6A Series MicroSmart is designed for installation in a cabinet Do not install the FC...
Page 3: ...communication functions Chapter 3 Communication Settings Functions for the FC6A Series MicroSmart communication how to configure them and examples of their use Chapter 4 through Chapter 8 Various comm...
Page 4: ...roSmart models are not compatible For details please contact IDEC Corporation For details on compatible standards and EU directives please contact the dealer where purchased or check the IDEC website...
Page 5: ...ing procedures for the FC6A Series MicroSmart series FC9Y B1726 FC6A Series MicroSmart LAD Programming Manual Describes basic operations for programming with ladders on the FC6A Series MicroSmart moni...
Page 6: ...FC6A C40K1DEJ FC6A C40P1DEJ Relay output type FC6A C16R1AE FC6A C16R1CE FC6A C24R1AE FC6A C24R1CE FC6A C40R1AE FC6A C40R1CE FC6A C40R1DE FC6A C40R1AEJ FC6A C40R1CEJ FC6A C40R1DEJ Transistor output typ...
Page 7: ...ort 1 4 4 Maintenance Communication via Ethernet Port 1 4 6 Maintenance Communication via a Communication Cartridge Port 2 Port 3 4 11 Maintenance Communication via HMI Ethernet port 4 13 CHAPTER 5 Us...
Page 8: ...939 Communication over CAN 8 1 J1939 Communication Settings 8 7 CHAPTER 9 Send PING Function PING Ping 9 1 CHAPTER 10 Send E mail Function Overview 10 1 EMAIL Instruction Send E mail 10 1 E mail Addre...
Page 9: ...re possible Ethernet Port 1 This port can be used to communicate with Ethernet communication compatible external devices such as computers and operator interfaces This port has eight connections that...
Page 10: ...ween Internal Circuit Not isolated Not isolated Cable Recommended Cable Shielded multicore 24 AWG Shielded twisted pair 24 AWG Communication Type CAN bus communication Communication Speed 250 kbps Com...
Page 11: ...ommunication cartridges can only be used when connected to cartridge slots 1 and 2 of the CPU module 2 The HMI Ethernet port can only be used when a CPU module and an HMI module are connected Type No...
Page 12: ...For the locations of serial port 1 cartridge slot 1 and cartridge slot 2 see Chapter 2 Parts Description in the FC6A Series MicroSmart All in One Type User s Manual For serial port 1 wiring see Chapte...
Page 13: ...using the HMI Ethernet port For details see Chapter 7 HMI Function in FC6A Series MicroSmart All in One Type User s Manual 1 1 Maintenance Communication System This example shows a 1 1 maintenance com...
Page 14: ...enables you to control external devices such as computers printers and barcode readers For details on user communication see User Communication Instructions on page 5 1 Supported ports User Communica...
Page 15: ...en CPU modules using serial port 1 and cartridge slots The FC6A Series MicroSmart can also share data with FC5A Series and FC4A Series CPU modules Configure the settings in WindLDR to enable distribut...
Page 16: ...onform to the SAE J1939 standard can be sent and received For details on J1939 communication see J1939 Communication on page 8 1 Supported ports CAN Port Usage Example This example shows the FC6A Seri...
Page 17: ...n expansion module expansion interface side is connected using the expansion interface module 3 I310 to I627 and Q310 to Q627 are devices that can only be used when an expansion module expansion inter...
Page 18: ...anual Counters C Counters used internally in the FC6A Series MicroSmart There are three devices Counter bits symbol C unit bit counter preset values symbol CP unit word and counter current values symb...
Page 19: ...M8015 Reserved M8016 Calendar Data Write Flag Operating Cleared R W M8017 Clock Data Write Flag Operating Cleared R W M8020 Calendar Clock Data Write Flag Operating Cleared R W M8021 Clock Data Adjus...
Page 20: ...ay Operating Cleared R M8092 Data Link Slave 11 Communication Completed Relay Operating Cleared R M8093 Data Link Slave 12 Communication Completed Relay Operating Cleared R M8094 Data Link Slave 13 Co...
Page 21: ...Result 2 Maintained Cleared R M8152 Comparison Result 3 Maintained Cleared R M8153 Catch Input ON OFF Status Group 1 I0 Maintained Cleared R M8154 Group 2 I1 Maintained Cleared R M8155 Group 3 I3 Main...
Page 22: ...R W M8223 Connection 2 Operating Cleared R W M8224 Connection 3 Operating Cleared R W M8225 Connection 4 Operating Cleared R W M8226 Connection 5 Operating Cleared R W M8227 Connection 6 Operating Cl...
Page 23: ...he previous end status M8190 Change CPU Module Network Settings Trigger When M8190 is turned on the values written to D8304 to D8323 are set as the CPU module IP address The IP address is not set just...
Page 24: ...20 Connection 7 M8221 Connection 8 M8222 to M8231 Disconnect User Communication Connection When connected to a remote host via user communication the corresponding connection is disconnected when M822...
Page 25: ...s R D8012 Hour Every 500 ms R D8013 Minute Every 500 ms R D8014 Second Every 500 ms R D8015 Calendar Clock New Data Write only Year W D8016 Month W D8017 Day W D8018 Day of the Week W D8019 Hour W D80...
Page 26: ...or When Data Link Master Mode When error occurred R D8085 Slave 17 Communication Status Error When Data Link Master Mode When error occurred R D8086 Slave 18 Communication Status Error When Data Link...
Page 27: ...set Value R W D8197 Low Word R W D8198 High speed Counter Group 6 I7 High Word Current Value Frequency Measurement I7 Current Value Every scan R D8199 Low Word Every scan R D8200 High Word Preset Valu...
Page 28: ...erved D8250 Read SD Memory Card Capacity Every scan R D8251 Read SD Memory Card Free Capacity Every scan R D8252 D8253 Reserved D8254 SD Memory Card Download Upload Execution Information When processi...
Page 29: ...Read only Every 1 s R D8331 Every 1 s R D8332 Every 1 s R D8333 Every 1 s R D8334 CPU Module Subnet Mask Current Value Read only Every 1 s R D8335 Every 1 s R D8336 Every 1 s R D8337 Every 1 s R D833...
Page 30: ...2 HMI Module MAC Address Current Value Read only Every 1 s R D8383 Every 1 s R D8384 Every 1 s R D8385 Every 1 s R D8386 Every 1 s R D8387 Every 1 s R D8388 HMI Module IP Address Current Value Read on...
Page 31: ...ID Status R D8471 System Software Version R D8472 Expansion Module Slot 2 Information Type ID Status R D8473 System Software Version R D8474 Expansion Module Slot 3 Information Type ID Status R D8475...
Page 32: ...munication mode is maintenance communication Modbus RTU slave or data link communication The slave number can be changed by changing the value of D8100 D8102 and D8103 in Function Area Settings D8100...
Page 33: ...eries MicroSmart can transmit and receive 2 010 When the DSR signal is off the FC6A Series MicroSmart can transmit and receive 3 011 When the DSR signal is on transmission is possible reception is alw...
Page 34: ...t significant bit 0 0000 Unused 0001 User Communication 0010 Modbus TCP client Server connection most significant bit 1 1000 Maintenance Communication 1001 User Communication 1010 Modbus TCP server 0...
Page 35: ...e CPU module s subnet mask Subnet mask For aaa bbb ccc ddd write the following D8308 aaa D8309 bbb D8310 ccc D8311 ddd D8312 to D8315 CPU Module Default Gateway Write only These registers are used to...
Page 36: ...only The CPU module s alternate DNS server address is written to the special data registers as follows Example Alternate DNS server aaa bbb ccc ddd D8346 aaa D8347 bbb D8348 ccc D8349 ddd D8350 to D83...
Page 37: ...time information is acquired through operation of M8191 SNTP Time Acquisition Flag or when time information acquisition was executed by automatic acquisition For details see SNTP Settings on page 3 8...
Page 38: ...used to write the HMI module s preferred DNS server HMI module preferred DNS server For aaa bbb ccc ddd write the following D8449 aaa D8450 bbb D8451 ccc D8452 ddd D8453 to D8456 HMI Module Alternate...
Page 39: ...Setup Location Communication ports Configures the communication function parameters and the ports to match the communication device 3 2 Function area settings Network settings Configures information f...
Page 40: ...igure the communication format according to the communication specifications of the device 1 From the WindLDR menu bar select Configuration Communication Ports The Function Area Settings dialog box is...
Page 41: ...default gateway from the DHCP server when the user program download has finished and when the FC6A Series MicroSmart power is turned on However a DHCP server must be present on the network where the...
Page 42: ...e Example When the default gateway is 192 168 0 24 D8312 192 D8313 168 D8314 0 D8315 24 R W D8316 D8319 The setting value of the preferred DNS server address used by the FC6A Series MicroSmart Example...
Page 43: ...lt gateway setting value Example When the default gateway is 192 168 0 24 D8445 192 D8446 168 D8447 0 D8448 24 R W D8449 D8452 The setting value of the preferred DNS server address used by the HMI mod...
Page 44: ...igure IP Settings and DNS Settings 3 Click OK 4 Use the Module Configuration Editor to configure the HMI module network settings On the Configuration tab in the PLCs group select Expansion Modules 5 C...
Page 45: ...MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 3 7 3 COMMUNICATION SETTINGS 6 Click the Network Settings tab and then configure the IP Settings and DNS Settings This concludes configuring...
Page 46: ...rrent time and the acquisition method of the current time 1 On the WindLDR Configuration tab in the Function Area Settings group click Network Management The Function Area Settings dialog box is displ...
Page 47: ...tored in the upper 12 bits of D8414 and the error details error code is stored in the lower 4 bits of D8414 Acquire the current time at an arbitrary timing M8191 When special internal relay M8191 SNTP...
Page 48: ...nction a ping packet is sent to the specified remote host to check whether or not communication is possible at the IP level Set the time from when this ping is sent until the timeout occurs Programmin...
Page 49: ...only be written Special Internal Relays Communication Mode Overview Reference Maintenance communication server Default This mode allows monitoring and changing devices and user program uploading and d...
Page 50: ...4 D8357 Connection 2 Connected IP Address D8358 D8361 Connection 3 Connected IP Address D8362 D8365 Connection 4 Connected IP Address D8366 D8369 Connection 5 Connected IP Address D8370 D8373 Connecti...
Page 51: ...ion to use Configure the communication mode allocated to a maximum of eight connections that can be used as client or server Each connection can be set to a different port number Set connections that...
Page 52: ...e configuration area and click Configure The HMI Module Configuration dialog box is displayed Note You can also display the HMI Module Configuration dialog box by double clicking HMI Module in the Pro...
Page 53: ...T ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 3 15 3 COMMUNICATION SETTINGS 9 Specify the parameters according to the communication format of the destination device 10 Click OK This concludes conf...
Page 54: ...the FC6A Series MicroSmart establishes connection with the remote host that has the specified IP address and the corresponding port number then communication is started When a remote host is specified...
Page 55: ...ed the remote host numbers of the following remote hosts are changed As a result there is an effect on the operation of the PING instruction Modbus TCP client and user communication client that refer...
Page 56: ...and immediately after auto ping is enabled due to the FC6A Series MicroSmart power being turned on and a change in the user program auto ping execution starts and the specified remote host numbers ar...
Page 57: ...that is kept When M8187 auto ping stop flag is turned from on to off or when the user program is changed and the auto ping function is set from Not used to Used the internal relays are all turned off...
Page 58: ...00 Status where receiving the response for the packet completed normally or a timeout error occurred and the next ping can be executed Error Code Error Details 0 0000 Normal 2 0010 Timeout error 3 001...
Page 59: ...e Status M0000 Retry 1 time Ping Interval 500 ms Auto Ping Interval 30 000 ms 1 Auto ping operation starts 2 to 3 Response from Host 1 within the timeout 4 to 5 No response from Host 2 within the time...
Page 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 61: ...llows Function Description Download user programs User programs created in WindLDR can be downloaded to the FC6A Series MicroSmart See Chapter 4 Download Program in the FC6A Series MicroSmart All in O...
Page 62: ...Function area settings See Maintenance Communication via Port 1 on page 4 4 Ethernet Port 1 Standard 1 Function area settings See Maintenance Communication via Ethernet Port 1 on page 4 6 Port 2 and...
Page 63: ...the USB Port For details on the operation of maintenance communication functions see the following in the FC6A Series MicroSmart All in One Type User s Manual Monitor change device values Chapter 4 Mo...
Page 64: ...following in the FC6A Series MicroSmart All in One Type User s Manual Monitor change device values Chapter 4 Monitor Operation Downloading uploading user programs Chapter 4 Download Program Downloadi...
Page 65: ...Configuring the maintenance communication for the expansion communication port is now complete Baud Rate bps 115200 bps 1200 2400 4800 9600 19200 38400 57600 115200 Data Bits 7 7 or 8 Parity Even None...
Page 66: ...connections on the FC6A Series MicroSmart Maintenance Communication Specifications for the Ethernet Port 1 For details on the operation of maintenance communication functions see the following in the...
Page 67: ...e with the FC6A Series MicroSmart via Ethernet Configure Maintenance Communication Server 1 From the WindLDR menu bar select Configuration Network Settings The Function Area Settings dialog box appear...
Page 68: ...igure the function area settings and download the user program to the FC6A Series MicroSmart via USB 7 Connect the PC and the FC6A Series MicroSmart using a USB cable 8 From the WindLDR menu bar selec...
Page 69: ...8330 to D8333 This concludes downloading the user program via the USB port and checking the IP address Monitor FC6A Series MicroSmart via the Ethernet Port 1 Monitor the FC6A Series MicroSmart via Eth...
Page 70: ...og box appears 18 Select the IP address you entered and click OK 19 From the WindLDR menu bar select Online PLC Status The PLC Status dialog box appears 20 Check that the FC6A Series MicroSmart module...
Page 71: ...ion functions see the following in the FC6A Series MicroSmart All in One Type User s Manual Monitoring changing device values Chapter 4 Monitor Operation Programming WindLDR Configure the settings for...
Page 72: ...figuring the maintenance communications settings Baud Rate bps 115200 bps 1200 2400 4800 9600 19200 38400 57600 115200 Data Bits 7 7 or 8 Parity Even None Even Odd Stop Bit 1 1 or 2 Receive Timeout 50...
Page 73: ...croSmart The maintenance communication server can be assigned to the expanded connections up to eight provided by the HMI Ethernet port HMI Ethernet Port 1 maintenance communication specification For...
Page 74: ...work settings and connection settings On the Configuration tab in the PLCs group select Expansion Modules 2 Click the inserted HMI module in the module configuration area and click Configure The HMI M...
Page 75: ...e FC6A Series MicroSmart simultaneously is one client per connection If connections 1 to 8 are all set to the maintenance communication server eight clients can connect to the FC6A Series MicroSmart a...
Page 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 77: ...will be used When performing user communication with an external device using port 1 to port 3 via serial communication RS232C RS485 TXD Transmit on page 5 2 RXD Receive on page 5 10 When performing...
Page 78: ...l Precautions for Programming TXD Instruction The FC6A Series MicroSmart has five formatting areas each for executing TXD1 through TXD3 instructions so five instructions each of TXD1 through TXD3 can...
Page 79: ...instruction Port No Port 1 Port 3 Transmit user communication from port 1 TXD1 through port 3 TXD3 S1 Source 1 Enter the data to transmit in this area Transmit data can be constant values character or...
Page 80: ...cking the Configure button When 7 data bits are selected as default 00h through 7Fh is transmitted When 8 data bits are selected 00h through FFh is transmitted Constant values are entered in character...
Page 81: ...o ASCII conversion 2 BCD to ASCII conversion 3 No conversion Transmit Digits Bytes After conversion the transmit data is taken out in specified digits Possible digits depend on the selected conversion...
Page 82: ...the BCC calculation can be selected from the first byte through the 15th byte The BCC can be 1 or 2 digits 000Ch D10 0022h D11 0038h D12 Data register No Transmit digits Conversion type D10 2 BCD to...
Page 83: ...ion ADD 2comp Modbus ASCII or Modbus RTU Example Conversion results of transmit data consist of 41h 42h 43h and 44h 1 BCC calculation formula XOR Calculation result 41h 42h 43h 44h 04h 2 BCC calculati...
Page 84: ...0000 through D55998 can be set D2 0 Transmit Status If the transmit status code is other than shown above a transmit instruction error is suspected See User Communication Error on page 5 43 Note On Wi...
Page 85: ...data is also included in the transmit data byte count The data register next to the device designated for transmit status stores the byte count of data transmitted by the TXD instruction When BCC is i...
Page 86: ...through RXD3 at a time If the start input for a RXD1 through RXD3 instruction is turned on while another RXD1 through RXD3 instruction without a start delimiter is executed a user communication error...
Page 87: ...on type must also be assigned The received data is divided into blocks of specified receive digits converted in a specified conversion type and stored to the designated data registers Conversion types...
Page 88: ...specified and the converted data is stored to as many consecutive data registers as repeat cycles Example Received data of 6 bytes is divided into 2 digit blocks converted in ASCII to Binary and store...
Page 89: ...tart delimiter is executed any incoming data is processed continuously according to the receive format Only one instruction each of RXD1 through RXD3 without a start delimiter can be executed at a tim...
Page 90: ...rt Delimiter Multi byte start delimiter is determined in the structure of the Receive Format The following examples show how multi byte start delimiter is determined Constants are followed by data reg...
Page 91: ...he master station must be received only when the incoming data is sent for the slave station 1 Incoming data Incoming data consists of start delimiter STX a slave station number which can be 0 through...
Page 92: ...mat of a RXD instruction an end delimiter can be positioned immediately before or after the BCC code If a data register or skip is designated between the BCC and end delimiter correct receiving is not...
Page 93: ...receiving the incoming data the receive status contains 74 meaning the RXD instruction has completed but user communication error code 5 occurred No extra ladder programming is needed to see whether...
Page 94: ...05h xxh Constant for Verification 0Fh xxh 0Dh Const 05h DR Const FFh DR Const 0Dh Receive status Receive completion output 74 1 Constant for verification of incoming data does not match the receive fo...
Page 95: ...received BCC code with the BCC calculation results BCC Calculation Start Position The start position for the BCC calculation can be specified from the first byte through the 15th byte The BCC is calc...
Page 96: ...with the BCC code appended to the seventh and eighth bytes of the incoming data Example 2 BCC is calculated for the first byte through the sixth byte using the ADD format converted in binary to ASCII...
Page 97: ...es the byte count of data received by the RXD instruction When a start delimiter end delimiter and BCC are included in the received data the byte counts for these codes are also included in the receiv...
Page 98: ...To activate a receive instruction that was canceled turn off the user communication receive instruction cancel flag and then turn on the receive instruction input conditions again User communication r...
Page 99: ...cified connection When all data has been received the device designated by D1 is turned on Receive status the receive status and error code is stored to the device designated by D2 The byte count of r...
Page 100: ...eferring to the user communication mode specifications described below A barcode reader is connected to port 1 of the FC6A Series MicroSmart User Communication Mode Specifications Type RS232C User Com...
Page 101: ...ser program must be downloaded to the FC6A Series MicroSmart after changing any of these settings 1 From the WindLDR menu bar select Configuration Communication Ports The Function Area Settings dialog...
Page 102: ...where you want to insert the TXD instruction and type TXD You can also insert the TXD instruction by clicking the User Communication icon in the menu bar and clicking where you want to insert the TXD...
Page 103: ...finished click OK 4 Since the TXD Transmit dialog box reappears repeat the above procedure In the Data Type Selection dialog box click Variable DR and click OK Next in the Variable Data Register dial...
Page 104: ...ox type 03 to program the end delimiter ETX 03h When finished click OK 7 In the TXD Transmit dialog box type M0010 in the destination D1 box and type D0100 in the destination D2 box When finished clic...
Page 105: ...icon in the menu bar and clicking where you want to insert the RXD instruction in the program edit area then the Transmit dialog box appears Click RXD to change the dialog box to the Receive dialog bo...
Page 106: ...stant to verify When finished click OK 6 Again in the Data Type Selection dialog box click Variable DR and click OK Next in the Variable Data Register dialog box type D10 in the DR No box and click AS...
Page 107: ...imal and click OK Next in the Constant Hexadecimal dialog box type 03 to program the end delimiter ETX 03h When finished click OK 9 In the RXD Receive dialog box type M0100 in the destination D1 box a...
Page 108: ...mmunication Port DR No Data Register Function Data Register Value Updated R W Port 1 to Port 3 D8104 Control signal status Every scan R D8105 DSR input control signal option When sending receiving dat...
Page 109: ...0 D8105 0 3 0 5 0 4 Port 3 Port 2 Port 1 6 8 7 0 0 0 D8105 3 bit Binary Value Description 000 DSR is not used for data flow control When DSR control is not needed set 0 to D8105 001 When DSR is on the...
Page 110: ...ry Value Description 00 While the FC6A Series MicroSmart is running DTR is on whether the FC6A Series MicroSmart is transmitting or receiving data While the FC6A Series MicroSmart is stopped DTR remai...
Page 111: ...ient on page 5 36 User communication server functions and configuration are described in User Communication Server on page 5 40 The FC6A Series MicroSmart supports the TCP IP protocol The FC6A Series...
Page 112: ...as a user communication server The client devices connect to the FC6A Series MicroSmart and the FC6A Series MicroSmart communicates with the client devices using Ethernet user communication instructi...
Page 113: ...truction cancel flags for each client connection is shown in the table below For details about the user communication receive instruction cancel flag see User Communication Receive Instruction Cancel...
Page 114: ...the FC6A Series MicroSmart 1 Select Configuration from the WindLDR menu bar and then click Connection Settings The Function Area settings dialog box appears 2 Select the User Communication Client as...
Page 115: ...nsmit over Ethernet to transmit data or ERXD Receive over Ethernet to receive data as the instruction type Select the client connection from 1 through 8 and designate S1 D1 and D2 Click OK button to c...
Page 116: ...he user communication receive instruction cancel flags for each server connection is shown in the table below For details about the user communication receive instruction cancel flag see User Communic...
Page 117: ...x and then download the user program to the FC6A Series MicroSmart 1 Select Configuration from the WindLDR menu bar and then click Connection Settings The Function Area Settings dialog box appears 2 S...
Page 118: ...smit over Ethernet to transmit data and ERXD Receive over Ethernet to receive data as the instruction type Select the server connection from 1 through 8 and designate S1 D1 and D2 Click OK button to c...
Page 119: ...r RXD instruction with or without a start delimiter is executed The receive completion output of the RXD instruction at a smaller address goes on 5 While a RXD instruction with a start delimiter is ex...
Page 120: ...101 117 133 149 165 181 197 213 229 245 6 ACK SYN 6 F V f v Decimal 6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246 7 BEL ETB 7 G W g w Decimal 7 23 39 55 71 87 103 119 135 151 167 183 199 2...
Page 121: ...Connection Shield RXD Receive Data White Orange 2 1 NC No Connection TXD Transmit Data Orange 3 2 DATA Receive Data DTR Equipment Ready White Green 4 3 NC No Connection A Blue 5 4 SG Signal Ground B...
Page 122: ...8120 REP D1 D8105 S2 0 REP D1 M0 END SOTU S1 73 D2 D0 D1 M1 M0 M0 MOV W TXD 1 CMP W S1 D8014 M8125 S1 C2 REP D1 D31 MOV W S1 D8012 REP D1 D20 MOV W S1 D8013 REP D1 D21 MOV W M8120 is the initialize pu...
Page 123: ...mmunication parameters to match those of the barcode reader See Programming WindLDR on page 5 25 For details of the communication parameters of the barcode reader see the user s manual for the barcode...
Page 124: ...k Output timing Data output filter Sub serial 02h No Output priority 1 No No Terminator BCR data output Character suppress Main serial input 03h Yes No No Comparison Preset Mode Not used M100 Input to...
Page 125: ...the BCC 1 Convert the ASCII characters in the range from the BCC calculation start position to the byte immediately before the BCC in units of two characters to make 1 byte hexadecimal data Example 3...
Page 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 127: ...en configured as a Modbus RTU master the FC6A Series MicroSmart can monitor and change the data of Modbus RTU slave devices When the FC6A Series MicroSmart is configured as a Modbus RTU slave the devi...
Page 128: ...allocated to execute Modbus RTU master communication The internal relays or data register bits are allocated in the order of requests For example when internal relay M0 is designated as the request ex...
Page 129: ...e programmed in a request table is shown in the table below Note 8 bytes of the user program area are needed per each request Use a Single DR for All Communication Requests Error Data of Each Communic...
Page 130: ...ings relate to the user program the user program must be downloaded to the FC6A Series MicroSmart after changing any of these settings 1 From the WindLDR menu bar select Configuration Communication Po...
Page 131: ...rror status data registers are allocated in the order of request numbers When deleting a request or changing the order of requests the relationship of the request to the request execution devices and...
Page 132: ...nternal relay in the Modbus RTU Master Request Table Devices used for executing requests are automatically listed in the table To execute a request turn on the corresponding request execution device D...
Page 133: ...03 04 06 and 16 Master Device Address Internal Relay Master Device Address Data Register Bit 0 Master Bit 1 Bit 2 Internal Relay M Bit 0 Slave Bit 1 Bit 2 Modbus Address Word 0 b15 Master Word 1 Word...
Page 134: ...FC6A Series MicroSmart type used Item Description Baud Rate bps 9 600 19 200 38 400 57 600 115 200 Data Bits 8 bits fixed Stop bits 1 2 bits Parity Odd even none Slave Number Constant 1 to 247 Data r...
Page 135: ...701 M0000 M2557 0 1001 M2560 M7997 2560 3049 M8000 M8317 8000 9001 M10000 M17497 10000 11001 Input Relay I0 I627 0 100001 T000 T255 timer contact 0 101001 C000 C255 counter contact 0 101501 T256 T102...
Page 136: ...ction Area Settings dialog box for Communication Ports appears 2 In the Communication Mode pull down list for Port select Modbus RTU Slave 3 Click the Configure button The Modbus RTU Slave dialog box...
Page 137: ...following error codes is stored in NAK reply 01h Function code error unsupported function code 02h Access destination error address out of range address device quantity out of range 03h Device quantit...
Page 138: ...ntact One through 128 consecutive bits can be read out Communication Frame Request from Modbus RTU Master ACK Reply from Modbus RTU Slave NAK Reply from Modbus RTU Slave Communication Example Modbus R...
Page 139: ...r ACK Reply from Modbus RTU Slave NAK Reply from Modbus RTU Slave Communication Example Modbus RTU Mode Purpose Read 2 words starting at data register D1710 D1710 1710 0 400001 401711 Modbus address 4...
Page 140: ...U Slave Communication Example Modbus RTU Mode Purpose Force internal relay M1320 on M1320 132 0 8 0 1001 2057 Modbus address 2057 2057 1 2056 808h Communication frame address 0808h Condition Slave No...
Page 141: ...ple Modbus RTU Mode Purpose Write 8000 to data register D1708 D1708 1708 0 400001 401709 Modbus address 401709 Extract lower 5 digits 1709 1709 1 1708 6ACh Communication frame address 06ACh Condition...
Page 142: ...ON M607 OFF M610 ON M611 OFF M612 ON M613 ON M614 OFF M615 OFF M616 ON M617 OFF M620 OFF M621 OFF M622 OFF M623 OFF M624 OFF M605 LSB through M614 MSB binary data 6B M615 LSB through M624 MSB binary...
Page 143: ...egisters D1708 through D1711 D1708 1234h D1709 5678h D1710 ABCDh D1711 EF01h D1708 1708 0 400001 401709 Modbus address 401709 Extract lower 5 digits 1709 1709 1 1708 6ACh Communication frame address 0...
Page 144: ...eight connections can be allocated to Modbus TCP clients Each connection can communicate with one Modbus TCP server device When the FC6A Series MicroSmart is configured as a Modbus TCP server the dev...
Page 145: ...8 one server per one connection Receive Timeout 1 100 to 25 500 ms in increments of 100 ms Transmission wait time 0 to 5 000 ms 0 ms Request Execution Device Start stop Used When request execution dev...
Page 146: ...st number high order byte and error code low order byte of each request in the entire request table can be confirmed Data registers as many as the quantity of requests are reserved for storing error d...
Page 147: ...then download the user program to the FC6A Series MicroSmart 1 From the WindLDR menu bar select Configuration Connection Settings The Function Area Settings dialog box appears 2 Select Modbus TCP Clie...
Page 148: ...the function codes according to the specifications of the Modbus server devices Function Code Data Size Slave Address FC6A Series MicroSmart as Modbus Slave 01 Read Coil Status 1 to 128 bits 000001 06...
Page 149: ...e Remote Host List dialog box Slave No Designate slave numbers 1 through 247 The same slave number can be designated repeatedly for different request numbers which can be 1 through 255 The slave numbe...
Page 150: ...s Simultaneously 1 8 1 client per 1 connection Port Number 502 can be changed between 0 and 65535 Supported Function Code 01 Read Coil Status 02 Read Input Status 03 Read Holding Registers 04 Read Inp...
Page 151: ...m to the FC6A Series MicroSmart 1 From the WindLDR menu bar select Configuration Connection Settings The Function Area Settings dialog box appears 2 Select Modbus TCP Server as the communication mode...
Page 152: ...D the client can confirm to which request the response was returned When confirmation is not required designate 0 as a transaction ID Protocol ID Designate 0 to identify Modbus TCP protocol Message Le...
Page 153: ...device connected to port 1 of the FC6A Series MicroSmart from the Modbus TCP client device connected to Ethernet port 1 of the FC6A Series MicroSmart The Modbus RTU pass through function is only suppo...
Page 154: ...no particular check to perform Protocol ID This number indicates the Modbus TCP protocol and is 0 Message Length Represents the length of the message that follows in bytes Unit ID The ID for identify...
Page 155: ...disable Settings Configure in Function Area Settings None Specifying the Pass through Destination Specify the Modbus RTU slave for pass through with the Modbus TCP communication frame unit ID When th...
Page 156: ...ettings group click Connection Settings The Function Area Settings dialog box is displayed 2 Click Communication Mode for Port 1 and select Modbus TCP Server The Modbus TCP Server dialog box is displa...
Page 157: ...t Modbus RTU Master The Modbus RTU Master Request Table dialog box is displayed 6 Configure the Modbus RTU Master Request Table dialog box items For details see Modbus RTU Master Communication on page...
Page 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 159: ...station sends the appropriate amount of data in units of words to the slave stations The slave stations that received this transmission send an amount of data matching the number of words received to...
Page 160: ...croSmart to RS 485 or by using a RS 485 communication cartridge in port 2 or port 3 1 When communication quality is unstable add terminating resistance matched to the characteristic impedance to both...
Page 161: ...ave 21 D954 D959 Receive data from slave 5 D1146 D1151 Receive data from slave 21 Slave 6 D960 D965 Transmit data to slave 6 Slave 22 D1152 D1157 Transmit data to slave 22 D966 D971 Receive data from...
Page 162: ...a Register Data Link Communication Error Data Special Data Register Data Link Communication Error Data D8069 Slave station 1 communication error D8085 Slave station 17 communication error D8070 Slave...
Page 163: ...ion Error Slave Station 1 D900 D901 Transmit Data D906 D907 Receive Data D8069 Communication Error Slave Station 2 D900 D901 Transmit Data D906 D907 Receive Data D8069 Communication Error Slave Statio...
Page 164: ...ion Slave station Data link communication stop flag When a slave station does not receive communication data from the master station for 10 seconds or more in the data link system M8007 turns on When...
Page 165: ...tion Area Settings dialog box for Communication Ports appears 2 Click Communication Mode for the port to use and select Data Link Master The Data Link Master Settings dialog box appears 3 Set the Baud...
Page 166: ...M8007 in the user program 1 Select Online Monitor Monitor Start Monitor WindLDR enters monitor mode 2 Select Online PLC Initialize Initialize Data Link The slave stations are recognized by the master...
Page 167: ...Data Link Slave Settings dialog box you can change the data link station number of the slave station without downloading the user program by writing the data link station number into the following spe...
Page 168: ...with all slave stations that is the total of refresh times Baud Rate 19 200 bps Trfn Trf 4 2 ms 2 4 ms Transmit Words Receive Words 1 scan time Baud Rate 38 400 bps Trfn Trf 2 2 ms 1 3 ms Transmit Wo...
Page 169: ...e SAE J1939 standard SAE J1939 Overview J1939 Communication Network A J1939 communication network is composed of ECUs engine brake etc and NIECUs repeaters routers etc and each ECU has one or more CAs...
Page 170: ...and if the CAN J1939 All in One Type priority is lower it repeatedly attempts to acquire another address When the local address has been determined messages can be exchanged If the local address was n...
Page 171: ...ed in the format called the PDU2 format The PGN is defined with EDP DP PDUF and PDUS and it is handled as a PGN for broadcast communication Since the data that can be stored in the CAN data frame is a...
Page 172: ...9 73 Application Layer Diagnostics SAE J1939 75 Application Layer Generator Sets and Industrial SAE J1939 81 Network Management Baud Rate 250 k bps Transmit Methods Event transmission cycle transmissi...
Page 173: ...red 1 Bus off has occurred Special Data Register Allocations J1939 Communication Error Code D8052 This register stores the J1939 communication error code To initialize this register write 0 Details on...
Page 174: ...ages can be exchanged between the MicroSmart and CAs If the local address is 254 the status remains the address unconfirmed status 4 When an address conflict occurs and the local address is 254 null a...
Page 175: ...igure J1939 communication according to the usage environment 1 On the Configuration tab in the Function Area Settings group click Comm Port The Function Area Settings dialog box is displayed 2 Select...
Page 176: ...1730 4 Click the Communication Settings tab and set the device address to store the CA address table 5 Click Add CA to add a node to configure a CA 6 Click the node that corresponds to the CA to confi...
Page 177: ...MUNICATION 7 Click the Receive Message tab and first configure the devices that will used with received messages 8 Click Append to add a received message 9 Select any of the cells for the message sett...
Page 178: ...FC9Y B1730 10 Click the Send Message tab and configure it in the same manner as the Receive Message tab 11 Click Undesignated CA Configure the Receive Message tab and the Send Message tab in the same...
Page 179: ...etc When an address conflict occurs with a CA connected to the same network the local address is reacquired according to the Arbitrary Address Capable bit of the local NAME 2 NAME Sets the CAN J1939...
Page 180: ...cannot exchanged 2 If the address is outside the range of 0 to 253 messages cannot be exchanged with the corresponding CA 3 N is 1 to 253 CA Storage Destination Function Setting Details Local Startin...
Page 181: ...0 CA address table CA address information Local NAME 0 words 2233 5678h Local address 4 words 128 A844 1111h NAME CA 1 NAME 5 words 2444 6789h 130 Address CA 1 address 9 words 150 Address of CA that m...
Page 182: ...le When hexadecimal 01 F0 etc 2 NAME Sets the CA NAME in 64 bits If CA NAME is not defined set it to 0 When Input NAME and PGN by hexadecimal value check box is selected enter them as hexadecimal valu...
Page 183: ...age that will be received exceeds 8 bytes a multi packet message split into 8 byte packets will be received After the multi packet message has finished being received the split data is combined and st...
Page 184: ...l of the check boxes are cleared If any received message check boxes are off all of the check boxes are selected 4 Message parameter settings These settings configure the details of the received messa...
Page 185: ...ceive The maximum value that can be set is 252 bytes Receive cycle timeout ms Sets the time to monitor the receive message cycle that periodically receives messages in 10 ms increments The range that...
Page 186: ...of the message data to transmit Starting from the data storage destination data in the length of the transmit data length will be transmitted to the CA When 0 is stored for the transmit data length d...
Page 187: ...sage is enabled when the check box is selected and disabled when the check box is cleared Note Click the check box column header to perform the following operations If all transmitted message check bo...
Page 188: ...tion address in PDU1 format to 00h Click and a PGN can be selected in the displayed PGN Manager For details see PGN Manager on page 8 29 Priority Sets the priority for the message to transmit between...
Page 189: ...mitting a message the data is first copied from the data storage destination to the internal transmit buffer and then transmitted Comment Sets the comment for the transmitted message The comment that...
Page 190: ...essage data If the message that will be received exceeds 8 bytes a multi packet message split into 8 byte packets will be received After the multi packet message has finished being received the split...
Page 191: ...ll of the check boxes are selected 4 Message parameter settings These settings configure the details of the received message selected in the message list CAN ID Status Code Description Details 0 Norma...
Page 192: ...ceive The maximum value that can be set is 252 bytes Receive cycle timeout ms Sets the time to monitor the receive message cycle that periodically receives messages in 10 ms increments The range that...
Page 193: ...storage destination data in the length of the transmit data length will be transmitted to the CA When 0 is stored for the transmit data length data of the maximum data length will be transmitted to t...
Page 194: ...eter settings 4 The send message can also be enabled or disabled The message is enabled when the check box is selected and disabled when the check box is cleared Notes Click the check box column heade...
Page 195: ...en the PGN is set in the PDU1 format range it is transmitted as a message with a destination address of 255 global address Click and a PGN can be selected in the displayed PGN Manager For details see...
Page 196: ...mitting a message the data is first copied from the data storage destination to the internal transmit buffer and then transmitted Comment Sets the comment for the transmitted message The comment that...
Page 197: ...be deleted 4 Find Enter a string to find in the PGN list as a maximum of 128 bytes 5 Next Finds the string entered in Find in the PGN list Enter a string in Find and click this button 6 Add PGN butto...
Page 198: ...for the group selected in the group list 10 Export PGNs button Exports the PGNs registered to the group selected in the group list as a CSV file Click this button to display the Save As dialog box Sel...
Page 199: ...the PGN to register as a maximum of 5 characters When the Input PGN by hexadecimal value check box is cleared enter this as a decimal value When the check box is selected enter this is a hexadecimal...
Page 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 201: ...instruction and the SOTD instruction see Chapter 4 SOTU and SOTD Single Output Up and Down in the FC6A Series MicroSmart LAD Programming Manual In order to use the PING instruction the FC6A Series Mi...
Page 202: ...ition State Description 16 000000010000 Preparing transmission The interval from turning on the PING instruction input to when the ping packet is sent to the specified remote host 32 000000100000 Wait...
Page 203: ...on see Chapter 4 SOTU and SOTD Single Output Up and Down in the FC6A Series MicroSmart LAD Programming Manual In order to use the EMAIL instruction you must configure the settings such as e mail serve...
Page 204: ...ing e mail servers return could vary with each sending e mail server For details about the error code contact the administrator of the sending e mail server Status Code Decimal Operation Transition St...
Page 205: ...nfiguration tab in the PLCs group select Expansion Modules 2 Click the inserted HMI module in the module configuration area and click Configure The HMI Module Configuration dialog box is displayed Not...
Page 206: ...uded in the sender field of the e mails to be sent from the FC6A Series MicroSmart A maximum of 40 ASCII characters can be entered 5 Use secure connection SSL When SSL communication is required with t...
Page 207: ...the set string is shorter than Number of used words 1 fill the data after the string with 00h Setting Item Data Type Number of Used Words Start Address of Setting Item End Address of Setting Item Sett...
Page 208: ...3 D104 D105 D106 D107 D108 D109 to D120 ASCII s m t p e x a m p l e c o m 0 0 0 0 Value hexadecimal 736Dh 7470h 2E65h 7861h 6D70h 6C65h 2E63h 6F6Dh 0000h 0000h SMTP Server Port D121 Data Register D121...
Page 209: ...t relay the e mails or the mailer used by the recipients the e mails sent out from the FC6A Series MicroSmart may not reach the recipients or may not be viewed correctly in the mailer When ASCII is us...
Page 210: ...dress dialog box appears 3 Configure the settings 1 Direct Specify the e mail address to register in the E mail Address Book dialog box A maximum of 40 ASCII characters can be entered 2 Data Register...
Page 211: ...l address group are shown in the list box on the left The e mails addresses are listed in the order that they were registered in the E mail Address Book dialog box In order to add an e mail address to...
Page 212: ...ed in the body by inserting data registers Spaces and newlines The size of the e mail subject and body is the text that is composed of the combination of the above elements The result of encoding the...
Page 213: ...he appropriate side to add that e mail address to To or Cc Of the e mail addresses in the To or Cc boxes select the e mail address to delete and click on the appropriate side to delete that e mail add...
Page 214: ...exadecimal the following text will be embedded in the e mail body 1234 5678 ABCD The text created in the E mail Editor is encoded and sent according to the Encoding method settings specified on E mail...
Page 215: ...lumns in the CSV file can be changed The number of rows and columns can be specified between 1 and 64 When the editing range is shrunk the setting values outside the editing range are cleared 2 Text D...
Page 216: ...he dialog The current file size and the remaining size that can be used for editing the content are displayed at the bottom of the dialog You can expand the grid area by changing the size of the dialo...
Page 217: ...ata register number Data Type Word W The 1 word value stored in the specified data register is converted to an unsigned 16 bits value Integer I The 1 word value stored in the specified data register i...
Page 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Page 219: ...ge using system library parts such as numerical input bar graph or trend graph without special knowledge of JavaScript The Web server is protected with basic authentication Access from people who do n...
Page 220: ...dules 2 Click the inserted HMI module in the module configuration area and click Configure The HMI Module Configuration dialog box is displayed Note You can also display the HMI Module Configuration d...
Page 221: ...igure access privileges with multiple user accounts for web server Select to use multiple accounts and limit access to the web server Click Configure and create user accounts in the displayed User Acc...
Page 222: ...Page Editor For details see Web Page Editor on page 11 26 User Account Settings Creating Multiple User Accounts Operation procedure 1 In the HMI Module Configuration dialog box on the Web Server tab...
Page 223: ...agement tab and select the check boxes of folders and servers where access will be permitted 5 Repeat steps 2 to 4 and create the necessary number of user accounts Note If you select a user account on...
Page 224: ...N ONE TYPE COMMUNICATION MANUAL FC9Y B1730 Deleting a Created User Account Operation procedure 1 Select the user account on the list and click Delete A confirmation message is displayed 2 Click OK 3 C...
Page 225: ...stem device_write cgi CGI for writing device data used by JavaScript Separately from these system web pages the FC6A Series MicroSmart project can contain user web pages with user defined page data Th...
Page 226: ...tem Information Type number and system program version of the FC6A Series MicroSmart can be confirmed 2 Operating Status Run Stop scan time and error code can be confirmed By clicking on the button in...
Page 227: ...the specified data register are monitored The valid device numbers are 0 to 7800 8000 to 8300 and 10000 to 49800 If an invalid value is entered the value is corrected automatically 2 Select the Monito...
Page 228: ...ess D data register or m internal relay can be specified Specify data device number in decimal such as D2058 or m0112 2 Select the Type to display the corresponding device in the desired format Data r...
Page 229: ...monitored The HMI module can also be operated by clicking on the displayed buttons and shortcuts Operation procedure The monitoring procedure is as follows 1 The menus and messages displayed on the HM...
Page 230: ...User Web Page tree can be built by performing the following operations on user web page items on the Project window and files and folders that are registered as web pages Creating a Web Page Tree The...
Page 231: ...w Folder The New Folder dialog box is displayed 4 Enter Folder as the name of the folder to create and click OK The folder titled Folder is created in User Web Page If you want to rename the folder ri...
Page 232: ...window right click User Web Page or a folder under User Web Page and click Import Folder A dialog box is displayed Select the folder that contains the web page tree to import and all of the files unde...
Page 233: ...the Project window The following procedure describes an example of deleting page33 html and Folder44 from the web page tree Operation procedure 1 Right click page33 html and click Delete A delete conf...
Page 234: ...delete confirmation message is displayed Click OK to delete all registered files and folders Use UTF 8 as the encoding for all htm and html files that will be imported as user web pages Separately ba...
Page 235: ...number network number web data type Example R D 123 0 0 DEC W Notes Strings that do not follow the metacharacter format will not be replaced with numeric values by JavaScript If communication with th...
Page 236: ...m internal relay Device number Sets the device number to monitor as a decimal value Driver number The driver number Set to 0 Network number The network number Set to 0 Web data type Sets the web data...
Page 237: ...size 2 words rounded up If 00h is not included in the data that was read the string is replaced as if 00h is at maximum size 1 byte Note that the maximum size is set in bytes but reading is performed...
Page 238: ...ster D2058 D2059 D2060 Before writing ASCII a b c d e f Value hexadecimal 6162h 6364h 6566h Write A ASCII A 0 0 0 0 0 Value hexadecimal 4100h 0000h 0000h Write AB ASCII A B 0 0 0 0 Value hexadecimal 4...
Page 239: ...er or not there is a label for the scale on the graph The default setting is false no label div id div11 data graph vbar device D address 2040 driver 0 net_no 0 format DEC D width 300 height 300 line_...
Page 240: ...ckground color of the graph The default value is FFFFFF front_col The foreground color of the graph The default value is a color that differs for each element scale_on This parameter sets whether or n...
Page 241: ...tart drawing the graph border in the vertical direction in pixels The default value is 30 g_width The horizontal width of the graph border in pixels The default value is 200 g_height The vertical of t...
Page 242: ...which the graph is displayed may differ according to the type of web browser There may be a delay in updating the web browser display due to the update frequency and the number of data plots label Th...
Page 243: ...idec device_write device address length driver net_no data The return value is true when the function normally terminates and false in all other cases Note The function is as follows when writing 4991...
Page 244: ...as follows Google Chrome 47 or later Mozilla Firefox 42 or later Microsoft Internet Explorer 11 Configure Windows so that these web browsers are the default web browser This can be set on the Programs...
Page 245: ...to a normally open contact M0000 Select Switch in the Components list and drag and drop it on the work area The switch will be placed on the area with the predefined size Note To place a switch on th...
Page 246: ...address to set is not in the Device Tree click Cancel and then directly enter the device address in the text box for Link Box on the Property tab This sets Switch 1 to a normally open contact M0000 7...
Page 247: ...eo files image files for switches and image files for lamps that have been imported with user web pages are displayed in their respective folders on the list Double clicking a created user web page wi...
Page 248: ...concludes checking operation of the user web page You can view the user web page from a web browser if you download the user program in WindLDR to the FC6A Series MicroSmart after saving the created...
Page 249: ...ation 1 5 8 5 21 D2 Destination 2 5 8 D2 0 Receive Status 5 21 D2 1 Receive Digits Bytes 5 21 D2 1 Transmit Digits Bytes 5 9 Data Bits 4 5 4 12 data link with other PLCs 7 10 data link communication 7...
Page 250: ...16 5 21 5 25 Receive Timeout ms 4 5 4 8 4 12 remote host list 3 16 repeat cycles 5 6 5 12 request table 6 5 RS232C DSR Control Signal Status 2 17 RS232C DTR Output Control Signal Option 2 18 RUN mode...
Page 251: ...730 INDEX 3 INDEX custom monitor 11 10 data type 11 7 PLC status 11 8 redirect 11 3 system web page 11 7 WindLDR programming data link 7 7 Modbus master 6 4 slave 6 10 RXD instruction 5 29 TXD instruc...
Page 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...