UNPKG

@ali-pay/node-red-contrib-s7

Version:

A Node-RED node to interact with Siemens S7 PLCs

130 lines (129 loc) 5.13 kB
{ "s7": { "in": { "label": { "name": "s7 in", "endpoint": "PLC", "mode": "Mode", "variable": "Variable", "diff": "Emit only when value changes (diff)", "variable-select": "Select a variable", "variable-novar": "No variables" }, "mode": { "single": "Single variable", "all-split": "All variables, one per message", "all": "All variables" } }, "out": { "label": { "name": "s7 out", "endpoint": "PLC", "variable": "Variable", "variable-select": "Select a variable" }, "disclaimer": "Caution when writing data to production PLCs!" }, "control": { "label": { "name": "s7 control", "function": "Function", "endpoint": "PLC" }, "function": { "cycletime": "Cycle time", "trigger": "Trigger read" } }, "endpoint": { "label": { "transport": "Transport", "address": "Address", "port": "Port", "connmode": "Mode", "rack": "Rack", "slot": "Slot", "tsap-local": "Local TSAP", "tsap-remote": "Remote TSAP", "cycletime": "Cycle time", "timeout": "Timeout", "rewritetimes": "Rewrite Times", "rewriteinterval": "Rewrite Interval", "verbose": "Debug", "adapter": "Adapter", "adapterplaceholder": "Please install 'node-red-contrib-mpi-s7' for MPI/PPI/DP support", "busaddr": "Address", "search": "Search", "flash-led": "Flash LED", "tabs": { "connection": "Connection", "variables": "Variables" }, "variables": { "list": "Variable list", "add": "Add", "clean": "Remove all", "del": "Remove", "name": "Name", "addr": "Address", "export": "Export", "import": "Import" } }, "placeholder": { "address": "IP Address or FQDN (plc01.example.com)" }, "transport": { "iso-on-tcp": "Ethernet (ISO-on-TCP)", "mpi-s7": "MPI/PPI/DP Adapter" }, "connmode": { "rack-slot": "Rack/Slot", "tsap": "TSAP" }, "status": { "online": "online", "badvalues": "failure", "offline": "offline", "unknown": "unknown", "connecting": "connecting" } }, "label": { "name": "Name", "select": "Select a device" }, "error": { "onconnect": "Error connecting to PLC: ", "missingconfig": "Missing configuration", "varunknown": "Unknown variable '__var__'", "valmismatch": "Amount of variables and data mismatch", "noresponse": "No response from PLC, restarting communication", "invalidconntype": "Invalid configuration type \"__connmode__\"", "invalidtransport": "Invalid transport \"__transport__\"", "invalidtsap": "Invalid TSAP configuration", "invalidtimeinterval": "Invalid time interval for cycle time of \"__interval__\"", "invalidcontrolfunction": "Invalid control function \"__function__\"" }, "info": { "connect": "Initiating connection to PLC", "disconnect": "Closing connection to PLC", "novars": "No variables configured, skipping cyclic reading", "cycletimetooshort": "Cycle time too short, enforcing minimum of __min__ ms" }, "validation": { "ERR_PARSE_EMPTY": "Address cannot be empty", "ERR_PARSE_UNKNOWN_FORMAT": "Unknown address format, check node's help section", "ERR_PARSE_ADDR_OFFSET": "Byte offset is invalid", "ERR_PARSE_DB_NUMBER": "Number of DB is unknown or invalid", "ERR_PARSE_DB_DATATYPE": "Data type of DB area is unknown or invalid", "ERR_PARSE_AREA": "Area addressed is unknown or invalid", "ERR_PARSE_DATATYPE": "Data type is unknown or invalid", "ERR_PARSE_BIT_OFFSET": "Bit offset is missing or is invalid", "ERR_PARSE_STRING_LEN": "String length is missing or is invalid", "ERR_PARSE_INVALID_BIT_OFFSET": "Bit offset not supported for this type", "ERR_PARSE_INVALID_ARR_LEN": "Array length specified is invalid" } } }