Professional Documents
Culture Documents
TRAINING MANUAL
Contents
Hardware Installation Guide .............................................................................................................................. 1
Software Installation Guide................................................................................................................................ 6
Minimum System Requirements .................................................................................................................... 6
Disabling UAC ................................................................................................................................................ 6
Install the Software........................................................................................................................................ 7
Hardware Configuration .................................................................................................................................... 8
Software Overview ............................................................................................................................................ 9
HMI Display Editor ......................................................................................................................................... 9
Ladder Editor ............................................................................................................................................... 10
Lab 1: Basic Ladder and HMI ............................................................................................................................ 11
Lab 2: Download / Upload Application ............................................................................................................. 16
Lab 3: Multiple Display / Screen....................................................................................................................... 20
Lab 4: Numeric Display .................................................................................................................................... 25
Lab 5: Timer..................................................................................................................................................... 26
Lab 6: Analog Input.......................................................................................................................................... 31
Data Table ....................................................................................................................................................... 33
Lab 7: Data Table (Recipe)................................................................................................................................ 33
Lab 8: Data Table (Data Logging)...................................................................................................................... 39
Lab 9: Data Logging to SD Card (via udt file) ..................................................................................................... 44
Lab 10: Data Logging to SD Card (via Excel file) ................................................................................................ 46
Lab 11: Trend................................................................................................................................................... 50
Lab 12: Alarm .................................................................................................................................................. 53
SD Card............................................................................................................................................................ 61
Modbus Serial.................................................................................................................................................. 62
Modbus TCP/IP................................................................................................................................................ 63
Protocol FB ...................................................................................................................................................... 64
Protocol FB, IP ................................................................................................................................................. 66
SMS ................................................................................................................................................................. 66
CANbus Networking......................................................................................................................................... 68
CANbus UniCAN........................................................................................................................................... 68
CANopen ..................................................................................................................................................... 69
CANbus, Layer 2........................................................................................................................................... 69
I/O Expansion Modules.................................................................................................................................... 71
Using Remote I/O – EX-RC1.......................................................................................................................... 71
Using EXF-RC15............................................................................................................................................ 72
YT AUTOMATION SINGAPORE PTE. LTD
Tel: 65-6684 0702 Fax: 65-6684 0703
E-MAIL: support@ytautomation.com
Overview
Hardware Installation Guide
Communications:
Built-in Serial Port: RS232/RS485
Jumper Setting / Dip switch setting are required for RS23 or RS485 communication.
To change the settings, first remove the Snap-in I/O Module, if one
is installed, and then set the switches according to the following
table.
Pinouts:
I/O Options:
On-board I/O Configuration - model- dependent
I/O Expansion Modules - Local (via expansion port) or Remote I/O (via CANbus port)
NOTE: Incompatible jumper settings and wiring connections may seriously damage the controller.
NOTE: Incompatible jumper settings and wiring connections may seriously damage the controller.
I. Turn off the power supply, disconnect, and dismount the controller.
II. The back cover of the controller comprises 4 screws, located in the corners. Remove the screws, and
pull off the back cover.
Before opening the device, touch a grounded object to discharge any electrostatic charge.
Avoid touching the PCB board directly.
Turn power off and disconnect all leads before opening the device.
1. Open the first side of the device by inserting the blade between the 2 plastic moldings as shown below,
then gently pushing up.
2. Taking care not to damage the cable, open the other side of the device by inserting the blade where shown
below, then gently pushing up.
4. The jumpers are shown as below. Change the jumper settings as required, in accordance with the tables
shown.
NOTE: Incompatible jumper settings and wiring connections may seriously damage the controller.
Wiring Procedure:
Use crimp terminals for wiring; use 26-12 AWG wire (0.13mm2 – 3.31mm2)
1. Strip the wire to a length of 7±0.5mm (0.25 – 0.30 inches).
2. Unscrew the terminal to its widest position before inserting a wire
3. Insert the wire completely into the terminal to ensure a proper connection.
4. Tighten enough to keep the wire from pulling free.
Note:
Input or Output cables should not be run through the same multi-core cable or share the same wire.
Allow for voltage drop and noise interference with input lines used over an extended distance. Use wire
that is properly sized for the load.
The controller and I/O signals must be connected to the same 0V signal.
Power Supply:
A non-isolated power supply can be used if a 0V signal is connected to the chassis.
Install an external circuit breaker. Guard against short-circuiting in external wiring.
Double-check all wiring before turning on power supply
Do not connect either the ‘Neutral’ or ‘Line’ signal of the 110/220VAC to device’s 0V pin.
In the event of voltage fluctuations or non-conformity to voltage power supply specifications, connect the
device to a regulated power supply.
Information Mode:
To enter Info Mode, you can touch and hold on screen for 5sec (for touch screen version) or press on ‘i’ button
for 5sec (for non-touch screen version). Then enter ‘1111’ as password to go in.
Disabling UAC
1. Type UAC into the Start Menu or Control Panel search box.
2. Drag the slider bar completely down to “Never notify” to disable it entirely, and then click Ok.
2. Now you can double click and Install VisiLogic software. Press Next all the way to the end until Finish.
3. Installation done, you should see the shortcut icon in your desktop or go to Start Menu. Go to the
properties of the software’ shortcut and under compatibility ticked verify the Privilege Level “Run this
program as an administrator”.
Hardware Configuration
Hardware Configuration opens automatically when you first create a new project. In order to open Hardware
Configuration in an existing project, either select Hardware Configuration from the View Menu or click the
button on the toolbar.
Click on the appropriate icon to select the Model (Vision / Samba), the Snap-in I/O Module, and any I/O
Expansion Modules required by your application.
After you select the Snap-in or Expansion I/O modules connected to the controller, you can configure Inputs
and Outputs: Digital, Analog, HSC (High-speed counter) / shaft-encoder, PT100, PWM High Speed Outputs and
etc.
Note:
You must select the correct Vision / Samba Model and Snap-in I/O modules before downloading your project.
Software Overview
HMI Display Editor
Use the HMI Display Editor to create the Displays the controller shows on its screen after the program is
downloaded. When you click on HMI in the Project Explorer tree, a Display replica opens. The replica reflects
the type of Vision Controller you have selected in your project’s Hardware Configuration.
Ladder Editor
Use the VisiLogic Ladder Editor to create the Ladder diagram that comprises your control application. Ladder
diagrams are composed of contacts, coils, and function block elements arranged in nets.
Ladder elements and functions may be dragged and dropped between nets.
Lab
Lab 1: Basic Ladder and HMI
Objective: Create a light and button on screen. While the button is pushed, the light will be on.
Step 1:
1. Start a new project by clicking Project New.
2. The Hardware Configuration window will auto opens, as shown below.
3. Choose the controller you will be working with from the menu on the left.
In this example, chosen a V350. Next, under snap-in, choose the specific controller model V350-35-TRA22.
4. Click OK.
Step 2:
Switch to Ladder Editor by click on the Ladder Tab. Insert comment and type in the comment.
Note:
You can add or insert net by using the Insert New Net Icon. Click on the Icon, and click on the space on ladder
where you want to add / insert net.
Step 3:
Add a Direct Contact as a Momentary Button, assign an address.
Description is optional to fill in. The advantage to fill in Description is you can easily search back this tag in the
later part.
Step 4:
Add a Direct Coil.
Once you complete, you should see your ladder program as shown below.
Step 5:
1. Switch to HMI Editor by click on HMI tab.
2. Add a Button
3. Key in ‘Momentary Button’ in Text Column.
4. Assign a Touch property as MB1. (this is the tag you create in the ladder in previous step.)
Step 6:
1. Select Binary Image icon from the HMI toolbar. Then click, hold, and drag a rectangle on your screen, as
shown below.
This space (the white square box) will be designated for a light. It can be modified later if necessary. Once
the rectangle is placed, Variable: Binary Image window appears on screen.
2. Assign a link property by assign MB0. (this is the lamp tag which you create in your ladder editor at the
previous step.
7. Repeat Step 3 to 6, for Right Browse Button, and this time select a Green Light.
Once completed, this is what you should see.
Step 1:
Before Download, you need to define the connection.
1. Go to Connection Communication & OS. Communication – PC Settings window will pop up.
2. Select Connection Type: Serial
3. PC Port: COM x (this com port is based on the com port of your PC.)
To check your PC com port, go to USB Installation Tab. Click on Open Device Manager.
You can check your PC Port Number here. (the name of the device maybe vary, based on USB cable used.)
Step 2:
Click on Get OPLC Information.
If communication successful, it will show you OPLC Information. Then you can proceed to Step 3.
If communication fail, it will show you Communication Driver Error. And you need to check the communication
again.
Step 3:
Go to Connection Download Download. Once click on Download, the download process will begin. Once
the download is complete, a Visilogic will send RUN command to the OPLC message will appear. Click OK.
Note: There are 4 different types of download, for details will explain in the class.
Step 4:
Click on Online Test, you can monitor PLC status.
Step 5:
Click on Remote Access, you are allow to monitor or control HMI Display.
Step 6:
Once finish use, you can click Online Test again, to go offline.
Step 1:
Right click on Start-Up Display Add New Display.
Step 2:
Rename as Page 1.
Step 3:
Repeat Step 1 to 2, to add two more pages as Page 2 and Page 3.
Step 4:
Go to Page 1, put a text: Page 1.
Repeat for Page 2 and Page 3.
Step 5:
In Start-Up Display, Create a Button.
Text: Page 1
Touch: MB11
Step 6:
Repeat Step 4 to create to more Button.
Button 2:
Text: Page 2
Touch: MB12
Button 3:
Text: Page 3
Touch: MB13
Step 7:
Above the HMI Display, click Links & Jumps. This allows for commands to navigate screens.
Step 8:
1. In row 1, double click under jump condition and link MB11. Double click on under Display and link Page 1.
2. Repeat for row 2 with jump condition and link as MB12, Display and link as Page 2.
3. Repeat for row 3 with jump condition and link as MB13, Display and link as Page 3.
Step 9:
Now switch to Ladder Editor. You can also write command in Ladder to change screen.
For example, we now need an ESC button to exit from any page back to Start-up Display.
2. Click on Controller View and select ESC button. And Click OK.
Step 10:
Download the application to the controller.
Step 1:
1. Drag a Positive Transition Contact put in Ladder, and assign address SB 3 (1 second pulse).
2. Select Math Increment, connect just right beside Positive Transition Contact.
3. Assign MI 0 to the INC FB.
Step 2:
1. Select Compare Greater Equal, fill in MI 0 for parameter A, and D#100 (constant 100) for parameter B.
2. Connect RESET Numeric behind the FB and assign MI 0.
(This will reset MI 0 to Zero, whenever it reach 100 or more.)
Step 3:
To display numeric value - MI 0 on HMI, switch to HMI Editor.
Click on Numeric Number, hold and draw a square on HMI.
When Variable: Numeric window pop-up, assign MI0 to the link.
Lab 5: Timer
Objective: In this lab, create a TD Timer (Timer on Delay) to turn on a Light. Press and hold for 2second to turn
on the Light.
Notes:
A Timer value can be displayed in a Display as either a current of elapsed value.
The maximum amount of time that you can set a timer for is 99 hours, 59 minutes, and 59.99 seconds.
Step 1:
Go to Ladder Editor. Add a Direct Contact as a Hold Button, assign an address.
Step 2:
Add a Timer Coil as TD Timer, assign address and Preset timer as 2second.
Step 3:
Add a Direct Contact as TD0 (this is the Timer Bit), when TD timer count to 0, this bit will ON.
And add a SET coil as MB3. When TD0 bit is on, it will set MB3 to ON.
Step 4:
Add a Direct Contact as MB4 to RESET (OFF) MB3.
Step 5:
Go to HMI Editor Page 1.
Add a Button:
Text: Hold to ON
Touch: MB2
Step 6:
Add a Button:
Text: Turn OFF
Touch: MB4
Step 7:
Add 3 Text on Screen as shown below:
Text 1: Preset Timer
Text 2: Remaining Time
Text 3: Elapsed Time
Note: Style can set to Transparent.
Step 8:
Add in 3 timer display and link with different properties.
Preset Timer
Type: Preset
Format: HH:MM:SS
Link: TD0
Remaining Time
Elapsed Time
Example: Having a Pressure Sensor which is 4-20mA with the range of 0 – 25bar.
Step 1:
Go to Hardware Configuration to add in Analog Input Module – IO-AI8.
1. Go to I/O Expansions Tab
2. Look for IO-ATC8/AI8. (This mean can use for IO-ATC8 or IO-AI8)
3. Drag and drop in to the din-rail.
4. Click on first analog channel, Channel 0.
Type: 4-20mA
Mode: Normal
Operand: MI 1
Description: Raw Analog Value (optional)
Step 2:
Check on IO-AI8 Manual.
We can see for IO-AI8, Normal mode analog Raw value range from 3277 to 16383.
Which mean:
4mA = raw value of 3277 = 0bar
20mA = raw value of 16383 = 25bar
Step 3:
Go to Ladder Editor.
1. Go look for Linearization Function Block at Math Linearizatio.
2. Place Linearization FB in the Ladder
3. Fill the parameter for X1, X2, Y1, Y2, X and Y.
X1: 3277
Y1: 0
X2: 16383
Y2: 25
X: MI 1 (address which configure in Hardware Configuration for Analog Raw Value)
Y: MI 2 (can assign any MI to store the actual sensor value)
Data Table
You can Store data into the Data Table memory section of your controller, then access the data in accordance
with program requirements. They are useful in implementing Program Recipes, a collection of ingredients of
values that are used to prepare a batch of product or to perform a specific task. Data Table also useful for Data
Logging, which you can log and keep important information to the controller for future view back.
Step 1:
Open Data Table Editor. By clicking on the Data Tables icon on the toolbar, or by selecting it from the left panel
menu.
Step 2:
Create a Recipe Table by create on Add Table.
Step 3:
Create a Recipe Table with 3 different Recipe with 4 parameters.
Table: Recipe
Columns: 5
Row: 3
Step 4:
Define Name and Data Type for each Column.
Step 5:
Now you can fill in your parameter as you require. Below is one of the sample data to fill in. Save and Exit.
Step 6:
Go to Ladder Editor. Use Data Table Read Row FB to read Recipe parameter out.
Add a Position Transition Contact as MB 5, follow by Data Tables Read Row FB from Data Tables.
Step 7:
Fill in the information for Data Tables Read Row FB.
Table: Recipe
Row Number: MI3
Destination (Name): MI21
Destination (Sugar): MI31
Destination (Flour): MI32
Destination (Water): MI33
Destination (Egg): MI34
Step 8:
Go to HMI Editor Page 2. To show the Recipe Parameter on Screen.
1. Add a Text: Parameter to Read
2. Add a Numeric:
Link: MI3
Keypad Entry: Tick (optional to limit user to key in value between 0 to 2)
3. Add on Text for Recipe Name, Sugar, Flour, Water and Egg.
4. Now add in ASCII String for Recipe Name Display and Numeric for others parameter like sugar, flour, water,
egg. The address for each parameter, you can refer to Step 7 which set earlier.
Step 9:
Add a button and link to MB5.
Step 10:
Now you can download the application into PLC controller. After download application, you need to download
data in Data Table to the Controller as well.
Now you can test your application, by enter Parameter number like 0, 1 or 2 on HMI. Then press on Read
button, and you should see the Parameter are able to call out and show on Screen.
Step 1:
Same as Lab 7, open Data Table Editor and Create a Table.
Table: Data Logging
Columns: 4
Rows: 10
Step 2:
Rename each column and set Data Type as below.
Column1: Column2: Column3: Column4:
Column: Date Column: Time Column: Lamp Status Column: Pressure
Type: String Type: String Type: Bit Type: Integer
String length: 8 String length: 10
Step 3:
Go to Ladder Editor. Create RTC Data and Time.
1. Go to Strings RTC to ASCII.
3. Assign address as MI51 (this address can assign any unused address).
Note: we need 5 MIs for Date.
Click on ‘Set Features for a group of operands’ Icons.
Step 4:
Repeat Step 3 again to prepare RTC Time and store in MI56 to MI60.
Step 5:
Put in the condition when to do logging. When Lamp Status (MB 3) is turn ON or OFF. We also do a logging.
Put a Positive Transition Pulse and a Negative Transition Pulse for MB 3 in the ladder in parallel.
Note: You can find Negative Transition Pulse at Boolean Contacts.
Step 6:
Connect Data Table Write Row to the condition.
Fill up the parameter for Data Table Write Row as below and Click OK.
Table: Data Logging
Row Number: MI 4 (is a pointer to indicate which row should the data log into Data Table)
Source - Date: MI51 (RTC Date which prepare in previous step)
Source - Time: MI56 (RTC Time which prepare in previous step)
Source – Lamp: MB3 (Lamp Status from Lab 5)
Source – Pressure: MI2 (Pressure value getting in Lab 6)
Step 7:
After every logging, need to increase the row pointer. To point to next row for the next logging.
Get Math Increment Element and connect to Data Table Write Row FB.
Step 8:
Data Logging create in previous step only contain 10 rows (row 0 to 9). Once hit to the last row of the table,
need to reset pointer back to first row. Hence, we need to check MI4, when reach row 9, need to reset.
Once Done, you can download Application to PLC and test out.
Once the Data Table is Full, push the whole table into SD Card.
Step 1:
Continue from Lab 8, when Table is full, Set MB 6 on.
Step 2:
Follow the steps below to create ladder to push Data Logging into SD Card. Once done, this is how it look like.
2. Add an Inverted Contact = MB341 (to make sure write to SD card is not in progress)
3. Next add Write Data Table to SD file FB. This FB get from SD SD Data Table Utilities.
Step 1:
Use Create Excel Delimited Line FB to prepare data for logging.
Go to SD SD Excel Utilities Create Excel Delimited Line.
1. Assign MI101 for SD: Start of Vector. (can assign any unused address.)
2. SD: Max Vector Length, set as 100. (this is to decide how many byte per record to be log)
3. Follow by assign MI 6 and MI 7 for the outputs. (these can be any unused address)
Step 2:
Fill in Data into FB.
Data to log and data source address as below:
Date: MI51
Time: MI56
Pressure: MI2
1. Select Indirect Text, and put in the link as MI51. (this is for RTC Date)
Add in RTC Time, by select Indirect Text again, and assign link as MI56.
3. Insert Field again, this time add Numeric for Pressure and assign Link as MI2.
Step 3:
1. Assign the logging condition as in Lab 8.
2. Use Write Delimited Line FB to write Data into Excel file in SD Card.
Step 1:
Define a Trend, by Right-click the desired Trend to open and Set Trend Properties.
Parameter Setting Description
Name: TrendLog Assign a unique name to the Trend
Sampling Interval: 00:00:01.0 (hh:mm:ss.s) define how often the Trend draws curves
History Samples: 1000 total number of samples that may be stored in History
Run/Stop MB: MB9 0 = Trend Stop, 1 = Trend Run
Trend Description: MI9 This parameter is intended for future use. It has no influence on the Trend graph
Step 2:
Define a Curve, by right-click the desired Curve to open and set Curve Properties.
Parameter Setting Description
Name: Counter Assign a unique name to the Curve
Date Operand MI0 This is the value represented by the Curve
Y Min, Y Max 0, 100 These define the axis range for that curve.
Step 3:
Repeat Step 2 to create one more curve for Pressure.
Parameter Setting Description
Name: Pressure Assign a unique name to the Curve
Date Operand MI2 This is the value represented by the Curve
Y Min, Y Max 0, 100 These define the axis range for that curve.
Step 4:
Place a Trend Graph in an HMI Display
1. Click the Trend icon on the HMI toolbar, and then drag the cursor across the screen to draw the Trend.
2. Release the mouse button, and define the Trend Variable properties.
Step 5:
Add a Start / Stop Button to Toggle the Trend to Run or Stop. Click on Binary Text/Switch icon and add to HMI.
Use the Alarm Configuration utility to create Alarms and Set their feature. The Ladder application determines
when the Alarms are displayed on the controller’s screen.
Step 1:
Create 2 toggle button on HMI Start-Up display.
Toggle Button 1:
Text for OFF: Alarm 1 OFF
Text for ON: Alarm 1 ON
Link: MB21
Style: 3D (Unpressed)
Repeat for
Toggle Button 2:
Text for OFF: Alarm 2 OFF
Text for ON: Alarm 3 ON
Link: MB22
Style: 3D (Unpressed)
Step 2:
Now configure for Alarms. Open Alarm Configuration Utility by clicking Alarm icon, or by selecting it from the
left panel menu.
Step 3:
Once Alarm Configuration Utility opens, the global operand window will pop-up. The Utility leads you through
linking Global Operands. Remember to assign address (any unused address) to every MI and MB to those
Global Operands.
Once you have finished assigning the addresses, it will show as below.
The explanation for each global operand is as shown below. You can make use of these optional operands to
show desired statuses on the HMI screen.
Step 4:
Click the Add Template icon, and make the desired selections.
Step 5:
Add the first Alarm.
1. Click on Add Alarm icon.
2. In Alarm Properties Description, click on the Browse Button.
3. Key in Alarm message and click Choose.
Step 6:
Repeat Step 5 for Second Alarm.
Once done, you will see two alarms listed there. And click OK.
Step 7:
Create 2 button in HMI. One for Alarm. One for History Alarm
Alarm Button:
Text: Alarm
Touch: MB17
Step 8:
Now need to decide when to show alarm. Go to Ladder Editor.
2. Select Group ID, select Const and All. Then click OK.
Additional Information
SD Card
Before use SD Card, SD card need to format with SD Card Suit Tools .
Note: Vision PLC will only be able to recognize the SD card, after format by using this tool.
1. A MODBUS Configuration FB must be included in both master and slave Ladder applications as shown
below.
2. The Ladder application below enables the controller act as a MODBUS master and read coils in a slave PLC.
The Scan_EX operation shown below enables the controller to also act as a slave.
Modbus TCP/IP
If your controller comprises an Ethernet card, you can use MODBUS IP commands with any connected device
that supports the MODBUS protocol.
1. A Modbus Configuration FB must be included in both master and slave ladder application as shown below.
Modbus IP Operations are located on the FBs menu.
2. The Ladder application below enables the controller act as a MODBUS master and read coils in a slave PLC.
The same PLC can also act as a slave, if a Scan_Ex operation is included in the application.
Protocol FB
Use the Communication Protocol operations to enable your controller to exchange data with external devices,
such as frequency converters, bar-code readers, and printers via a Vision COM port. Protocol operations are
located on the FBs menu.
Below, the application enables the Vision to receive a response to Command 03. Note that Buffer reset
follows the Scan.
Note that the Scan message contains a Data Response field that is long enough to contain the contents of a
register.
Protocol FB, IP
Use the Communication Protocol TCP/IP operations located on the FBs menu to enable your controller to
exchange data with TCP/IP-enables devices, such as frequency converters, bar-code readers, and printers. The
controller must comprise an Ethernet card. Communication Protocol TCP/IP operations are located on the FBs
menu.
SMS
To enable a controller to use SMS messaging, connect it to a modem that supports connection to a cellular
network with SMS messaging service. SMS messaging operations are located on the FBs menu.
To use SMS feature, you just need to use 4 FBs as shown below.
1. Initialize a COM Port. The initialization status of each port is indicated in Modem Initialization Status SBs.
These SBs can be used to activate an SMS configuration.
2. Select SMS Configuration from the FBs menu and place the function in your application.
CANbus Networking
If your model controller includes a CANbus port, you can implement the following methods of data exchange:
PLC to PLC
UniCAN DataCOM
This enables a PLC in the CANbus network to exchange data with up to 60 other networked PLCs.
CANbus, Layer 2
Enables Vision controllers to send and receive data with remote devices that support CANbus protocol.
Simultaneous Modes
You can run the following modes simultaneously if you select the relevant option in the COM Init Function.
CANopen + UniCAN
CANopen + CANbus, Layer 2
CANopen + J1939
CANbus UniCAN
UniCAN enables fast data communications. Via UniCAN, a Unitronics’ PLC can exchange data with up to 60
other networked PLCs. A UniCAN application can send up to 32 messages, each containing 16 integer values,
totaling 512 MI register values during a single program scan.
When PLCs are connected to the CANbus network and their CANbus ports initialized to UniCAN, you can use
the UniCAN functions, located on the Communications menu, to transfer data between units or check a unit’s
status.
Before using UniCAN functions, assign each networked controller a unique Unit ID number and initialize the
CANbus port to UniCAN.
CANopen
Vision controllers support data communication with remote devices such as frequency converters according to
the CANopen standard, compliant with CiA DS 301.
At power-up:
1. Assign each networked controller a unique Unit ID number.
2. Initialize the CANbus port to CANopen via a COM Init function.
3. Activate the CANopen configuration.
NOTE: You can use UniEDS to open CANopen EDS files. UniEDS is located on the Tools menu.
CANbus, Layer 2
Vision Controllers support data communication with remote devices such as frequency converters according to
the CANbus V2.0 standard. A Vision can both send and receive standard messages with 11-bit identifiers, as
well as extended messages with 29-bit identifiers.
Send
The Send function determines the data that is sent to a specified remote device.
Scan
The Scan function enables a PLC to receive data from a specified remote device and write it to a vector of
registers.
Scan_Ex
This function enables the controller to receive any messages that arrive via CANbus. In order to run Scan_Ex,
you must initialize the port to Scan_Ex.
Note: Scan_Ex is active, you cannot access the PLC via network bridge. If your application requires
communication via bridge, you must re-initialize the port using another COM Init function as shown below.
Remotely
Via an Ex-RC1 connected to the controller’s CANbus port
Remote I/Os
There are two types of Remote I/O:
Ex-RC1
The EX-RC1 enables you to distribute I/O Expansion Modules throughout your system. The adapter is
connected to a master PLC by UniCAN, Unitronics’ proprietary CANbus protocol, and functions as a slave
device within that network. Each adapter may be connected to up to 8 I/O expansion modules. The
network may include up to 60 devices.
Note:
This application supports any combination of digital I/Os. If your system includes only digital I/O Expansion
Modules, simply upload this application and modify the Hardware Configuration to match the one in your
project. If your application is based on analog modules, Unitronics offers sample application supporting analog
I/O modules as well.
The EX-RC1 network ID number is determined by DIP switch settings, and cannot be changed by the software
application. The switch setting represents the ID number as a binary value as shown in the following figures.
Using EXF-RC15
The EXF-RC15 functions as a node in a Vision UniCAN network. It connects to the Vision Controller via CANbus;
note that you download programs via USB port.
1. Select the EXF-RC15 in Hardware Configuration. Note: since it is a stand-alone module, it cannot be
connected to other I/O modules.
3. Configure communications: in the Main Routine of your application, as a Power-up task, place a COM Init
function set to UniCAN and assign a PLC ID number as shown in the following image.
You can find sample applications for PTO and PWM in the Examples folder \Unitronics\Unitronics
VisiLogic_C\Examples\Version 900\Project examples\EXF-RC15.
NOTE:
Others sample applications may be found in VisiLogic Examples folder, located on the VisiLogic Help Menu.
We hope that you found this manual helpful. If you have any questions or need further information, please
contact us at support@ytautomation.com