Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01 3.00

Summary:
How do I setup and use the Omron protocol? 

Solution:
The serial drivers PCxI, MCxI, COMxI or COMx may be used.

Setup the PLC with the appropriate communication parameters i.e. baud rate, parity, protocol, and station number, communication mode (single or multiple link).

Ports form
Special Opt: -s Use single link instead of multiple link
I/O Devices form
Name: User supplied unique name
Number: Network wide I/O device number
Address: 0 to 31
Protocol: OMRON
Port name: Use the "Port name" from the Ports form

Citect.ini option

[OMRON]
InitPLCMode
If InitPLCMode is set to 2, the driver will put PLC into monitor mode when the unit is started up.

Standard citect.ini options

[OMRON]
MaxPending = 2
Block = 32 bytes
Retry = 1
Delay = 0
TimeOut = 2000 milliseconds
PollTime = 0
WatchTime = 30 seconds.

Files

  • OMRON.DLL - The OMRON driver for windows
  • OMRON.DBF - The OMRON variable template

OMRON Variables

Digital
Sbb Status
Ewbb Error
LRwbb Link Relay
HRwbb Holding Relay
wbb I/O Relay / Internal Aux Relay
TC0 Timer / Counter status
Where w is the word number
bb is the bit number 00 to 15
When writing to Status bits. bb is the bit pattern to be written.
0 Program mode
2 Monitor Mode
3 Run Mode
Integer
DM0 Data Memory
PV0 Timer/Counter Present value
 

Keywords:
 

Attachments