-
Notifications
You must be signed in to change notification settings - Fork 2
Schneider PLC
Freddie Akeroyd edited this page Aug 17, 2022
·
5 revisions
These are controlled by the SCHNDR
iocs. Relevant macros are:
-
MODE
:TCP
,RTU
orASCII
to specify PLC connection mode. -
PORT
: Serial COM Port of PLC forRTU
orASCII
-
IPADDR
: IP address of PLC forTCP
mode -
IPPORT
: TCP will connect on default modbus 502 port, set this if different.
To configure EPICS records for PLC specific variables, set macros such as DEVCMD1
to a CMD file base name in the devices
subdirectory which should be loaded. For example on GEM we set DEVCMD1
to GEMGateValve
to load devices/GEMGateValve.cmd
. Currently there is only DEVCMD1
but if there were cross instrument files that were useful to load, or a plc talked to multiple separate devices, then adding DEVCMD2
may be useful in future