Copyright Jun. 2012 by ICP DAS CO., LTD. All right reserved. This paper lists the upgraded history of the ISaGRAF driver of the WP-5147 , WP-5x47 and WP-5146 , WP-5x46 . The newly released driver can also be obtained from the following website. http://www.icpdas.com/products/PAC/i-8000/isagraf.htm or www.icpdas.com > ISaGRAF SoftLogic PAC > Driver Warning: The copyright of the firmware and ISaGRAF embedded driver belongs to ICP DAS CO., LTD. Only the WP-5147, WP-5x47, WP-5146 and WP-5x46 have registered a legal WinPAC ISaGRAF Target license. Trademark: Products, names and trade names appeared belongs to their respective owner. Please refer to below for the specifications and applications of WP-5147 / WP-5x47 English DataSheet : http://www.icpdas.com/products/PAC/i-8000/data%20sheet/data%20sheet.htm Chinese DataSheet : http://www.icpdas.com/products/PAC/i-8000/data%20sheet/data%20sheet_c.htm ************************************************************************** * 1.01 , Jun.18,2012 ************************************************************************** 1. This is the first relesed ISaGRAF driver of the WP-5147 , WP-5x47 and WP-5146 , WP-5x46 . 2. It supports both of the ISaGRAF SoftLogic and the Soft-GRAF HMI. (refer to http://www.icpdas.com/faq/isagraf.htm > FAQ-146) ************************************************************************** * 1.02 , Nov.06,2012 ************************************************************************** 1. Update the Soft-GRAF.exe to the version 1.16 . 2. Fix a bug when using RTU_slav" with a baud rate 57600. 3. Remove the "release_FRNET_module()" when the slot is not using I-8172W. (Then the I-8017HW 's H/L alarm LED will be OFF when ISaGRAF driver is starting up.) 4. If the "msg1" contains the and (ASCII No. 13 and 10) when calling the MSGARY(-8,msg1) or MSGARY_W(-9,msg1) to trigger a g_Alarm, the and character will be replaced to a SPACE character (ASCII No. 32) automatically . 5. Fix a bug when doing ftp_send - "progress stop at 98%" . 6. Fix a bug in the bus7000, bus7000b - "The Q_ ouput of the remote I/O function blocks is not correct in some cycles when the PAC is just started if the module is not connected" 7. Support the Soft-GRAF HMI 's g_Alarm to send alarm history files to a remote ftp server. 8. Support the Soft-GRAF 's "g_Logger1" to record some Integers , Reals and Boolean data. And user may enable the ftp function in the "g_Logger1" to deliver the log-file to a remote ftp server running in a PC or in a workstation. The g_Logger1 HMI object will be available in the version 1.07 of the Soft-GRAF studio . 9. Modify the cycle_mbus[port] to a smaller value to increase the communication efficiency of Modbus RTU / ASCII master ports. 10. Increase the communication efficiency of Modbus RTU / ASCII master ports a little. 11. Add a file "ETHAPI.dll" in the driver . 12. User may use the following function to get the connection state of the LAN1 and LAN2. (* Return 1: connection ok. return 0: broken line *) LAN1_state := R_MB_ADR( 1 , 9987 ) ; LAN2_state := R_MB_ADR( 1 , 9986 ) ; 13. Support the "Mbus_tcp" and "Mbus_tc2" to send Modbus TCP commands with different NET-ID numbers to the same Modbus TCP slave device. (refer to the section 1.4 in the http://www.icpdas.com/faq/isagraf.htm > FAQ-113) 14. Support the COMARY_W( -7 , msg1 ) to trigger a Soft-GRAF g_Alarm on the pop-up window to show all unAck Alarm. 15. Support the following function to ACK Soft-GRAF g_alarm by the ISaGRAF program. To ack the last alarm : COMARY_W( -6 , 'LAST' ) To ack today's all alarms : COMARY_W( -6 , 'ALL' ) To ack an alarm : COMARY_W( -6 , 'xxx' ) (xxx is a number from 1 to 2999) 16. Support the DL-100T485 (DCON protocol) to measure temperature and humidity . 17. Upgrade the Soft-GRAF driver to the version 1.20 . ************************************************************************** * 1.03 , Dec.18,2012 ************************************************************************** 1. Save the project to the storage memory when doing on-line-modification (or called on-line-change) successfully . 2. Modify the PID_AL function block to be more safe when setting a small value to the "Ts" parameter. 3. Upgrade the Soft-GRAF driver to the version 1.21 . ( The g_Logger1" can record up to 50 tags.) ************************************************************************** * 1.04 , Mar.15,2013 ************************************************************************** 1. Update the Soft-GRAF driver to the 1.22 version. Fix a bug in the Soft-GRAF driver version 1.21 and older version which may not display the g_B_Led and g_B_Pic well sometimes. 2. Support Mbus_AR to request max. 24 words (or 12 REAL or 12 long integer). The difference between Mbus_AR , Mbus_AW and other Mbusxxx is the Mbus_AR , Mbus_AW can apply in "for ... loops" in the first scan cycle. 3. Support Mbus_AW to write max. 12 words (or 6 REAL or 6 long integer). The difference between Mbus_AR , Mbus_AW and other Mbusxxx is the Mbus_AR , Mbus_AW can apply in "for ... loops" in the first scan cycle. 4. Fix a bug in the function block - Mbus24R and Mbus24R1. They can read max. 200 bits (not 384 bits) When "CODE_" is 1 and 2 . 5. The Mbus_AR supports CODE 1 and 2 to read up to 200 booleans (bits). 6. Each Mbus_tcp in the I/O connection now support up to 1000 mbusxxx function blocks. (older version support only up to 255) 7. The Mbus_AW supports CODE 5 to write 1 boolean (Bit). The Mbus_AW supports CODE 15 to write 1 to 16 booleans (Bits). 8. Update the Soft-GRAF driver to version 1.23 to fix a bug when g_Alarm generate more than 2999 alarms. 9. Supportted XW boards: XW107, XW107i , XW110i , XW304 ************************************************************************** * 1.04 , Mar.18,2013 ************************************************************************** 1. Update the Soft-GRAF driver to version 1.23A to fix a bug when g_Alarm generate more than 2999 alarms and click "Ack" . 2. Fix a bug when search g_Alarm keyword (1 ~ 3000 ) in alarm files. ************************************************************************** * 1.05 , Apr.08,2013 ************************************************************************** 1. Update the Soft-GRAF driver to version 1.24. Improve the running speed when operate g_Alarm 's "ACK ALL" or export alarm files to USB pen drive. ************************************************************************** * 1.06 , Apr.23,2013 ************************************************************************** 1. Support XW310. 4-Ch A/I and 2-Ch A/O and 3-Ch D/I and 3 Ch-D/O. A/I and A/O : -32768 ~ +32767 (-10 V ~ +10 V) 2. Update the Soft-GRAF driver to version 1.25 to support buttons with Multi-line text. To show a multi-line text in the below buttons, please add a "space" character between words. For example "Hello World" shows 2 line in a button when its width is not enough to hold this "Hello World" text in one line. However the "HelloWorld" will show only one line no matter its width is enough or not because there is no "space" character between the "Hello" and "World" . g_B_Inp , g_N_Inp , g_F_Inp , g_M_Inp , g_ToPage , g_Login , g_Logout , g_Logger1 3. Update the Soft-GRAF driver to version 1.25 to extend the file retaining days of the g_Logger1 as the following. --------------------------------------------------------------------------- Sampling time of the g_Logger1 (seconds) retaining days (or months) --------------------------------------------------------------------------- 1 , 2 , 3 10 days 5 , 10 , 15 , 20 , 30 1 month 60 , 120 3 months 180 , 300 6 months 600 or larger 12 months ************************************************************************** * 1.07-beta , Jun.07,2013 ************************************************************************** 1. Support User defined c-function and c-function blocks. Please refer to http://www.icpdas.com/root/support/faq/isagraf.html > FAQ-167. ************************************************************************** * 1.07-beta-2 , Jun.10,2013 ************************************************************************** 1. Fix a bug in the ISaGRAF driver 's take0fbl.c and Plugin.c which may crash the driver when the User_c_wp5.dll found. ************************************************************************** * 1.07 , Jun.25,2013 ************************************************************************** 1. Update the ETHAPI.lib and ETHAPI.DLL to a new version. The older version may crash the LAN1 / LAN2 communication when using the R_MB_ADR(1, 9987) or R_MB_ADR(1, 9986) 2. Update the Soft-GRAF driver to version 1.26 to support local language Encoding for the g_Logger1 HMI object. 3. Support user to add his own C-function and C-function blocks to work in the same ISaGRAF WinCE PAC. Please refer to the below web for more information. http://www.icpdas.com/ > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-167 4. Support Schedule-Control. Please refer to the below web for more information. http://www.icpdas.com/ > Support > FAQ > ISaGRAF Soft-Logic PAC > FAQ-166 5. The Soft-GRAF driver now supports "g_ToPage" to set Page No. as -1 and 201. Page No. -1 means switching to "Previous" Page. Page No. 201 means switching to "Schedule-Control" Page (refer to FAQ-166). ************************************************************************** * 1.08 , Jul.16,2013 ************************************************************************** 1. Fix Modbus TCP server. WinCE 's socket( ) and accept( ) functions should use "INVALID_SOCKET" to test if it is succeed or fail. 2. Sleep a little more in the Modbus TCP server thread and the PAC main thread when there is more Modbus TCP clients connectted. ************************************************************************** * 1.09 , Aug.16,2013 ************************************************************************** 1. Fix Mbus_AW function block. The old version can not use Modbus function call 16 to write only one Real or write only one Long integer . Now fix it since this version. 2. Add a c-function "F_cp_dir" to copy all files in a directory (except sub-directory) to one another directory. (refer to http://www.icpdas.com/root/support/faq/isagraf.php > FAQ-168) for example, (* Copy_it and TMP are declared as Boolean / Internal variable *) if Copy_it then Copy_it := FALSE ; (* Correct directory name : '\Temp\Dir2' , '\Temp\Dir3' . Wrong directory name : '\Temp\Dir2\' , '/Temp/Dir3' . *) (* Copy all files in \Temp\Dir2 (except sub-directory) to \Temp\dir3 *) TMP := F_cp_dir('\Temp\Dir2' , '\Temp\dir3' ) ; end_if ; ************************************************************************** * 1.10 , Sep.03,2013 ************************************************************************** 1. Add driver for the I-87028UW and I-87024UW . (refer to http://www.icpdas.com/root/support/faq/isagraf.php > FAQ-169) ************************************************************************** * 1.10A , Oct.15,2013 ************************************************************************** 1. The third input parameter "INTERVAL_" of the "S_MB_ADR( )" can support 0 to 99 (older version only support 0 and 1). ************************************************************************** * 1.11 , Oct.16,2013 ************************************************************************** 1. Add a function block "i_7016d5" to send only two DCON commands to the I-7016 / I-7016D / I-7016P to get only 1-Ch. A/I and output 1-Ch. A/O. Compared with the function block "i_7016d" and "i_7016d2" , the "i_7016d4" has smaller I/O scan time (means it is much faster). ************************************************************************** * 1.12 , Nov.29,2013 ************************************************************************** 1. Upgrade the Schedult utility (Schedule_in_PAC.exe) to version 1.0.0.2 to fix a "Special day" setting problem. 2. Speed up the scan rate of the "Bus7000B" and "Bus7000" a little. ************************************************************************** * 1.13 , Mar.20,2014 ************************************************************************** 1. Fix a problem when connecting GPS-721 or i-87211W. Now make the satelitte bytes more flexible (1 or 2 bytes are ok) Now make the GPS mode flexible (1, 2, 6, ...) ************************************************************************** * 1.14 , Apr.18,2014 ************************************************************************** 1. Add I/O complex equipment "Ping_IP" to test the Ethernet / Internet connection. Can setup max. 30 IP address to test. ************************************************************************** * 1.15 , Jul.08,2014 ************************************************************************** 1. Increase the retry times when Ebus package not received. Don't put it to be dead package easily. ************************************************************************** * 1.16 , Jul.29,2014 ************************************************************************** 1. Add a c-function "f_de_dir" to delete all files in a directory excludes files in its sub-directories. ************************************************************************** * 1.17 , Oct.07,2014 ************************************************************************** 1. Fix a bug in the schedule.c when enable a special day and then Clear it. 2. Add COM_MRTU( 998 , TRUE ) to keep 2G/3G connected (if it is currently connected) when user click "stop application" on the workbench debugger window. To cancel this, call COM_MRTU( 998 , FALSE ) (* ST example : INIT is declared as Boolean/internal and inited as TRUE. TMP_BOO is declared as Boolean/interna1 *) if INIT then INIT := FALSE ; TMP_BOO := COM_MRTU( 998 , TRUE ) ; end_if ; ************************************************************************** * 1.17A , Oct.15,2014 ************************************************************************** 1.When the 2G/3G dial-up state is ˇ§connectedˇ¨ . The driver will try to ping DNS server and 8.8.8.8ˇ¨every 15 minutes to test if the 2G/3G communication is ok. If both ping timeout at 15 seconds later, the ISaGRAF PAC will automatically reset the 2G/3G module and then re-dial-up to recover the 2G/3G communication . If user don't want to ping thisˇ§8.8.8.8ˇ¨, can modify it to ping one another ip address (for example, 192.168.71.9) . Like as below code. (* set to ping one another IP address . INIT is Boolean / Internal variable and inited as TRUE TMP_BOO is Boolean / Internal *) if INIT then INIT := False ; TMP_BOO := COM_MRTU( net_addr('192.168.71.9') , TRUE ) ; end_if ; ************************************************************************** * 1.18 , Oct.24,2014 ************************************************************************** Official release . ************************************************************************** * 1.19 , Dec.09,2014 ************************************************************************** 1. Increase the "mbus24r" and "mbus24r1" to read up to 255 bits for function call 1 and 2. 2. Modify dial_up_xx.DLL to make a ping every 450 seconds (old version is 900 seconds) and increse MAX_PING_ERR_CN from 1 to 4. ************************************************************************** * 1.20 , Feb.02,2015 ************************************************************************** 1. Add app-version and app-crc informations on the dialog window of the ISaGRAF driver . ************************************************************************** * 1.20 , Feb.09,2015 ************************************************************************** 1. Add a "Reset driver" button on the driver dialog . ************************************************************************** * 1.21 , Apr.13,2015 ************************************************************************** 1. Fix a bug in "Mbus_XR" and "Mbus_XR1" when reading Modbus Real and Long values. ************************************************************************** * 1.22 , May.29,2015 ************************************************************************** 1. Support the XW310C. ************************************************************************** * 1.23 , Jul.07,2015 ************************************************************************** 1. Fix the problem of the GTM-201-RS232-3GWA when using SMS.