VisiLogic 200 new features.pdf
(
875 KB
)
Pobierz
Table of Contents
FB LIBRARY .................................................................................................................... 3
COM PORT: INIT ............................................................................................................ 5
MODBUS ........................................................................................................................... 6
Using MODBUS ........................................................................................................................ 6
MODBUS Operations .................................................................................................................. 7
MODBUS: Configuration...........................................................................................................8
MODBUS: Scan ...................................................................................................................... 10
Read Coils (1) ......................................................................................................................... 10
Force Coil (5) .......................................................................................................................... 11
Force Coils (15) ...................................................................................................................... 12
Read Holding Registers (3) .................................................................................................... 13
Preset Holding Register (6) .................................................................................................... 14
Preset Holding Registers (16) ................................................................................................ 15
Read Float Registers (3)......................................................................................................... 16
Preset Float Registers (16).....................................................................................................17
Loopback Test (8)................................................................................................................... 18
Configuring a MODBUS slave device....................................................................................... 19
Slave Address Tables ................................................................................................................. 20
MODBUS via GSM or Standard Modem .................................................................................. 21
MODBUS Error Table ............................................................................................................... 21
SMS MESSAGING ......................................................................................................... 22
Using SMS Messaging............................................................................................................... 23
SMS Message Conditions and Elements.................................................................................... 24
SMS: Configuration ................................................................................................................... 25
Creating SMS Messages & Variables .................................................................................... 25
Message Properties................................................................................................................ 26
SMS: Scan.................................................................................................................................. 27
SMS: Send.................................................................................................................................. 28
SMS Variables ........................................................................................................................... 29
Sending SMS messages from a GSM cell phone ....................................................................... 31
Writing SMS messages in your cell phone ............................................................................. 31
Sending the message to the PLC ........................................................................................... 31
Checking that the PLC has received the SMS message........................................................ 31
Modem SBs, SIs and Error Messages ........................................................................................ 33
SMS ERROR MESSAGES ............................................................................................ 34
EVENTS: REGISTERING AN MB STATUS CHANGE ........................................... 35
1
Events: Scan ............................................................................................................................... 35
Next Event.................................................................................................................................. 36
Previous Event ........................................................................................................................... 37
Clear Current.............................................................................................................................. 38
Clear All ..................................................................................................................................... 38
TEST BIT......................................................................................................................... 39
SET/RESET BIT ............................................................................................................. 39
STORE BIT STATUS..................................................................................................... 40
LOAD BIT STATUS....................................................................................................... 40
INCREMENT/DECREMENT....................................................................................... 40
STORE TIMER: CURRENT VALUE.......................................................................... 41
LOAD TIMER: CURRENT VALUE............................................................................ 41
FONT HANDLER........................................................................................................... 42
MOVE, COPY, & PASTE NETS BETWEEN PROJECTS ....................................... 42
CONFIGURING A PC'S MODEM............................................................................... 44
ALIGNING AND RESIZING DISPLAY ELEMENTS .............................................. 45
2
FB Library
Unitronics offers a function block library for advanced functions, such as SMS messaging and
MODBUS communications. Note that you must use a condition (RLO) to activate any FB that
requires Configuration in your application, such as MODBUS or SMS.
To install an updated FB library, select Update from the Web from the FBs menu or Help
menu, then follow the on-screen instructions. Note that at the end of the download, you must
close and then restart VisiLogic. The new FBs will appear on the FBs menu.
Note that to enable Live Update, you can select to use a proxy server in Program Properties.
Use Function Blocks Information to check:
•
Which FBs are installed in your library.
•
Which FB versions are installed, which versions are used in the open project, and to
manage FB versions.
•
FB memory usage.
3
FB Library
Versions Used
4
Com Port: Init
Com Init is located on the FB menu. Use this function block:
•
To initialize communication port settings and enable the controller to communicate with
external devices such as modems.
•
To synchronize port settings, enabling the controller to engage in inter-device
communications via protocols such as MODBUS.
Note that you should activate COM Init via a one-shot transitional contact.
5
Plik z chomika:
Qulakin
Inne pliki z tego folderu:
allan bradley UNITRONIX.rar
(123361 KB)
rockwel Automation2.rar
(61161 KB)
prosoft.rar
(12999 KB)
rockwel Automation3.rar
(24221 KB)
rockwel Automation4.part1.rar
(51200 KB)
Inne foldery tego chomika:
aplisens
Carlo Gawazzi
dehn ZABEZPIECZENIA ODGROMOWE
EATON_MOELLER
Finder
Zgłoś jeśli
naruszono regulamin