WWW.CROUZET-AUTOMATION.COM
alert, QUICK START
FTP
| | WWW.CROUZET-AUTOMATION.COM
| 2
| | QUICK START
QUICK START In this quick start, find the settings of the following functions: :
› Directory and communication configuration › Event sending › Exchanges via XW/XB IN/OUT › Datalogs sending by email or FTP. › Update remote directory
DIRECTORY SETTINGS Before editing the program, it’s necessary to identify the recipients with whom the controller can communicate. Then, enter their contact and choose their type. For this, open the em4 software and access to the directory from the tab “Directory”.
| | WWW.CROUZET-AUTOMATION.COM
| 3
| | QUICK START
COMMUNICATION SETTINGS FOR SMS & EMAIL
• SMS › The PIN Code is sufficient for an SMS exchange
• EMAIL › Get a Data SIM card for an exchange by email › Set the APN field from GSM/ GPRS tab › Set the SMTP tab (email sender choice)
| | WWW.CROUZET-AUTOMATION.COM
| 4
| | QUICK START
EVENT BLOCK Event management by SMS or by email
Received a SMS or an email when an event happened on your application
• CONFIGURATION › Double click on the block › Choose the number of events (1 to 24) from the Parameters tab
› Open the Message tab
› Check the send type, SMS or Email
› Collect the recipients from (…) the directory
› Choose your recipients to inform
| | WWW.CROUZET-AUTOMATION.COM
| 5
| | QUICK START
Configuration program to collect a temperature value.
› Select › Enter
and put the « Value » fields in the « Body »
text if necessary
XW/XB IN/OUT BLOCK Monitoring by SMS
Display and control the values of your data by SMS
Number of modifiable variables in em4: › ›
24 Words in Reading/Writing 16 Bits in Reading/Writing
› 24 Words in Reading › 16 Bits in Reading
| | WWW.CROUZET-AUTOMATION.COM
| 6
| | QUICK START
After a double click on the block: › Open the Parameters tab › Select the adress range › Write the label that will be use as identification for orders via SMS (SMS command Text: order=100) › Specify an initialization value in case of a cold restart « fallback Value » › Check the save on power failure if you want to keep the latest values, sent by SMS
DATALOGGING BLOCK FTP
Data Report by SMS datalog via email or FTP
Receive periodically reports by SMS or by email and .csv file via email or FTP
› 3 blocks of 8 possible words on the programming sheet (24 events)
• CONFIGURATION
| | WWW.CROUZET-AUTOMATION.COM
| 7
| | QUICK START
› Select « File archived… » from the Archiving a datalog tab › Choose
a file name
› Choose a file sending period
› After a double click on the Data logging block: › Open the Parameters tab › Select
the adress range
› Activate if necessary the period archiving and set it › Enter labels, they inform the head of the csv file
› Open
the Message tab
› Choose
Email or FTP
› Choose the recipients in the directory
N.B: For email or FTP sendings, do not forget to configure the SMTP tab, in COMMUNICATION, with the informations given by your provider. For send by FTP, set up the tab FTP with your server settings.
| | WWW.CROUZET-AUTOMATION.COM
| 8
| | QUICK START
GUIDE DE COMMANDE SMS READ / WRITE DATA WITH XB, XW FUNCTION BLOCKS The function blocks XBIN, XWIN allow to read and write variables The function blocks XBOUT, XWOUT allow to only read variables
XBIN
XWIN
XBOUT
XWOUT
Type
Syntax
Request example
Response example
Read
Label?
PumpControl?
PumpControl :OFF;
Write
Label=[dgt]
PumpControl=ON
PumpControl :ON;
Type
Syntax
Request example
Response example
Read
Label?
Max-Ext-Temperature?
Write
Label=[val]
Pressure-Setpoint=15.00 Pressure-Setpoint :15.00;
Type Read
Type Read
Syntax Label?
Syntax Label?
Request example AccessControl?
Request example AccessCounter?
It is possible to send multiple commands in a single SMS. Example: › PumpControl=ON; PumpControl=OFF; (Rising/Flank command) › Max-temperature?; AccessCounter?; › Max-temperature?; PumpControl=ON;
Max-Ext-Temperature :26.35;
Response example AccessControl :ON;
Response example AccessCounter :235;
| | WWW.CROUZET-AUTOMATION.COM
| 9
| | QUICK START
MAIN SYSTEM COMMANDS RUN
› Allows to start user application without initialization
Type Write RUNWI
Syntax em4+run;
Request example
Response example
em4+run
em4+run :RUN;
› Allows to start user application with initialization
Type Write STOP
Syntax em4+runwi;
Request example em4+runwi
Response example em4+runwi :RUN;
› Allows to stop user application
Type Write STATE
Syntax em4+stop;
Request example em4+stop
Response example em4+stop :STOP;
› Allows to know if the application is started or stopped
Type Read DEFAULT
Syntax em4+state?
em4+state?
Response example em4+state :RUN;
› Allows to read the em4 default code
Type
Syntax
Read
em4+default?
CLOCK
Request example
Request example em4+default?
Response example em4+default :0;
› Allows to read and write the date and hour of the em4
Type
Syntax
Request example
Read
em4+clock?
Write
em4+clock=[time] em4+clock=«15/09/30 em4+clock , 10:15:30» :«15/09/30, 10:15:30»
em4+clock?
Response example em4+clock :«15/09/30, 10:05:30 »
Note: for this command the date format is “yy/mm/dd, hh:mm:ss” RESETLOG
Type Write
› Allows to delete datalogs stored in the em4
Syntax em4+resetlog;
Request example em4+resetlog
Response example em4+resetlog :SUCCESS;
| | WWW.CROUZET-AUTOMATION.COM
SENDLOG
| 10
| | QUICK START
› Delete datalogs stored in the em4
DIRECTORY MANAGEMENT DIRECTORY
Type
› You need to be an administrator to modify the directory
Syntax
Request example
Response example
Get
em4+contact?[name];
em4+contact?user1;
em4+contact: user1, +33671xxxxxx,
[email protected], Operator;
Set
em4+contact=[name], [phone number], [email];
em4+contact=user1, +33672xxxxxx,
[email protected] em4+contact: user1, +33672xxxxxx,
[email protected], Operator;
Profile can be user, operator or administrator (up to 3 administrators and 20 contacts maximum) For more detailed information, please visit our software Help or our support center: http://automation.desk.com/.
ABOUT CROUZET AUTOMATION Supported by an experienced technical team, Crouzet Automation is a pioneer in the simplification of programming. The brand offers the easiest-to-use and most adaptable alternative automation solution for specialized and demanding needs. Crouzet Automation is a brand of InnoVista Sensors™.
InnoVista Sensors™: your trusted partner of choice to face industrial challenges of today and tomorrow. InnoVista partenaire industrial de confiance face aux enjeux industriels InnoVista Sensors™ Sensors™ :isun a worldwide specialist of sensors, controllers and d‘aujourd‘hui et de demain. actuators for automated systems.
Contact: Tel. +33 (0) 475 802 101 Fax +33 (0) 475 828 900 Email:
[email protected] InnoVista Sensors™ est un spécialiste des Crouzet capteurs,Control, contrôleurs et Through its brands, Crouzet Aerospace,industriel Crouzet mondial Automation, actionneurs intervenant les systèmes automatisés. Crouzet Motors, Crouzetdans Switches and Systron Donner Inertial, InnoVista Sensors™ offers a wide range of reliable, efficient and customizable components dedicated to the À travers ses Crouzet Aerospace, Crouzet Automation, Crouzet Control, Aerospace & marques, Defence, Transportation and Industrial market and segments. Crouzet Motors, Crouzet Switches et Systron Donner Inertial, InnoVista Sensors™ propose dethe larges gammes de composants fiables, et adaptables Thanks to recognized expertise of its teams andperformants a strong innovation policy, dédiés aux marchés et segments l’aéronautique et de la défense, et de InnoVista Sensors™ bringsdeperformance enhancing solutionsdu to transport its customers l’industrie. worldwide.
Follow us
Forte de l’expertise de ses équipes et engagée dans une politique d‘innovation soutenue, www.innovistasensors.com InnoVista Sensors™ apporte des solutions d‘excellence à ses clients dans le monde entier.
www.crouzet-automation.com
Contact us!
www.innovistasensors.com